]> git.pond.sub.org Git - empserver/commitdiff
Clean up removal of reserve mission mobility bonus
authorMarkus Armbruster <armbru@pond.sub.org>
Mon, 17 Nov 2008 02:18:17 +0000 (21:18 -0500)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 14 Dec 2008 15:45:35 +0000 (10:45 -0500)
Land units on reserve missions used to pay only half the usual
mobility for combat.  This bonus was commented out in the code in
4.0.0, but not in info.  Remove it from both.

info/Attacking.t
info/mission.t
src/lib/subs/lndsub.c

index a302495077ddd3affcf76e5f73023f712ac9d41b..1b5a7fcb30d499dac24b6b96274fd5e94b19b9c6 100644 (file)
@@ -227,7 +227,7 @@ The "aggresor loss factor" is equal to the number of aggressor
 casualties divided by the total number of aggressor troops that went into
 the conflict.  Similarly, the "defender loss factor" is calculated.
 Then each land unit loses mobility equal to 10 * (loss factor).
-Defensive land units on reserve mission only lose half of that.  Also
+Also
 there is a chance equal to the loss factor that the land unit will use
 up some of its supply (see info supply).
 .s1
index 23c8eb6c6fec5d0aafc0a2bd0cc7a94e804b1c39..df352537d8e1dc03805949ebef044a955d7d0a0b 100644 (file)
@@ -293,8 +293,6 @@ A land unit given reserve orders has an increased ability to react to enemy
 attacks. A reserve unit has its reaction radius increased by 2.
 (Note: this is cumulative with the +1 modifier for being at an
 efficient headquarters, so a reserve unit at an HQ would have a +3).
-In addition, a reserve unit pays 1/2 the normal cost for fighting a battle.
-(It still pays the normal cost for moving to the threatened sector)
 See info attack for more details on reaction.
 .s1
 Note that units with a reserve mission retain this status, even though they
index 69c1998f3fd5516c89934f190815146e73113070..4913383e5fff9c4a9a2af569b03e2c5e58c3c299 100644 (file)
@@ -300,9 +300,6 @@ lnd_takemob(struct emp_qelem *list, double loss)
 /*
                if (chance(loss))
                        use_supply(&llp->unit.land);
-               if (llp->unit.land.lnd_mission == MI_RESERVE)
-                       new = llp->unit.land.lnd_mobil - mcost/2;
-               else
  */
        new = llp->unit.land.lnd_mobil - mcost;
        if (new < -127)