Fix(Core/Spells): Fix parry aura spells (#1694)
This commit is contained in:
parent
1d8b3ec1ff
commit
2ce10cf609
1 changed files with 5 additions and 2 deletions
|
|
@ -4284,8 +4284,11 @@ void AuraEffect::HandleAuraModParryPercent(AuraApplication const* aurApp, uint8
|
||||||
|
|
||||||
if (target->GetTypeId() != TYPEID_PLAYER)
|
if (target->GetTypeId() != TYPEID_PLAYER)
|
||||||
return;
|
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
|
void AuraEffect::HandleAuraModDodgePercent(AuraApplication const* aurApp, uint8 mode, bool /*apply*/) const
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue