Scripts/BoT: fixed a issue that was causing Ignacious not being interruptible when channeling Rising Flames

This commit is contained in:
Ovahlord
2020-04-24 21:21:20 +02:00
parent 433d97bce5
commit c50338ab28

View File

@@ -774,9 +774,9 @@ class npc_ignacious : public CreatureScript
Talk(SAY_ABILITY);
}
void OnSpellCastFinished(SpellInfo const* spell, SpellFinishReason /*reason*/) override
void OnSpellCastFinished(SpellInfo const* spell, SpellFinishReason reason) override
{
if (spell->Id == SPELL_RISING_FLAMES)
if (spell->Id == SPELL_RISING_FLAMES && (reason == SPELL_FINISHED_CANCELED || reason == SPELL_FINISHED_FINISHED))
me->MakeInterruptable(false);
}