Follow-up Comment #2, bug #15373 (project freeciv):

My error - see patch comments; I also reduced the base propability from 25%
to 20%

the patch is only for trunk; if a fix for S2_2 (2.2.1) is needed, I will try
to reduce the number of changes to the code

== patch comments ==

update illness / health

* for testing the calculations I used floating point numbers but within the
freeciv codebase integers are used - rounding errors (no illness up to size
10); calculate the values using floats
* move the check for illness_min_size into city_illness()
* reduce illness_base_factor from 25 to 20
* add health effects:

aqueduct: 50
sewer system: 30
cure for cancer: 20

=> reduction by up to 80% (100%)

(file #8116)
    _______________________________________________________

Additional Item Attachment:

File name: 20100215-trunk-update-illness-health.patch Size:7 KB


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht geschickt von/durch Gna!
  http://gna.org/


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

Reply via email to