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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user