AI/SmartScripts: Replace SMART_ACTION_INVOKER_CAST with SMART_ACTION_SELF_CAST in action 85. SMART_ACTION_INVOKER_CAST moves to 134.

(cherry picked from commit 0df3cb5bcc8097070b1f215032d3914d6a577f01)
This commit is contained in:
Treeston
2021-10-17 22:07:54 +02:00
committed by Shauren
parent cc3b9c2e21
commit 0aee79dfb8
3 changed files with 37 additions and 3 deletions
@@ -1290,6 +1290,7 @@ bool SmartAIMgr::IsEventValid(SmartScriptHolder& e)
// return false;
}
// no break
case SMART_ACTION_SELF_CAST:
case SMART_ACTION_ADD_AURA:
if (!IsSpellValid(e, e.action.cast.spell))
return false;