Code:
int chance = weight + (p->state.to_h + plus + debuff_to_hit) * 5 + (p->state.skills[SKILL_TO_HIT_MELEE] - 60);
Code:
int k, to_crit = weight + 5 * (state->to_h + plus) + [B][COLOR="Red"]3[/COLOR][/B] * state->skills[SKILL_TO_HIT_MELEE] - 60;

Leave a comment: