Core/SAI: Extended SMART_TARGET_VEHICLE_PASSENGER to allow specifying seat mask instead of single seat index (can now target all passengers)

Port From (https://github.com/TrinityCore/TrinityCore/commit/172df39350391e4fa2e40515d288e7e4e6b9cc91)
This commit is contained in:
hondacrx
2021-06-22 20:55:38 -04:00
parent 1c9eeb403a
commit be2f4087b7
4 changed files with 14 additions and 7 deletions
+1 -1
View File
@@ -426,7 +426,7 @@ namespace Framework.Constants
ClosestFriendly = 26, // maxDist, playerOnly
LootRecipients = 27, // all players that have tagged this creature (for kill credit)
Farthest = 28, // maxDist, playerOnly, isInLos
VehicleAccessory = 29, // seat number (vehicle can target it's own accessory)
VehiclePassenger = 29, // seatMask (0 - all seats)
SpellTarget = 30,
End = 31