0a68e3a6a4
Same syntax as for EP: <max-hp value="1000" regeneration="1" start-percentage="1.0" /> Where `start-percentage` can be replaced by `start-value` to use an absolute number. Note that unlike EP, HP defaults to the max-hp value *before* upgrades are applied. This behavior is not changed. To make units spawn with their fully upgraded HP, set their start-percentage to 1.0. |
||
---|---|---|
.. | ||
command.cpp | ||
command.h | ||
faction.cpp | ||
faction.h | ||
object.cpp | ||
object.h | ||
resource.cpp | ||
resource.h | ||
unit.cpp | ||
unit.h | ||
upgrade.cpp | ||
upgrade.h |