URL:
<http://gna.org/patch/?4013>
Summary: No tech want for obsolete unit
Project: Freeciv
Submitted by: cazfi
Submitted on: Wed 17 Jul 2013 08:00:03 PM EEST
Category: ai
Priority: 5 - Normal
Status: Ready For Test
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release: 2.5.0, 2.6.0
_______________________________________________________
Details:
Currently process_attacker_want() considers unit if it it's not obsolete OR
its tech requirement is not yet known. In the latter case calculated want is
used only for boosting want for tech allowing the unit.
There's no point in researching tech for unit that would be immediately
obsolete. Attached patch makes process_attacker_want() not to consider
obsolete units even in this case.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Wed 17 Jul 2013 08:00:03 PM EEST Name: ObsUnitNoTechBoost.patch Size:
862B By: cazfi
<http://gna.org/patch/download.php?file_id=18316>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?4013>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev