Core/Vehicle: Only interrupt channels with SpellAuraInterruptFlags::Mount when entering a vehicle
Port From (https://github.com/TrinityCore/TrinityCore/commit/ee95a5e00fb2ee6928a819699ab93094d916d372)
This commit is contained in:
@@ -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);
|
Passenger.RemoveAurasByType(AuraType.Mounted);
|
||||||
|
|
||||||
VehicleSeatRecord veSeat = Seat.Value.SeatInfo;
|
VehicleSeatRecord veSeat = Seat.Value.SeatInfo;
|
||||||
|
|||||||
Reference in New Issue
Block a user