Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2003:
[Freeciv-Dev] Re: (PR#7021) allies give all their techs for nothing
Home

[Freeciv-Dev] Re: (PR#7021) allies give all their techs for nothing

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: vanevery@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#7021) allies give all their techs for nothing
From: "imbaczek@xxxxxxxxxxxxxx" <imbaczek@xxxxxxxxxxxxxx>
Date: Thu, 4 Dec 2003 11:45:30 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=7021 >

On 03-12-04 you wrote:

ipop> Now we can take (1) and (2) and combine them:
ipop> techcost(level, cities, techs) =
ipop> level*factor_level*(cities*factor_cities+basecost*techs)

Oops. Not exactly :) This should be

techcost(level, cities, techs) =
max(1, level*factor_level) * (cities*factor_cities + basecost*techs)

to avoid any kind of strange behaviour.

-- 
{ Marek Baczyński :: UIN 57114871 :: GG 161671 :: JID imbaczek@xxxxxxxxxxxxx  }
{ http://www.vlo.ids.gda.pl/ | imbaczek at poczta fm | http://www.promode.org }
.. .. .. .. ... ... ...... evolve or face extinction ...... ... ... .. .. .. ..





[Prev in Thread] Current Thread [Next in Thread]