Complete.Org:
Mailing Lists:
Archives:
freeciv-dev:
May 2002: [Freeciv-Dev] Re: Freecost Calculation (PR#1262) |
![]() |
[Freeciv-Dev] Re: Freecost Calculation (PR#1262)[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Tue, Feb 12, 2002 at 10:59:14AM -0800, Christian Knoke wrote: > CVS 12 FEB 2002 > > After set freecost 20, when I have research = 0/10 and > move into a hut and get a tech for free, then research > is set to -4/20 instead of -2/20 IMHO. Obviously it is > calculated from the next search goal (=20) instead of from > the actual search goal (=10). > > This is unfair (tm). Starting with 9/10, and freecost=100, > a free tech ends up in -11/20, which means a penalty > of 145 % (not tested, though) Attached is the fix which move all free cost reduction in front of the get_new_tech calls. It is tested. Raimar -- email: rf13@xxxxxxxxxxxxxxxxx Windows: From the people who brought you edlin...
|