From 70d0ca7f310b7876c83430b7c3894385b8bfe151 Mon Sep 17 00:00:00 2001 From: megamage Date: Wed, 8 Apr 2009 16:35:37 -0500 Subject: [7635] Spell hit chance cap change to 100% in 3.0.x Author: Tassader --HG-- branch : trunk --- src/game/Unit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index a9e8066c048..442b6e2c4ec 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -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; -- cgit v1.2.3