AI/SmartScripts: Replace SMART_ACTION_INVOKER_CAST with SMART_ACTION_SELF_CAST in action 85. SMART_ACTION_INVOKER_CAST moves to 134.
Port From (https://github.com/TrinityCore/TrinityCore/commit/0aee79dfb8027e8b35472f5f61eb4f318528c951)
This commit is contained in:
@@ -1070,6 +1070,7 @@ namespace Game.AI
|
||||
}
|
||||
// no break
|
||||
goto case SmartActions.AddAura;
|
||||
case SmartActions.SelfCast:
|
||||
case SmartActions.AddAura:
|
||||
if (!IsSpellValid(e, e.Action.cast.spell))
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user