Class AreaPulseDef

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

Direct periodic region payload; recipients are rescanned each pulse, with no lingering damage after exit.

public sealed class AreaPulseDef
Inheritance
AreaPulseDef
Inherited Members

Constructors

AreaPulseDef(string, DamageDef, HealingDef, MechanicTargetDef)

Creates a direct damage/healing pulse. Compose it with attached effects using AreaEffectDef.WithPulse.

public AreaPulseDef(string id, DamageDef damage = null, HealingDef healing = null, MechanicTargetDef targets = null)

Parameters

id string
damage DamageDef
healing HealingDef
targets MechanicTargetDef

Properties

Damage

Optional single-target hit on every current occupant; region geometry supplies the area.

public DamageDef Damage { get; }

Property Value

DamageDef

Healing

Optional health restoration to each current occupant.

public HealingDef Healing { get; }

Property Value

HealingDef

Id

Neutral event key.

public string Id { get; }

Property Value

string

Targets

Additional recipient restrictions.

public MechanicTargetDef Targets { get; }

Property Value

MechanicTargetDef