]> git.pond.sub.org Git - empserver/commit
update/revolt: Make security bonus proportional to efficiency
authorMarkus Armbruster <armbru@pond.sub.org>
Mon, 19 Sep 2016 18:05:51 +0000 (20:05 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 6 Aug 2017 18:09:20 +0000 (20:09 +0200)
commit04dddb6bd13cd09c9f466947c4658651bf6c5026
treec3516ce0d13de17b4981543380b7290d8e62cac7
parent3c1c68f16d1a3af85ba4e3983907d18607f1a16f
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>
src/lib/update/revolt.c
tests/update/final.xdump
tests/update/journal.log