Barotrauma Server
|
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 | MaxInterval |
readonly float | MinStrength |
readonly float | MaxStrength |
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>
Barotrauma.AfflictionPrefab.PeriodicEffect.PeriodicEffect | ( | ContentXElement | element, |
string | parentDebugName ) |
readonly float Barotrauma.AfflictionPrefab.PeriodicEffect.MaxInterval |
readonly float Barotrauma.AfflictionPrefab.PeriodicEffect.MaxStrength |
readonly float Barotrauma.AfflictionPrefab.PeriodicEffect.MinInterval |
readonly float Barotrauma.AfflictionPrefab.PeriodicEffect.MinStrength |
readonly List<StatusEffect> Barotrauma.AfflictionPrefab.PeriodicEffect.StatusEffects = new List<StatusEffect>() |