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:


  Nachricht geschickt von/durch Gna!

Freeciv-dev mailing list

Reply via email to