Is the unit bribe equation on Freeciv Wiki wrong? (edit: not anymore)

Various topics about the game, the website, or anything else Freeciv related that doesn't fit elsewhere.
Post Reply
User avatar
Corbeau
Elite
Posts: 1306
Joined: Mon Jan 13, 2014 11:13 pm

Is the unit bribe equation on Freeciv Wiki wrong? (edit: not anymore)

Post by Corbeau »

I could be mistaking as I'm not verse in C, so feel free to correct me, but I have a feeling that the equation here is not correct.
https://freeciv.fandom.com/wiki/Math_of ... bribe_cost

Looking at this:
https://github.com/freeciv/freeciv/blob ... it.c#L2341

edit: checked, rechecked, consulted the experts, experts found the correct formula, I copied it into the wiki
--
* Freeciv LongTurn, a community of one-turn-per-day players and developers
* LongTurn Blog - information nexus with stuff and stuff and stuff
* Longturn Discord server; real-time chatting, discussing, quarrelling, trolling, gaslighting...
Post Reply