mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 10:30:27 +00:00
feat(Core/SAI): implemented a new SAI action type SMART_ACTION_DO_ACTION (#8375)
* feat(Core/SAI): implemented a new SAI action type SMART_ACTION_DO_ACTION This will give possibility to trigger certain actions on instance scripts or creatures/gobjects * yet we still love you "blank line" xD
This commit is contained in:
@@ -629,8 +629,9 @@ enum SMART_ACTION
|
||||
SMART_ACTION_PLAYER_TALK = 220, // acore_string.entry, yell? (0/1)
|
||||
SMART_ACTION_VORTEX_SUMMON = 221, // entry, duration (0 = perm), spiral scaling, spiral appearance, range max, phi_delta <-- yes confusing math, try it ingame and see, my lovely AC boys!
|
||||
SMART_ACTION_CU_ENCOUNTER_START = 222, // Resets cooldowns on all targets and removes Heroism debuff(s)
|
||||
SMART_ACTION_DO_ACTION = 223, // ActionId
|
||||
|
||||
SMART_ACTION_AC_END = 223, // placeholder
|
||||
SMART_ACTION_AC_END = 224, // placeholder
|
||||
};
|
||||
|
||||
struct SmartAction
|
||||
@@ -1262,6 +1263,12 @@ struct SmartAction
|
||||
uint32 phi_delta;
|
||||
} summonVortex;
|
||||
|
||||
struct
|
||||
{
|
||||
uint32 actionId;
|
||||
uint32 isNegative;
|
||||
uint32 instanceTarget;
|
||||
} doAction;
|
||||
//! Note for any new future actions
|
||||
//! All parameters must have type uint32
|
||||
|
||||
|
||||
Reference in New Issue
Block a user