mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Unit: fix Sanctified Wrath (again)
- Actually only rank 1 was affected because of 50% reduction on rank 2
(cherry picked from commit 0e9b1635e0)
This commit is contained in:
@@ -7013,7 +7013,7 @@ uint32 Unit::SpellDamageBonusTaken(Unit* caster, SpellInfo const* spellProto, ui
|
||||
if (!(aurEff->GetMiscValue() & spellProto->GetSchoolMask()))
|
||||
continue;
|
||||
|
||||
ApplyPct(damageReduction, aurEff->GetAmount());
|
||||
AddPct(damageReduction, -aurEff->GetAmount());
|
||||
}
|
||||
|
||||
TakenTotalMod = 1.0f - damageReduction;
|
||||
@@ -7931,7 +7931,7 @@ uint32 Unit::MeleeDamageBonusTaken(Unit* attacker, uint32 pdamage, WeaponAttackT
|
||||
if (!(aurEff->GetMiscValue() & attackSchoolMask))
|
||||
continue;
|
||||
|
||||
ApplyPct(damageReduction, aurEff->GetAmount());
|
||||
AddPct(damageReduction, -aurEff->GetAmount());
|
||||
}
|
||||
|
||||
TakenTotalMod = 1.0f - damageReduction;
|
||||
|
||||
Reference in New Issue
Block a user