mirror of
https://gitcode.com/GitHub_Trending/az/azerothcore-wotlk.git
synced 2026-10-10 07:06:38 +08:00
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:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user