Remove reserve mission's reaction radius bonus
Reserve missions are now useless. They'll become useful again in a later commit.
This commit is contained in:
parent
6376574754
commit
8d0e1af5b7
5 changed files with 11 additions and 23 deletions
|
@ -144,8 +144,8 @@ restrictions apply to reacting land units:
|
||||||
- The unit must be in range.
|
- The unit must be in range.
|
||||||
.FI
|
.FI
|
||||||
If the unit is in a 60% efficient headquarters, then 1 is added to its
|
If the unit is in a 60% efficient headquarters, then 1 is added to its
|
||||||
reaction radius. If it is on "reserve" mission, then 2 is added to
|
reaction radius.
|
||||||
the radius. Note that you can limit the reaction radius of your land
|
Note that you can limit the reaction radius of your land
|
||||||
units using the "lrange" command.
|
units using the "lrange" command.
|
||||||
.s1
|
.s1
|
||||||
.L "(5) Calculate support."
|
.L "(5) Calculate support."
|
||||||
|
|
|
@ -289,20 +289,16 @@ lost his planes.
|
||||||
.s1
|
.s1
|
||||||
RESERVE MISSIONS (land units only)
|
RESERVE MISSIONS (land units only)
|
||||||
.s1
|
.s1
|
||||||
A land unit given reserve orders has an increased ability to react to enemy
|
This mission has no effect at this time.
|
||||||
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).
|
|
||||||
See info attack for more details on reaction.
|
|
||||||
.s1
|
.s1
|
||||||
Note that units with a reserve mission retain this status, even though they
|
Note that units with a reserve mission retain this status even when they
|
||||||
move to the threatened sector and return. This is an exception to the normal
|
react to a threatened sector and return. This is an exception to the normal
|
||||||
rules on losing your mission status. If, however, the land unit is forced to
|
rules on losing your mission status. If, however, the land unit is forced to
|
||||||
retreat from the combat (see land combat for details), it WOULD lose its status.
|
retreat from the combat (see land combat for details), it DOES lose its status.
|
||||||
.s1
|
.s1
|
||||||
When a unit with a reserve mission is listed, the op sector is the sector
|
When a unit with a reserve mission is listed, the op sector is the sector
|
||||||
the unit is in, and the radius is the units maximum reaction radius, including
|
the unit is in, and the radius is the units maximum reaction radius, including
|
||||||
the bonus for the reserve mission and HQ (if applicable). Note that the unit's
|
the bonus for HQ (if applicable). Note that the unit's
|
||||||
actual radius might be different if it was changed by lrange command.
|
actual radius might be different if it was changed by lrange command.
|
||||||
.s1
|
.s1
|
||||||
Note: information gained from planes flying missions is automatically
|
Note: information gained from planes flying missions is automatically
|
||||||
|
|
|
@ -294,20 +294,16 @@ mission(void)
|
||||||
obj_nameof(gp), mission_name(mission),
|
obj_nameof(gp), mission_name(mission),
|
||||||
xyas(x, y, player->cnum), gp->radius);
|
xyas(x, y, player->cnum), gp->radius);
|
||||||
} else if (mission == MI_RESERVE) {
|
} else if (mission == MI_RESERVE) {
|
||||||
int plus = 2;
|
radius = ((struct lndstr *)gp)->lnd_rad_max;
|
||||||
|
if (radius) {
|
||||||
if (((struct lndstr *)gp)->lnd_rad_max == 0) {
|
|
||||||
plus = 0;
|
|
||||||
} else {
|
|
||||||
getsect(gp->x, gp->y, &opsect);
|
getsect(gp->x, gp->y, &opsect);
|
||||||
if ((opsect.sct_type == SCT_HEADQ)
|
if ((opsect.sct_type == SCT_HEADQ)
|
||||||
&& (opsect.sct_effic >= 60))
|
&& (opsect.sct_effic >= 60))
|
||||||
plus++;
|
radius++;
|
||||||
plus += ((struct lndstr *)gp)->lnd_rad_max;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pr("%s on %s mission with maximum reaction radius %d\n",
|
pr("%s on %s mission with maximum reaction radius %d\n",
|
||||||
obj_nameof(gp), mission_name(mission), plus);
|
obj_nameof(gp), mission_name(mission), radius);
|
||||||
} else if (mission) {
|
} else if (mission) {
|
||||||
pr("%s on %s mission\n", obj_nameof(gp),
|
pr("%s on %s mission\n", obj_nameof(gp),
|
||||||
mission_name(mission));
|
mission_name(mission));
|
||||||
|
|
|
@ -1511,9 +1511,6 @@ att_reacting_units(struct combat *def, struct emp_qelem *list, int a_spy,
|
||||||
else
|
else
|
||||||
radius = land.lnd_rad_max;
|
radius = land.lnd_rad_max;
|
||||||
|
|
||||||
if (land.lnd_mission == MI_RESERVE)
|
|
||||||
radius += 2;
|
|
||||||
|
|
||||||
if (dist > radius)
|
if (dist > radius)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|
|
@ -797,7 +797,6 @@ show_mission(int type, struct nstr_item *np)
|
||||||
radius = item.land.lnd_rad_max;
|
radius = item.land.lnd_rad_max;
|
||||||
|
|
||||||
if (radius) {
|
if (radius) {
|
||||||
radius += 2;
|
|
||||||
getsect(gp->x, gp->y, §);
|
getsect(gp->x, gp->y, §);
|
||||||
if ((sect.sct_type == SCT_HEADQ) && (sect.sct_effic >= 60))
|
if ((sect.sct_type == SCT_HEADQ) && (sect.sct_effic >= 60))
|
||||||
radius++;
|
radius++;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue