StatType that will be applied to the affected character when the effect is active that is proportional to the effect's strength.
More...
StatType that will be applied to the affected character when the effect is active that is proportional to the effect's strength.
<
Effect minstrength=
"0" maxstrength=
"100">
<StatValue stattype="WalkingSpeed" minvalue="0.1" maxvalue="0.3" />
<StatValue stattype="MaximumHealthMultiplier" value="0.2" />
Effects are the primary way to add functionality to afflictions.
Definition AfflictionPrefab.cs:234
◆ AppliedStatValue()
| Barotrauma.AfflictionPrefab.Effect.AppliedStatValue.AppliedStatValue |
( |
ContentXElement | element | ) |
|
◆ MaxValue
| readonly float Barotrauma.AfflictionPrefab.Effect.AppliedStatValue.MaxValue |
◆ MinValue
| readonly float Barotrauma.AfflictionPrefab.Effect.AppliedStatValue.MinValue |
◆ StatType
| readonly StatTypes Barotrauma.AfflictionPrefab.Effect.AppliedStatValue.StatType |
The documentation for this struct was generated from the following file:
- /home/runner/work/Luatrauma.Docs/Luatrauma.Docs/libs/LuaCsForBarotrauma/Barotrauma/BarotraumaShared/SharedSource/Characters/Health/Afflictions/AfflictionPrefab.cs