]> git.pond.sub.org Git - empserver/blobdiff - src/lib/subs/mission.c
launch interception: Drop support for ABM, a-sat consuming shells
[empserver] / src / lib / subs / mission.c
index 9313d5e6c58d98d6e44528d94105ee4032024329..40b82c069d64836b66cde79b43e3844272e24adf 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2016, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2021, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                Ken Stevens, Steve McClure, Markus Armbruster
  *
  *  Empire is free software: you can redistribute it and/or modify
@@ -29,7 +29,7 @@
  *  Known contributors to this file:
  *     Ken Stevens, 1995
  *     Steve McClure, 1996-2000
- *     Markus Armbruster, 2003-2015
+ *     Markus Armbruster, 2003-2021
  */
 
 #include <config.h>
@@ -487,7 +487,7 @@ perform_mission_ship(int dam, struct shpstr *sp, coord x, coord y,
        wu(0, sp->shp_own,
           "\tEffective torpedo range is %d.0\n", range);
        wu(0, sp->shp_own,
-          "\tWhooosh... Hitchance = %.0f%%\n", hitchance * 100);
+          "\tWhooosh... Hit chance = %.0f%%\n", hitchance * 100);
 
        if (!chance(hitchance)) {
            wu(0, sp->shp_own, "\tMissed\n");
@@ -917,12 +917,8 @@ mission_pln_equip(struct plist *plp, struct ichrstr *ip, char mission)
     case 'p':          /* pinpoint bomb */
        itype = I_SHELL;
        break;
-    case 'i':          /* missile interception */
-       if (load)
-           itype = I_SHELL;
-       break;
     case 'e':          /* escort */
-    case 0:            /* plane interception */
+    case 0:            /* interception */
        load = 0;
        break;
     default:
@@ -1057,7 +1053,7 @@ air_damage(struct emp_qelem *bombers, coord x, coord y, int mission,
               prplane(pp), cname(victim), s, xyas(x, y, pp->pln_own));
        } else {
            wu(0, pp->pln_own,
-              "\t%s pinbombing %s %s in %s\n",
+              "\t%s pin-bombing %s %s in %s\n",
               prplane(pp), cname(victim), s, xyas(x, y, pp->pln_own));
        }
 
@@ -1067,7 +1063,7 @@ air_damage(struct emp_qelem *bombers, coord x, coord y, int mission,
        else {
            hitchance = pln_hitchance(pp, hardtarget, EF_SHIP);
            if (hardtarget != SECT_HARDTARGET)
-               snprintf(buf, sizeof(buf), "\t\t%d%% hitchance...",
+               snprintf(buf, sizeof(buf), "\t\t%d%% hit chance...",
                         hitchance);
        }
        if (pct_chance(hitchance)) {