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);
|
target->SetShapeshiftForm(FORM_NONE);
|
||||||
if (target->getClass() == CLASS_DRUID)
|
if (target->getClass() == CLASS_DRUID)
|
||||||
|
{
|
||||||
target->setPowerType(POWER_MANA);
|
target->setPowerType(POWER_MANA);
|
||||||
|
// Remove movement impairing effects also when shifting out
|
||||||
|
target->RemoveMovementImpairingAuras();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (modelid > 0)
|
if (modelid > 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user