mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 18:40:28 +00:00
Fix(Core/Spells): Fix parry aura spells (#1694)
This commit is contained in:
@@ -4284,8 +4284,11 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user