mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-23 23:20:09 -04:00
Core/SAI: Remove SMART_ACTION_SEND_GO_CUSTOM_ANIM, make SMART_ACTION_ADD_AURA & SMART_ACTION_SET_GO_FLAG deprecated (#27452)
(cherry picked from commit 7709837539)
This commit is contained in:
@@ -1857,13 +1857,6 @@ void SmartScript::ProcessAction(SmartScriptHolder& e, Unit* unit, uint32 var0, u
|
||||
target->ToUnit()->InterruptNonMeleeSpells(e.action.interruptSpellCasting.withDelayed != 0, e.action.interruptSpellCasting.spell_id, e.action.interruptSpellCasting.withInstant != 0);
|
||||
break;
|
||||
}
|
||||
case SMART_ACTION_SEND_GO_CUSTOM_ANIM:
|
||||
{
|
||||
for (WorldObject* target : targets)
|
||||
if (IsGameObject(target))
|
||||
target->ToGameObject()->SendCustomAnim(e.action.sendGoCustomAnim.anim);
|
||||
break;
|
||||
}
|
||||
case SMART_ACTION_JUMP_TO_POS:
|
||||
{
|
||||
for (WorldObject* target : targets)
|
||||
|
||||
Reference in New Issue
Block a user