update/revolt: Make security bonus proportional to efficiency

Land units with capability security get a combat bonus regardless of
efficiency.  This lets players get the benefits of a security unit at
a discount: just don't build it beyond 10%.

Multiply the combat bonus by eff/100.  Together with the previous
commit, this closes bug#64.

Note that the the strength of a security unit's commando raid is
already proportional to its efficiency.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
Markus Armbruster 2016-09-19 20:05:51 +02:00
parent 3c1c68f16d
commit 04dddb6bd1
3 changed files with 7 additions and 7 deletions

View file

@ -1437,7 +1437,7 @@
Play#0 output Play#0 1 own sect eff prd mob uf uf old civ mil uw food work avail fall coa
Play#0 output Play#0 1 5 -16,-8 - 0% 120 .. .. 124 5 0 96 100% 0 0 1
Play#0 output Play#0 1 5 -14,-8 b 100% 120 .. .. 124 5 0 97 100% 0 0 1
Play#0 output Play#0 1 0 -12,-8 - 0% 60 .. .. 124 5 0 97 100% 0 0 1
Play#0 output Play#0 1 0 -12,-8 - 0% 60 .. .. 123 5 0 97 100% 0 0 1
Play#0 output Play#0 1 4 -10,-8 - 39% 120 .. .. 130 0 0 97 100% 39 0 1
Play#0 output Play#0 1 4 -8,-8 - 39% 120 .. .. 2 130 0 0 97 100% 39 0 1
Play#0 output Play#0 1 4 -6,-8 - 39% 120 .. .. 2 130 0 0 97 100% 39 0 1
@ -1586,7 +1586,7 @@
Play#0 output Play#0 1 4 -4,-8 - 39% 0 0 0 0 0 0
Play#0 output Play#0 1 4 -2,-8 - 39% 0 0 0 0 0 0
Play#0 output Play#0 1 4 -15,-7 - 41% 0 0 0 0 0 0
Play#0 output Play#0 1 4 -13,-7 - 39% 0 4 116 0 0 0
Play#0 output Play#0 1 4 -13,-7 - 39% 0 4 156 0 0 0
Play#0 output Play#0 1 4 -11,-7 - 41% 0 0 0 0 0 0
Play#0 output Play#0 1 4 -9,-7 - 39% 0 0 0 0 0 0
Play#0 output Play#0 1 4 -7,-7 - 39% 0 0 0 0 0 0