Core/SAI: Implemented Gameobject action allowing to send SMSG_GAMEOBJECT_CUSTOM_ANIM with parameter set in param1

This commit is contained in:
Shauren committed 2011-03-02 16:50:09 +01:00
1 parent 2b9346e5a0
commit 6c020c72cc
7 files changed
+28 -9

No files matched your search

@@ -445,12 +445,13 @@ enum SMART_ACTION
SMART_ACTION_RANDOM_MOVE = 89, // maxDist
SMART_ACTION_SET_UNIT_FIELD_BYTES_1 = 90, // bytes, target
SMART_ACTION_REMOVE_UNIT_FIELD_BYTES_1 = 91, // bytes, target
SMART_ACTION_INTERRUPT_SPELL = 92,
SMART_ACTION_END = 93,
SMART_ACTION_SEND_GO_CUSTOM_ANIM = 93, // anim id
SMART_ACTION_END = 94,
};
struct SmartAction
@@ -829,6 +830,11 @@ struct SmartAction
uint32 spell_id;
bool withInstant;
} interruptSpellCasting;
struct
{
uint32 anim;
} sendGoCustomAnim;
struct
{
uint32 param1;