Core/SmartAI: Implement SMART_ACTION_SET_ROOT (103)

This commit is contained in:
Vincent_Michael committed 2013-02-02 18:18:27 +01:00
1 parent 73d2f315af
commit 9d7d68395c
4 files changed
+40 -10

No files matched your search

@@ -486,8 +486,9 @@ enum SMART_ACTION
SMART_ACTION_SEND_TARGET_TO_TARGET = 100, // id
SMART_ACTION_SET_HOME_POS = 101, // none
SMART_ACTION_SET_HEALTH_REGEN = 102, // 0/1
SMART_ACTION_SET_ROOT = 103, // off/on
SMART_ACTION_END = 103
SMART_ACTION_END = 104
};
struct SmartAction
@@ -919,6 +920,11 @@ struct SmartAction
uint32 regenHealth;
} setHealthRegen;
struct
{
uint32 root;
} setRoot;
//! Note for any new future actions
//! All parameters must have type uint32