mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-15 20:52:22 -04:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user