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,7 +4285,10 @@ void AuraEffect::HandleAuraModParryPercent(AuraApplication const* aurApp, uint8
if (target->GetTypeId() != TYPEID_PLAYER)
return;
target->ToPlayer()->UpdateParryPercentage();
if (!target->ToPlayer()->CanParry())
target->ToPlayer()->SetCanParry(true);
else
target->ToPlayer()->UpdateParryPercentage();
}
void AuraEffect::HandleAuraModDodgePercent(AuraApplication const* aurApp, uint8 mode, bool /*apply*/) const