mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 14:41:28 +00:00
minor fix
This commit is contained in:
parent
4f07be2343
commit
0d5a0525cd
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user