Core/AI: OnSpellCast, OnSpellFailed, OnSpellStart hooks
Port From (https://github.com/TrinityCore/TrinityCore/commit/050f55b62fded4cc73b76e42d56d98ea950cc26a)
This commit is contained in:
@@ -2422,7 +2422,7 @@ namespace Game.Entities
|
||||
}
|
||||
|
||||
if (IsCreature() && IsAIEnabled())
|
||||
ToCreature().GetAI().OnSpellCastFinished(spell.GetSpellInfo(), SpellFinishReason.Canceled);
|
||||
ToCreature().GetAI().OnSpellFailed(spell.GetSpellInfo());
|
||||
}
|
||||
}
|
||||
public void UpdateInterruptMask()
|
||||
|
||||
Reference in New Issue
Block a user