Class PeriodicHealingDef

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

Periodic healing on an attached effect; refreshing lifetime does not reset cadence or replay the first heal.

public sealed class PeriodicHealingDef
Inheritance
PeriodicHealingDef
Inherited Members

Constructors

PeriodicHealingDef(HealingDef, float, bool, bool)

Creates healing cadence.

public PeriodicHealingDef(HealingDef healing, float interval, bool healOnAttach = false, bool healOnExpire = false)

Parameters

healing HealingDef
interval float
healOnAttach bool
healOnExpire bool

Properties

HealOnAttach

Also heals once on actual attachment.

public bool HealOnAttach { get; }

Property Value

bool

HealOnExpire

Also heals once on natural expiration, but not on dispel, replacement or death.

public bool HealOnExpire { get; }

Property Value

bool

Healing

Restoration per pulse.

public HealingDef Healing { get; }

Property Value

HealingDef

Interval

Game seconds between normal heals, at most one per fixed tick.

public float Interval { get; }

Property Value

float