mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 01:15:35 +01:00
Scripts/BoT: fixed a issue that was causing Ignacious not being interruptible when channeling Rising Flames
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user