diff --git a/zone/attack.cpp b/zone/attack.cpp index bf83c64fb..4c49b9187 100644 --- a/zone/attack.cpp +++ b/zone/attack.cpp @@ -278,7 +278,7 @@ bool Mob::CheckHitChance(Mob* other, SkillUseTypes skillinuse, int Hand, int16 c bonus += (owner->aabonuses.PetAvoidance + owner->spellbonuses.PetAvoidance + owner->itembonuses.PetAvoidance)*10; } - if(bonus > 0) { + if(bonus) { chancetohit -= ((bonus * chancetohit) / 1000); mlog(COMBAT__TOHIT, "Applied avoidance chance %.2f/10, yeilding %.2f", bonus, chancetohit); }