mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-14 17:49:10 +00:00
feat(Core/SAI): Implement SMART_ACTION_SET_GUID (#15978)
* feat(Core/SAI): Implement SMART_ACTION_SET_GUID * Update SmartScript.cpp * Update src/server/game/AI/SmartScripts/SmartScriptMgr.h * Update SmartScript.cpp
This commit is contained in:
@@ -692,8 +692,9 @@ enum SMART_ACTION
|
||||
SMART_ACTION_CU_ENCOUNTER_START = 222, // Resets cooldowns on all targets and removes Heroism debuff(s)
|
||||
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_AC_END = 225, // placeholder
|
||||
SMART_ACTION_AC_END = 226, // placeholder
|
||||
};
|
||||
|
||||
enum class SmartActionSummonCreatureFlags
|
||||
@@ -1357,6 +1358,12 @@ struct SmartAction
|
||||
{
|
||||
uint32 entry;
|
||||
} cinematic;
|
||||
|
||||
struct
|
||||
{
|
||||
SAIBool invokerGUID;
|
||||
uint32 index;
|
||||
} setGuid;
|
||||
//! Note for any new future actions
|
||||
//! All parameters must have type uint32
|
||||
|
||||
|
||||
Reference in New Issue
Block a user