Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2006:
[Freeciv-Dev] Re: rndCiv for freeciv 2.0.99
Home

[Freeciv-Dev] Re: rndCiv for freeciv 2.0.99

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: rndCiv for freeciv 2.0.99
From: Marek "Baczek" Baczyński <imbaczek@xxxxxxxxx>
Date: Mon, 16 Jan 2006 21:01:47 +0100

2006/1/16, Per Inge Mathisen <per@xxxxxxxxxxx>:
> > 3) for "Trade_Revenue_Bonus" the documentation states...
> >   Trade revenue is multiplied by pow(2, amount/1000)
> >
> > Im not a mathematician, i don't understand this, could someone
> >   please explain either how to calc this in perl, or give some
> >   rough rules of thumb for doubling and halving Trade Revenue.
>
> Not sure. Anyone else know?

Sorry for double mail if it happens.

2^(1000/1000) = 2
2^(2000/1000) = 4
2^(3000/1000) = 8
...

so every 1000 of amount doubles the bonus.

--
{ 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]