Core/Auras: Removed outdated aura type handling

Port From (https://github.com/TrinityCore/TrinityCore/commit/c563d52c8da02c610266b0376ef70ea92d022835)
This commit is contained in:
hondacrx
2023-05-02 17:25:05 -04:00
parent 42a902c118
commit 141ed88de0
3 changed files with 2 additions and 5 deletions
+1 -3
View File
@@ -852,9 +852,7 @@ namespace Game.Entities
float chance = critDone;
// flat aura mods
if (attackType == WeaponAttackType.RangedAttack)
chance += GetTotalAuraModifier(AuraType.ModAttackerRangedCritChance);
else
if (attackType != WeaponAttackType.RangedAttack)
chance += GetTotalAuraModifier(AuraType.ModAttackerMeleeCritChance);
chance += GetTotalAuraModifier(AuraType.ModCritChanceVersusTargetHealth, aurEff => !HealthBelowPct(aurEff.GetMiscValueB()));