mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 02:50:29 +00:00
fix(Core/SmartScripts): Implemented new target type: SMART_TARGET_SUM… (#13880)
* fix(Core/SmartScripts): Implemented new target type: SMART_TARGET_SUMMONED_CREATURES. Fixes #13787 * Update. * Update.
This commit is contained in:
@@ -1407,8 +1407,9 @@ enum SMARTAI_TARGETS
|
||||
SMART_TARGET_PLAYER_WITH_AURA = 201, // spellId, negation, MaxDist, MinDist, set target.o to a number to random resize the list
|
||||
SMART_TARGET_RANDOM_POINT = 202, // range, amount (for summoning creature), self als middle (0/1) else use xyz
|
||||
SMART_TARGET_ROLE_SELECTION = 203, // Range Max, TargetMask (Tanks (1), Healer (2) Damage (4)), resize list
|
||||
SMART_TARGET_SUMMONED_CREATURES = 204, // Entry
|
||||
|
||||
SMART_TARGET_AC_END = 204 // placeholder
|
||||
SMART_TARGET_AC_END = 205 // placeholder
|
||||
};
|
||||
|
||||
struct SmartTarget
|
||||
@@ -1564,6 +1565,11 @@ struct SmartTarget
|
||||
uint32 distMin;
|
||||
} playerWithAura;
|
||||
|
||||
struct
|
||||
{
|
||||
uint32 entry;
|
||||
} summonedCreatures;
|
||||
|
||||
struct
|
||||
{
|
||||
uint32 param1;
|
||||
|
||||
Reference in New Issue
Block a user