]> git.pond.sub.org Git - empserver/blob - info/Commands/morale.t
Import of Empire 4.2.12
[empserver] / info / Commands / 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 Normally, a land unit must start making morale checks during combat
9 when its efficiency is less than or equal to its retreat percentage.
10 (The chance of failing a morale check is: sqrt(100-effic)%/(men in unit).
11 Example: a 25 man unit is at 75% efficiency. It's chance of failing is
12 sqrt(100-75)%/25 = sqrt(25)%/25 = 20%)
13 .s1
14 The morale command
15 allows you to adjust this percentage within a range. If, for example, you
16 wish only to trade space for time, you could set the retreat percentage
17 to 100%, meaning that your units would retreat often, but would still slow
18 the enemy down a bit. Or, you could set your retreat percentage to the minimum,
19 and make the unit stick around and fight more, but at the cost of more
20 casualties.
21 .s1
22 The maximum allowed value is 100% (i.e. start making morale checks after
23 any casualties) The minimum values is based on happiness:
24 .ti 3
25 (morale_base) - happiness
26 .s1
27 "morale_base" is a deity settable variable, which defaults to 42.  When
28 a unit is first built, it's retreat percentage is set to "morale_base".
29 .s1
30 .SA "attack, assault, LandUnits"