[Freeciv-Dev] Re: rndCiv for freeciv 2.0.99
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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 ...... ... ... .. .. .. ..
|
|