mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 02:20:27 +00:00
feat(Core/SmartScripts): SMART_ACTION_DISABLE_EVADE (#9772)
* Update SmartScriptMgr.h * Update SmartScript.cpp * Update SmartAI.h * Update SmartAI.cpp
This commit is contained in:
committed by
GitHub
parent
7a612f3dd9
commit
f7ff583b7e
@@ -585,7 +585,7 @@ enum SMART_ACTION
|
||||
SMART_ACTION_RISE_UP = 114, // distance
|
||||
SMART_ACTION_RANDOM_SOUND = 115, // SoundId1, SoundId2, SoundId3, SoundId4, onlySelf
|
||||
SMART_ACTION_SET_CORPSE_DELAY = 116, // TODO: NOT SUPPORTED YET
|
||||
SMART_ACTION_DISABLE_EVADE = 117, // TODO: NOT SUPPORTED YET
|
||||
SMART_ACTION_DISABLE_EVADE = 117, // 0/1 (1 = disabled, 0 = enabled)
|
||||
SMART_ACTION_GO_SET_GO_STATE = 118, // TODO: NOT SUPPORTED YET
|
||||
SMART_ACTION_SET_CAN_FLY = 119, // TODO: NOT SUPPORTED YET
|
||||
SMART_ACTION_REMOVE_AURAS_BY_TYPE = 120, // TODO: NOT SUPPORTED YET
|
||||
@@ -1274,6 +1274,11 @@ struct SmartAction
|
||||
uint32 isNegative;
|
||||
uint32 instanceTarget;
|
||||
} doAction;
|
||||
|
||||
struct
|
||||
{
|
||||
uint32 disable;
|
||||
} disableEvade;
|
||||
//! Note for any new future actions
|
||||
//! All parameters must have type uint32
|
||||
|
||||
|
||||
Reference in New Issue
Block a user