]> git.pond.sub.org Git - empserver/blob - info/morale.t
client: Make get_password() not echo with POSIX && !HAVE_GETPASS
[empserver] / info / morale.t
1 .TH Command MORALE
2 .NA morale "Change the retreat percentage of a unit"
3 .LV Expert
4 .SY "morale <UNITS> <retreat percentage>"
5 The \*Qmorale\*U command is used to set the retreat percentage of land
6 units.
7 .s1
8 Whenever a land unit takes a hit in combat, it may break off combat
9 and attempt to retreat.  This is called \*Qfailing a morale check\*U.
10 The chance for it to happen is unit's retreat percentage - efficiency.
11 .s1
12 The morale command
13 allows you to adjust this percentage within a range. If, for example, you
14 wish only to trade space for time, you could set the retreat percentage
15 to 100%, meaning that your units would retreat often, but would still slow
16 the enemy down a bit. Or, you could set your retreat percentage to the minimum,
17 and make the unit stick around and fight more, but at the cost of more
18 casualties.
19 .s1
20 The maximum allowed value is 100%.  The minimum value is based on
21 happiness:
22 .ti 3
23 (morale_base) - happiness
24 .s1
25 "morale_base" is a deity settable variable, which defaults to 42.  When
26 a unit is first built, its retreat percentage is set to "morale_base".
27 .s1
28 .SA "attack, assault, LandUnits"