mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-10 06:01:27 +00:00
fix(Core/SmartScripts): Allow SAI_ACTION_DIE to accept params (#16411)
This commit is contained in:
@@ -559,7 +559,7 @@ enum SMART_ACTION
|
||||
SMART_ACTION_SET_INST_DATA = 34, // Field, Data
|
||||
SMART_ACTION_SET_INST_DATA64 = 35, // Field,
|
||||
SMART_ACTION_UPDATE_TEMPLATE = 36, // Entry, UpdateLevel
|
||||
SMART_ACTION_DIE = 37, // No Params
|
||||
SMART_ACTION_DIE = 37, // Milliseconds
|
||||
SMART_ACTION_SET_IN_COMBAT_WITH_ZONE = 38, // Range (if outside of dungeon)
|
||||
SMART_ACTION_CALL_FOR_HELP = 39, // Radius, With Emote
|
||||
SMART_ACTION_SET_SHEATH = 40, // Sheath (0-unarmed, 1-melee, 2-ranged)
|
||||
@@ -925,6 +925,11 @@ struct SmartAction
|
||||
SAIBool updateLevel;
|
||||
} updateTemplate;
|
||||
|
||||
struct
|
||||
{
|
||||
uint32 milliseconds;
|
||||
} die;
|
||||
|
||||
struct
|
||||
{
|
||||
uint32 range;
|
||||
|
||||
Reference in New Issue
Block a user