(ac_planedamage): Planes may abort when damaged below 80% efficiency.

Reduce abort chance from 100-eff to 80-eff.  This should make it
easier to punch through air defense, flak in particular, and increase
the risk of getting shot down.
This commit is contained in:
Markus Armbruster 2006-06-11 16:02:13 +00:00
parent c7f68f2e3e
commit 0252d4a750

View file

@ -728,7 +728,7 @@ ac_planedamage(struct plist *plp, natid from, int dam, natid other,
if (eff < PLANE_MINEFF) {
sprintf(dmess, " shot down");
disp = 1;
} else if (eff < 80 && chance((100 - eff) / 100.0) && checkabort) {
} else if (eff < 80 && chance((80 - eff) / 100.0) && checkabort) {
sprintf(dmess, " aborted @%2d%%", eff);
disp = 2;
} else if (show == 0) {