[7635] Spell hit chance cap change to 100% in 3.0.x Author: Tassader

--HG--
branch : trunk
This commit is contained in:
megamage
2009-04-08 16:35:37 -05:00
parent fa0492ccce
commit 70d0ca7f31
+1 -1
View File
@@ -2842,7 +2842,7 @@ SpellMissInfo Unit::MagicSpellHitResult(Unit *pVictim, SpellEntry const *spell)
HitChance -= int32(((Player*)pVictim)->GetRatingBonusValue(CR_HIT_TAKEN_SPELL)*100.0f);
if (HitChance < 100) HitChance = 100;
if (HitChance > 9900) HitChance = 9900;
if (HitChance > 10000) HitChance = 10000;
int32 tmp = 10000 - HitChance;