]> git.pond.sub.org Git - empserver/commit
assault: Improve chance for spies sneaking ashore undetected
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 24 Jul 2016 07:00:02 +0000 (09:00 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 6 Aug 2017 18:09:18 +0000 (20:09 +0200)
commit4b3b1331838026e4ab1fec06b96f7f154d7e92ec
tree9192aa4ec090d8cd6d9c196bf529b8ccf14c28fd
parent9b97d68bb36dbbc52fcb90eff76caeedc14bd440
assault: Improve chance for spies sneaking ashore undetected

Spies assaulting a foreign sector have only a 10% chance to evade
detection, regardless of efficiency.  With odds like that, players
basically don't bother.

All the other spy detection checks use LND_SPY_DETECT_CHANCE(eff),
which gives 100% spies a 90% chance to evade detection.  That's
perhaps a bit to good here, so let's try LND_SPY_DETECT_CHANCE(eff/2).
A 100% spy now has a 40% chance to sneak ashore undetected.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
info/Spies.t
src/lib/commands/assa.c