AI/SmartScripts: Replace SMART_ACTION_INVOKER_CAST with SMART_ACTION_SELF_CAST in action 85. SMART_ACTION_INVOKER_CAST moves to 134.
This commit is contained in:
1 parent
cfbe5b9b89
commit
af82810be9
3 files changed
+38
-4
No files matched your search
@@ -1204,6 +1204,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;
|
||||
|
||||
Reference in new issue
Block a user