Core/AI: Implement OnAuraApplied and OnAuraRemoved hooks
Port From (https://github.com/TrinityCore/TrinityCore/commit/d1e07ac6553c7ae1e3296fc044247f0d0f95d267)
This commit is contained in:
@@ -3500,6 +3500,8 @@ namespace Game.AI
|
||||
case SmartEvents.OnSpellCast:
|
||||
case SmartEvents.OnSpellFailed:
|
||||
case SmartEvents.OnSpellStart:
|
||||
case SmartEvents.OnAuraApplied:
|
||||
case SmartEvents.OnAuraRemoved:
|
||||
{
|
||||
if (spell == null)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user