Page 1 of 1

Hit-points increase of units through effects.ruleset

Posted: Thu Oct 17, 2013 10:48 am
by ngunjaca
The name says it all - after researching a tech or after increasing the unit experience level after combat (or just about any other condition as defined in the effects.ruleset), hit-points of the unit can be increased for a specified amount. It would be nice to have this option for modding purposes,(it would give a certain RPGishness to the game).
If i remember correctly the experience system of Civ3 was based on raising hit-points instead of increasing attack/defense values.

Re: Hit-points increase of units through effects.ruleset

Posted: Fri Oct 18, 2013 2:58 am
by cazfi
ngunjaca wrote:If i remember correctly the experience system of Civ3 was based on raising hit-points instead of increasing attack/defense values.

- If unit has more hp, it can afford to lose them more.
- If unit has higher attack/defense value, it loses less hp.
So relative hp loss works the same regardless which side experience affects. Difference is in healing time. Unit that has lost more hitpoints takes longer to heal even if hp loss % is the same.

Re: Hit-points increase of units through effects.ruleset

Posted: Fri Oct 18, 2013 10:10 am
by cazfi
ngunjaca wrote:The name says it all - after researching a tech or after increasing the unit experience level after combat (or just about any other condition as defined in the effects.ruleset).

Implementation-wise this is actually requesting two things, but both should be quite doable. 1) There should be effect to increase unit's max hitpoints. 2) There should be veteran level requirement type. Currently there's no way to enable effects depending on unit veteran level.