Summary: Un-hardcode safe house discovery
Submitted by: persia
Submitted on: Thu 26 Jun 2014 07:36:45 PM JST
Priority: 5 - Normal
Status: Ready For Test
Assigned to: persia
Discussion Lock: Any
Planned Release: 2.6.0
Digging through the history, it appears the behaviour difference for bored
units in dai_military_attack() where sea-based units always went home and land
based units did interesting things was introduced in r566 with the intent of
sending bored ferries and wounded warships home.
Logic adjusted to current semantics to determine ferries, and a WAG for
woundedness introduced to generalise this behaviour for any unit with nothing
special to do.
I wonder if movement rate wasn't part of the consideration: do others think
that only units that are "fast" should try to find a save haven for
recuperation, whereas "slow" units would do better to just get on with the
job, expecting to heal in the field?
Date: Thu 26 Jun 2014 07:36:45 PM JST Name:
un-hardcode-safe-house-discovery.patch Size: 1kB By: persia
Reply to this item at:
Message sent via/by Gna!
Freeciv-dev mailing list