fix(Script/Sunwell): Sinister reflection delays 5 seconds before set in combat (#22939)
This commit is contained in:
parent
973aec9928
commit
2afcd037c7
1 changed files with 6 additions and 1 deletions
|
|
@ -178,7 +178,12 @@ struct npc_kiljaeden_controller : public NullCreatureAI
|
|||
{
|
||||
summons.Summon(summon);
|
||||
if (summon->GetEntry() == NPC_SINISTER_REFLECTION)
|
||||
summon->SetInCombatWithZone();
|
||||
{
|
||||
summon->m_Events.AddEventAtOffset([summon] {
|
||||
if (summon && summon->IsAlive() && !summon->IsInCombat())
|
||||
summon->SetInCombatWithZone();
|
||||
}, 5s);
|
||||
}
|
||||
else if (summon->GetEntry() == NPC_KALECGOS_KJ)
|
||||
summon->setActive(true);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue