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:
UltraNix
2022-12-06 13:41:05 +01:00
committed by GitHub
parent ac65434f3f
commit 95652e14d5
6 changed files with 56 additions and 1 deletions

View File

@@ -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;