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: <http://gna.org/patch/?1501> _______________________________________________ Nachricht geschickt von/durch Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freecivfirstname.lastname@example.org https://mail.gna.org/listinfo/freeciv-dev