Skip to content

SelfHealingStep

Added in 0.2.0

The strength one self-healing tick restores to this type.

Specification
Applies to
AircraftTypeBuildingTypeInfantryTypeUnitType
File
rules.ini
Section
[<ObjectType ID>]
Value
integer
When omitted
-1Any value below zero takes the step from `SelfHealStep`.
rules.ini
[4TNK] ; a UnitType registered in [VehicleTypes]
SelfHealingStep=15

Each self-healing tick restores this many strength points to an object of this type. It replaces the rules-wide SelfHealStep for this type. It has no effect unless the object heals itself, through SelfHealing=yes or the SELF_HEAL ability.

This key is the only way to give one type a different step. The rules-wide step applies to every type alike: unlike RepairStep and IRepairStep, it does not even treat infantry differently.

0 heals one point per tick. Healing never raises strength above the type’s Strength.

History

  1. Added0.2.0In development

    Give self-healing its own step, interval and ceiling