mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-24 02:46:33 +01:00
Core/Spells: Remove movement impairing effects for druids when shifting back to normal form
fixes #320
This commit is contained in:
@@ -3174,7 +3174,11 @@ void AuraEffect::HandleAuraModShapeshift(AuraApplication const * aurApp, uint8 m
|
||||
{
|
||||
target->SetShapeshiftForm(FORM_NONE);
|
||||
if (target->getClass() == CLASS_DRUID)
|
||||
{
|
||||
target->setPowerType(POWER_MANA);
|
||||
// Remove movement impairing effects also when shifting out
|
||||
target->RemoveMovementImpairingAuras();
|
||||
}
|
||||
}
|
||||
|
||||
if (modelid > 0)
|
||||
|
||||
Reference in New Issue
Block a user