fix(Core/Vehicles): protect Salvaged Siege Engine extra passengers from Flame Leviathan AoE (#26622)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Andrew
2026-07-15 07:41:04 -03:00
committed by GitHub
parent 4932429b1f
commit 7ec14c067d

View File

@@ -5345,6 +5345,13 @@ void SpellMgr::LoadSpellInfoCorrections()
vse = const_cast<VehicleSeatEntry*>(sVehicleSeatStore.LookupEntry(1520)); // Wyrmrest Vanquisher
vse->m_flags |= VEHICLE_SEAT_FLAG_PASSENGER_NOT_SELECTABLE;
// Salvaged Siege Engine (Ulduar) extra passenger seats: the only salvaged vehicle seats
// without this flag, leaving those passengers targetable by Flame Leviathan's AoE
vse = const_cast<VehicleSeatEntry*>(sVehicleSeatStore.LookupEntry(4026));
vse->m_flags |= VEHICLE_SEAT_FLAG_PASSENGER_NOT_SELECTABLE;
vse = const_cast<VehicleSeatEntry*>(sVehicleSeatStore.LookupEntry(4027));
vse->m_flags |= VEHICLE_SEAT_FLAG_PASSENGER_NOT_SELECTABLE;
// pussywizard: fix z offset for some vehicles:
vse = const_cast<VehicleSeatEntry*>(sVehicleSeatStore.LookupEntry(6206)); // Marrowgar - Bone Spike
vse->m_attachmentOffsetZ = 4.0f;