Core/Auras: Implement SPELL_AURA_IGNORE_DUAL_WIELD_HIT_PENALTY
Port From (https://github.com/TrinityCore/TrinityCore/commit/1a0341ccbdd4fa443e978cb952965a1eaf3b55d2)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user