From 0d5a0525cd9132c2ac75cd4a64db58d8991f4490 Mon Sep 17 00:00:00 2001 From: KayenEQ Date: Wed, 23 Jul 2014 22:08:47 -0400 Subject: [PATCH] minor fix --- zone/attack.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/attack.cpp b/zone/attack.cpp index d2438cfae..45e32e848 100644 --- a/zone/attack.cpp +++ b/zone/attack.cpp @@ -311,7 +311,7 @@ bool Mob::CheckHitChance(Mob* other, SkillUseTypes skillinuse, int Hand, int16 c hitBonus += (attacker->CastToNPC()->GetAccuracyRating() / 10.0f); //Modifier from database if(skillinuse == SkillArchery) - hitBonus -= hitBonus*RuleR(Combat, ArcheryHitPenalty); + hitBonus -= hitBonus*(RuleR(Combat, ArcheryHitPenalty)*100.0f); //Calculate final chance to hit chancetohit += ((chancetohit * (hitBonus - avoidanceBonus)) / 100.0f);