Class PeriodicHealingDef
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
healingHealingDefintervalfloathealOnAttachboolhealOnExpirebool
Properties
HealOnAttach
Also heals once on actual attachment.
public bool HealOnAttach { get; }
Property Value
HealOnExpire
Also heals once on natural expiration, but not on dispel, replacement or death.
public bool HealOnExpire { get; }
Property Value
Healing
Restoration per pulse.
public HealingDef Healing { get; }
Property Value
Interval
Game seconds between normal heals, at most one per fixed tick.
public float Interval { get; }