Class PeriodicDamageDef

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

A periodic hit using inclusive uniform integer rolls.

public sealed class PeriodicDamageDef
Inheritance
PeriodicDamageDef
Inherited Members

Constructors

PeriodicDamageDef(DamageDef, float, float, float)

Creates periodic damage data; area damage is not accepted here.

public PeriodicDamageDef(DamageDef damage, float interval, float firstDamage = -1, float lastDamage = -1)

Parameters

damage DamageDef
interval float
firstDamage float
lastDamage float

Properties

Damage

Damage channel, mitigation, effects, and credit settings.

public DamageDef Damage { get; }

Property Value

DamageDef

FirstDamage

Optional damage replacing the first scheduled periodic hit; negative uses the normal roll. Not an extra attachment hit, and equal-rank refresh does not repeat it.

public float FirstDamage { get; }

Property Value

float

Interval

Seconds between normal ticks; at most one tick is processed per fixed step.

public float Interval { get; }

Property Value

float

LastDamage

Optional hit on natural expiration; negative disables it.

public float LastDamage { get; }

Property Value

float