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:
hondacrx
2021-10-17 18:49:09 -04:00
parent 9f214f107f
commit d21b9e1858
3 changed files with 37 additions and 3 deletions
@@ -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;