StatModifierConstructor
A internal class in Root.Township, Alta.StatSystem. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.
Serialized recipe for one stat modifier, set up in the inspector on a ThresholdStat level and turned into a StatModifier when that level applies.
- Listed in Stats, effects, heat and liquid
Constructors
| Member | What it is |
|---|---|
StatModifierConstructor() | Creates a StatModifierConstructor with default values. |
Fields
4 private and internal fields
| Member | What it is |
|---|---|
private bool hasBuffEffects | Whether the modifier shows buff effects. |
private bool isMultiplier | Whether value multiplies the stat rather than adding to it. |
private StatDefinition targetStat | The stat the modifier changes. |
private float value | Amount added to, or multiplied into, the target stat. |
Methods
| Member | What it is |
|---|---|
StatModifier GetModifier() | Builds a new StatModifier from the serialized settings. |
Used in
Members of other types that take, return or hold a StatModifierConstructor: