mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 09:17:18 +00:00
fix(Script/Sunwell): Sinister reflection delays 5 seconds before set in combat (#22939)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user