Class PeriodicDamageDef
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
Properties
Damage
Damage channel, mitigation, effects, and credit settings.
public DamageDef Damage { get; }
Property Value
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
Interval
Seconds between normal ticks; at most one tick is processed per fixed step.
public float Interval { get; }
Property Value
LastDamage
Optional hit on natural expiration; negative disables it.
public float LastDamage { get; }