mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 10:55:43 +00:00
fix(Scripts/BlackTemple): Adjust caster of Blaze spell. (#20172)
* Init. * Account for nullptr victim.
This commit is contained in:
@@ -1335,7 +1335,8 @@ struct npc_flame_of_azzinoth : public ScriptedAI
|
||||
DoCastVictim(SPELL_FLAME_BLAST);
|
||||
|
||||
me->m_Events.AddEventAtOffset([&] {
|
||||
DoCastVictim(SPELL_BLAZE);
|
||||
if (Unit* victim = me->GetVictim())
|
||||
victim->CastSpell(victim, SPELL_BLAZE, true);
|
||||
}, 1s);
|
||||
}, 15s, 20s);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user