mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 02:20:27 +00:00
feat(Scripts/SmartAI): SMART_TARGET_INVOKER (#9802)
This commit is contained in:
committed by
GitHub
parent
97012997af
commit
df4b621527
@@ -1344,7 +1344,7 @@ enum SMARTAI_TEMPLATE
|
||||
|
||||
enum SMARTAI_TARGETS
|
||||
{
|
||||
SMART_TARGET_NONE = 0, // NONE, defaulting to invoket
|
||||
SMART_TARGET_NONE = 0, // NONE
|
||||
SMART_TARGET_SELF = 1, // Self cast
|
||||
SMART_TARGET_VICTIM = 2, // Our current target (ie: highest aggro)
|
||||
SMART_TARGET_HOSTILE_SECOND_AGGRO = 3, // Second highest aggro, maxdist, playerOnly, powerType + 1
|
||||
@@ -1885,6 +1885,8 @@ private:
|
||||
//event stores
|
||||
SmartAIEventMap mEventMap[SMART_SCRIPT_TYPE_MAX];
|
||||
|
||||
static bool EventHasInvoker(SMART_EVENT event);
|
||||
|
||||
bool IsEventValid(SmartScriptHolder& e);
|
||||
bool IsTargetValid(SmartScriptHolder const& e);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user