Both ordinary ground combat and guerrilla combat basically kill combatants one by one randomly until one side is eliminated. The odds of each side taking a hit are computed from combat strengths. Ordinary combat factors bonuses into the odds. It doesn't mess with the number of men. Guerrilla combat does the same for the bonus due to relative happiness. It doesn't for land units with security capability: these fight as if they had twice as many military. Changes both odds and number of men. This inflates the body count reported to the sector owner. Visible in tests/update/journal.log, where rebels kill 110 out of 70 military. It also complicates take_casualties(). Has been that way since security land units were added in Chainsaw 3. To fix the body count and simplify take_casualties(), make capability security affect only the odds, not the number of men. Without further adjustments, this would reduce guerrilla losses: fewer men mean fewer combat rounds mean fewer chances for rebels to die. To compensate, increase the multiplier from two to four. This should make security units a bit tougher. Document the bonus in "info Guerrilla". More body count bugs remain. Reusing ordinary combat rules and code for guerrilla combat would be nice, but isn't feasible for me right now. Signed-off-by: Markus Armbruster <armbru@pond.sub.org> |
||
---|---|---|
.. | ||
01-1 | ||
02-2 | ||
03-3 | ||
04-4 | ||
05-5 | ||
06-6 | ||
07-7 | ||
99-POGO | ||
final.xdump | ||
journal.log | ||
server.log | ||
setup-POGO |