Summary: Improving handling of technology exchange
Submitted by: None
Submitted on: Wed 12 Jan 2011 07:03:31 PM UTC
Severity: 3 - Normal
Priority: 5 - Normal
Assigned to: None
Originator Email: do...@student.agh.edu.pl
Discussion Lock: Any
Operating System: None
Corrected incorrect handling of technology exchange as gifts - until now
there was major error in if condition.
Improved accepting technology as gifts only when it does not obsoletes any
currently produced building or unit, or when it is currently researched or it
is technology goal.
Introduced additional technology exchange, when ai player is in lower half of
score table, then it searches for another player which is also in lower half
of score table and is not in war with current player. Then with probability
0.2 it tries to suggest tech exchange, without checking whether it is
dangerous, cause being in lower part is rather more dangerous, so it should
Date: Wed 12 Jan 2011 07:03:31 PM UTC Name: aifg_patch Size: 11kB By:
Diff with modifications
Reply to this item at:
Message sent via/by Gna!
Freeciv-dev mailing list