Fix(Core/Spells): Fix parry aura spells (#1694)

This commit is contained in:
TheHighlord 2019-04-09 19:20:13 +02:00 committed by Nefertumm
parent 1d8b3ec1ff
commit 2ce10cf609

View file

@ -4285,6 +4285,9 @@ void AuraEffect::HandleAuraModParryPercent(AuraApplication const* aurApp, uint8
if (target->GetTypeId() != TYPEID_PLAYER) if (target->GetTypeId() != TYPEID_PLAYER)
return; return;
if (!target->ToPlayer()->CanParry())
target->ToPlayer()->SetCanParry(true);
else
target->ToPlayer()->UpdateParryPercentage(); target->ToPlayer()->UpdateParryPercentage();
} }