AI/SmartScripts: Add SMART_ACTION_DISABLE_EVADE (117).
This commit is contained in:
1 parent
c2fd73c95d
commit
0e47f961c9
5 files changed
+31
-1
No files matched your search
@@ -552,8 +552,9 @@ enum SMART_ACTION
|
||||
SMART_ACTION_MOVE_OFFSET = 114,
|
||||
SMART_ACTION_RANDOM_SOUND = 115, // soundId1, soundId2, soundId3, soundId4, soundId5, onlySelf
|
||||
SMART_ACTION_SET_CORPSE_DELAY = 116, // timer
|
||||
SMART_ACTION_DISABLE_EVADE = 117, // 0/1 (1 = disabled, 0 = enabled)
|
||||
|
||||
SMART_ACTION_END = 117
|
||||
SMART_ACTION_END = 118
|
||||
};
|
||||
|
||||
struct SmartAction
|
||||
@@ -1049,6 +1050,11 @@ struct SmartAction
|
||||
uint32 timer;
|
||||
} corpseDelay;
|
||||
|
||||
struct
|
||||
{
|
||||
uint32 disable;
|
||||
} disableEvade;
|
||||
|
||||
//! Note for any new future actions
|
||||
//! All parameters must have type uint32
|
||||
|
||||
|
||||
Reference in new issue
Block a user