Searched refs:retrchance (Results 1 – 2 of 2) sorted by relevance
1506 int retrchance = 0; in maybe_hit_unit() local1673 retrchance = uu_retreat_chance(a, o); in maybe_hit_unit()1675 if (u_morale_max(o) > 0 && retrchance < 100) in maybe_hit_unit()1676 retrchance = 100 - ((100 - retrchance) * other->morale) / in maybe_hit_unit()1678 if (probability(retrchance)) { in maybe_hit_unit()
1454 * combat.c (maybe_hit_unit): New variable 'retrchance' to calculate