Core/SAI: Remove SMART_ACTION_SEND_GO_CUSTOM_ANIM, make SMART_ACTION_ADD_AURA & SMART_ACTION_SET_GO_FLAG deprecated

Port From (https://github.com/TrinityCore/TrinityCore/commit/9ea8cdb45716c162221c7d8a6f37da19a047c6d7)
This commit is contained in:
hondacrx
2022-05-30 14:43:56 -04:00
parent d3cf388bd7
commit eedbf145d1
3 changed files with 4 additions and 18 deletions
@@ -1806,13 +1806,6 @@ namespace Game.AI
target.ToUnit().InterruptNonMeleeSpells(e.Action.interruptSpellCasting.withDelayed != 0, e.Action.interruptSpellCasting.spell_id, e.Action.interruptSpellCasting.withInstant != 0);
break;
}
case SmartActions.SendGoCustomAnim:
{
foreach (var target in targets)
if (IsGameObject(target))
target.ToGameObject().SendCustomAnim(e.Action.sendGoCustomAnim.anim);
break;
}
case SmartActions.AddDynamicFlag:
{
foreach (var target in targets)