mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Unit: Also remove snare mechanics caused by effects on RemoveMovementImpairingAuras (#31207)
This commit is contained in:
@@ -4067,7 +4067,7 @@ void Unit::RemoveMovementImpairingAuras(bool withRoot)
|
||||
if (withRoot)
|
||||
RemoveAurasWithMechanic(1 << MECHANIC_ROOT, AURA_REMOVE_BY_DEFAULT, 0, true);
|
||||
|
||||
RemoveAurasWithMechanic(1 << MECHANIC_SNARE, AURA_REMOVE_BY_DEFAULT, 0, false);
|
||||
RemoveAurasWithMechanic(1 << MECHANIC_SNARE, AURA_REMOVE_BY_DEFAULT, 0, true);
|
||||
}
|
||||
|
||||
void Unit::RemoveAurasWithMechanic(uint32 mechanicMaskToRemove, AuraRemoveMode removeMode, uint32 exceptSpellId, bool withEffectMechanics)
|
||||
|
||||
Reference in New Issue
Block a user