From 17703e89245a6754625df5ef1922dffe44223f07 Mon Sep 17 00:00:00 2001 From: ariel- Date: Fri, 20 Jan 2017 01:16:51 -0300 Subject: Core/Spell: remove duplicated SPELL_AURA_MOD_DEBUFF_RESISTANCE handling. Each spell had two rolls in which it could be resisted, effectively adding to the resist chance. Closes #7406 (cherrypicked from 23f76b563f3002e1557eb5dd75e0d26bd22357ab) --- src/server/game/Entities/Unit/Unit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server') diff --git a/src/server/game/Entities/Unit/Unit.cpp b/src/server/game/Entities/Unit/Unit.cpp index 75f443223a8..e046dc17402 100644 --- a/src/server/game/Entities/Unit/Unit.cpp +++ b/src/server/game/Entities/Unit/Unit.cpp @@ -2499,7 +2499,7 @@ SpellMissInfo Unit::MagicSpellHitResult(Unit* victim, SpellInfo const* spellInfo // Increase hit chance from attacker SPELL_AURA_MOD_SPELL_HIT_CHANCE and attacker ratings HitChance += int32(m_modSpellHitChance * 100.0f); - RoundToInterval(HitChance, 100, 10000); + RoundToInterval(HitChance, 0, 10000); int32 tmp = 10000 - HitChance; -- cgit v1.2.3