SelfHealingRate
Added in 0.2.0
The interval between this type's self-healing ticks.
Specification
- Applies to
- AircraftTypeBuildingTypeInfantryTypeUnitType
- File
rules.ini- Section
[<ObjectType ID>]- Value
- floating point
- When omitted
-1Any value below zero takes the interval from `SelfHealRate`.
[4TNK] ; a UnitType registered in [VehicleTypes]SelfHealingRate=.004 ; example value, one tick every 3 framesSelfHealingRate sets the time between self-healing ticks for this type. It replaces the rules-wide SelfHealRate for this type. A smaller value heals faster.
The value is in minutes: it is multiplied by 900 frames and truncated to whole frames. An interval that truncates to zero frames is raised to one, so the object heals on every frame.
Ticks fall on game frames whose number is a multiple of the interval. Every object on the same interval therefore heals on the same frames.
History
- Added0.2.0In development