fix(Scripts/Karazhan): Delay chain spawning so it spawns on proper place (#17311)

* fix(Scripts/Karazhan): Delay chain spawning so it spawns on proper place

* Update boss_terestian_illhoof.cpp
This commit is contained in:
Skjalf
2023-09-19 21:39:07 -03:00
committed by GitHub
parent 3cfb1d3bf6
commit 74353a3c83
@@ -186,7 +186,10 @@ struct boss_terestian_illhoof : public BossAI
if (Unit* target = SelectTarget(SelectTargetMethod::Random, 0, 100.0f, true, false))
{
DoCast(target, SPELL_SACRIFICE, true);
target->m_Events.AddEventAtOffset([target] {
target->CastSpell(target, SPELL_SUMMON_DEMONCHAINS, true);
}, 1s);
Talk(SAY_SACRIFICE);
context.Repeat(30s);
}