[R&F] Heal on Upgrade?

There are some effect-types available for affecting unit healing, but I think they are for adjusting the rate of "normal" healing and may not be usable for what you are after. Also there might be some real boogers of modifier/requirement "chains" to get the effect to implement only on an upgrade and to heal the desired amount since as far as I remember there's no simple xml/sql command in the effects and modifier-types for "heal completely".

There is also a UnitUpgraded lua event-hook which could be used.

The real question in both cases (an xml modifier or an lua script) is whether you want all units of all players to do so or only the units of a specific leader or civilization as a leader/civ Unique Ability. If not employed globally for all units of all players it would have to be set-up as a traitmodifier in the xml, and via an lua script some extra but not horridly-complicated code would be needed to only make the result apply to a specific leader/civ.
 
Back
Top Bottom