Class RecoveryDef
Recovery values; timers pause while the actor is ineligible.
public sealed class RecoveryDef
- Inheritance
-
RecoveryDef
- Inherited Members
Constructors
RecoveryDef(float, float, float, bool)
Creates recovery data.
public RecoveryDef(float amount, float interval, float damageGrace = 0, bool idleOnly = true)
Parameters
Properties
Amount
Health restored per recovery tick.
public float Amount { get; }
Property Value
DamageGrace
Minimum time without positive damage.
public float DamageGrace { get; }
Property Value
IdleOnly
Requires an idle, stationary, unengaged actor.
public bool IdleOnly { get; }
Property Value
Interval
Seconds between recovery ticks.
public float Interval { get; }