Class PeriodicHealingData
- Namespace
- TDMaker.Unity.Authoring
- Assembly
- TDMaker.Unity.dll
Periodic healing carried by a status effect, baked into PeriodicHealingDef.
public sealed class PeriodicHealingData
- Inheritance
-
PeriodicHealingData
- Inherited Members
Constructors
PeriodicHealingData()
public PeriodicHealingData()
Fields
enabled
Whether the effect heals.
public bool enabled
Field Value
healOnAttach
Also heals once when the effect attaches.
public bool healOnAttach
Field Value
healOnExpire
Also heals once when the effect expires naturally.
public bool healOnExpire
Field Value
healing
Health restored per pulse.
public HealingData healing
Field Value
interval
Seconds between pulses.
[Min(0.01)]
public float interval
Field Value
Methods
ToDef()
Bakes the cadence, or null when disabled.
public PeriodicHealingDef ToDef()