From 3355b1e0669e4b3feabe109eff461e45fa271c02 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Mon, 9 May 2022 13:24:59 -0400 Subject: [PATCH] Core/Auras: Implement SPELL_AURA_IGNORE_DUAL_WIELD_HIT_PENALTY Port From (https://github.com/TrinityCore/TrinityCore/commit/1a0341ccbdd4fa443e978cb952965a1eaf3b55d2) --- Source/Game/Entities/StatSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Game/Entities/StatSystem.cs b/Source/Game/Entities/StatSystem.cs index eea8d24c2..e044b3bc4 100644 --- a/Source/Game/Entities/StatSystem.cs +++ b/Source/Game/Entities/StatSystem.cs @@ -801,7 +801,7 @@ namespace Game.Entities float missChance = victim.GetUnitMissChance(); // melee attacks while dual wielding have +19% chance to miss - if (spellInfo == null && HaveOffhandWeapon() && !IsInFeralForm()) + if (spellInfo == null && HaveOffhandWeapon() && !IsInFeralForm() && !HasAuraType(AuraType.IgnoreDualWieldHitPenalty)) missChance += 19.0f; // Spellmod from SpellModOp.HitChance