Follow-up Comment #4, bug #15092 (project freeciv):

Doing the calculation on the trade production of a city is quite dumb,
because it can change at anytime, and caused some problem in the city refresh
stuff which became recursive.

Maybe this should be based on the trade collected in the last turn.  But
doing that would require a big work and wouldn't be in 2.2.  I suggest for
2.2.0:
* bonus = (distance_between_cities + size_of_city1 + size_of_city2) / 8.
* if the cities are on different continents bonus *= 2.
* if both cities are owned by the same player bonus /= 2.

In your example, it would make ((30 + 11 + 6) / 8) * 2 = 11.  Is it a good
compromise?


    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?15092>

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to