From 7825d38b91c49671e907e6a519cd078dcea812c9 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Sun, 4 Feb 2024 00:36:55 -0500 Subject: [PATCH] Core/Vehicle: Only interrupt channels with SpellAuraInterruptFlags::Mount when entering a vehicle Port From (https://github.com/TrinityCore/TrinityCore/commit/ee95a5e00fb2ee6928a819699ab93094d916d372) --- Source/Game/Entities/Vehicle.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/Game/Entities/Vehicle.cs b/Source/Game/Entities/Vehicle.cs index 7c891fd61..e7767bcf4 100644 --- a/Source/Game/Entities/Vehicle.cs +++ b/Source/Game/Entities/Vehicle.cs @@ -661,7 +661,9 @@ namespace Game.Entities } } - Passenger.InterruptNonMeleeSpells(false); + Passenger.InterruptSpell(CurrentSpellTypes.Generic); + Passenger.InterruptSpell(CurrentSpellTypes.AutoRepeat); + Passenger.RemoveAurasWithInterruptFlags(SpellAuraInterruptFlags.Mount); Passenger.RemoveAurasByType(AuraType.Mounted); VehicleSeatRecord veSeat = Seat.Value.SeatInfo;