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

Co-authored-by: Claude Fable 5 <[email protected]>
This commit is contained in:
Andrew
2026-07-15 12:41:04 +02:00
committed by GitHub
co-authored by Claude Fable 5
parent 4932429b1f
commit 7ec14c067d
@@ -5345,6 +5345,13 @@ void SpellMgr::LoadSpellInfoCorrections()
vse = const_cast<VehicleSeatEntry*>(sVehicleSeatStore.LookupEntry(1520)); // Wyrmrest Vanquisher vse = const_cast<VehicleSeatEntry*>(sVehicleSeatStore.LookupEntry(1520)); // Wyrmrest Vanquisher
vse->m_flags |= VEHICLE_SEAT_FLAG_PASSENGER_NOT_SELECTABLE; 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: // pussywizard: fix z offset for some vehicles:
vse = const_cast<VehicleSeatEntry*>(sVehicleSeatStore.LookupEntry(6206)); // Marrowgar - Bone Spike vse = const_cast<VehicleSeatEntry*>(sVehicleSeatStore.LookupEntry(6206)); // Marrowgar - Bone Spike
vse->m_attachmentOffsetZ = 4.0f; vse->m_attachmentOffsetZ = 4.0f;