Lines Matching defs:hit_chance
68 short damage, hit_chance;
77 hit_chance = 100;
79 hit_chance = monster->m_hit_chance;
80 hit_chance -= (((2 * rogue.exp) + (2 * ring_exp)) - r_rings);
83 hit_chance /= 2;
90 if (!rand_percent(hit_chance)) {
127 short damage, hit_chance;
133 hit_chance = force_hit ? 100 : get_hit_chance(rogue.weapon);
136 hit_chance *= 2;
138 if (!rand_percent(hit_chance)) {
438 short hit_chance;
440 hit_chance = 40;
441 hit_chance += 3 * to_hit(weapon);
442 hit_chance += (((2 * rogue.exp) + (2 * ring_exp)) - r_rings);
443 return(hit_chance);