Class RecoveryDef

Namespace
TDMaker.Core.Defs
Assembly
TDMaker.Core.dll

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

amount float
interval float
damageGrace float
idleOnly bool

Properties

Amount

Health restored per recovery tick.

public float Amount { get; }

Property Value

float

DamageGrace

Minimum time without positive damage.

public float DamageGrace { get; }

Property Value

float

IdleOnly

Requires an idle, stationary, unengaged actor.

public bool IdleOnly { get; }

Property Value

bool

Interval

Seconds between recovery ticks.

public float Interval { get; }

Property Value

float