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
@@ -447,7 +447,7 @@ namespace Game.AI
case SmartTargets.Stored:
case SmartTargets.LootRecipients:
case SmartTargets.Farthest:
case SmartTargets.VehicleAccessory:
case SmartTargets.VehiclePassenger:
case SmartTargets.SpellTarget:
break;
default:
@@ -3130,7 +3130,7 @@ namespace Game.AI
}
public struct Vehicle
{
public uint seat;
public uint seatMask;
}
public struct Raw
{