Follow-up Comment #11, patch #1501 (project freeciv):

You have raised a valid point. I used the unit's hit points because I did not
consider that there are other possibilities.

In the default ruleset the (unit type) hit points are between 10 and 40. So a
value of killunhomed = 10 will result in a lifetime of the unit between 10 and
40 turns (no homecity bonus etc.).

So the line should read:

punit->hp -= MAX(unit_type(punit)->hp * game.server.killunhomed / 100, 1);


Reply to this item at:


  Nachricht geschickt von/durch Gna!

Freeciv-dev mailing list

Reply via email to