Barotrauma Client Doc
|
PeriodicEffect applies StatusEffects to the character periodically. More...
Public Member Functions | |
PeriodicEffect (ContentXElement element, string parentDebugName) | |
Public Attributes | |
readonly List< StatusEffect > | StatusEffects = new List<StatusEffect>() |
readonly float | MinInterval |
readonly float | MinStrength |
PeriodicEffect applies StatusEffects to the character periodically.
<doc> <SubElement identifier="StatusEffect" type="StatusEffect" > <Field identifier="Interval" type="float" defaultValue="1.0"> How often the status effect is applied in seconds. Setting this attribute will set both the min and max interval to the specified value. </Field> <Field identifier="MinInterval" type="float" defaultValue="1.0"> Minimum interval between applying the status effect in seconds. </Field> <Field identifier="MaxInterval" type="float" defaultValue="1.0"> Maximum interval between applying the status effect in seconds. </Field> </doc>
Definition at line 578 of file AfflictionPrefab.cs.
Barotrauma.AfflictionPrefab.PeriodicEffect.PeriodicEffect | ( | ContentXElement | element, |
string | parentDebugName | ||
) |
Definition at line 584 of file AfflictionPrefab.cs.
readonly float Barotrauma.AfflictionPrefab.PeriodicEffect.MinInterval |
Definition at line 581 of file AfflictionPrefab.cs.
readonly float Barotrauma.AfflictionPrefab.PeriodicEffect.MinStrength |
Definition at line 582 of file AfflictionPrefab.cs.
readonly List<StatusEffect> Barotrauma.AfflictionPrefab.PeriodicEffect.StatusEffects = new List<StatusEffect>() |
Definition at line 580 of file AfflictionPrefab.cs.