feat(Core/SAI): Implement SMART_ACTION_DISABLE (#16254)

* init

* Create rev_1684036819129474700.sql

* Update rev_1684036819129474700.sql
This commit is contained in:
Gultask
2023-05-17 09:31:50 -03:00
committed by GitHub
parent 97dff23ba1
commit 69fab3df70
4 changed files with 80 additions and 1 deletions

View File

@@ -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