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 0df3cb5bcc)
This commit is contained in:
Treeston
2018-08-10 23:18:04 +02:00
committed by Shauren
parent cc3b9c2e21
commit 0aee79dfb8
3 changed files with 37 additions and 3 deletions

View File

@@ -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;