mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 10:00:28 +00:00
feat(Core/SAI): Implement SMART_ACTION_DISABLE (#16254)
* init * Create rev_1684036819129474700.sql * Update rev_1684036819129474700.sql
This commit is contained in:
@@ -693,8 +693,9 @@ enum SMART_ACTION
|
||||
SMART_ACTION_DO_ACTION = 223, // ActionId
|
||||
SMART_ACTION_ATTACK_STOP = 224, //
|
||||
SMART_ACTION_SET_GUID = 225, // Sends the invoker's or the base object's own ObjectGuid to target
|
||||
SMART_ACTION_DISABLE = 226, // Disable the targeted creatures, setting them Invisible and Immune to All
|
||||
|
||||
SMART_ACTION_AC_END = 226, // placeholder
|
||||
SMART_ACTION_AC_END = 227, // placeholder
|
||||
};
|
||||
|
||||
enum class SmartActionSummonCreatureFlags
|
||||
@@ -1365,6 +1366,11 @@ struct SmartAction
|
||||
SAIBool invokerGUID;
|
||||
uint32 index;
|
||||
} setGuid;
|
||||
|
||||
struct
|
||||
{
|
||||
SAIBool state;
|
||||
} disable;
|
||||
//! Note for any new future actions
|
||||
//! All parameters must have type uint32
|
||||
|
||||
|
||||
Reference in New Issue
Block a user