Class StatSystem.StatModifier
Can be added to a stack of modifiers on the StatSystem to modify the value of the base stats e.g. a weapon adding +2 strength will push a modifier on the top of the stack.
They have 2 modes : Absolute, where values are added as is, and Percentage, where values are converted to percentage (e.g. a value of 50 in strength in a Percentage modifier will increase the strength by 50%).
Inheritance
System.Object
StatSystem.StatModifier
Namespace: CreatorKitCode
Assembly: Assembly-CSharp.dll
Syntax
[Serializable]
public class StatModifier
Fields
ModifierMode
Declaration
public StatSystem.StatModifier.Mode ModifierMode
Field Value
Type | Description |
---|---|
StatSystem.StatModifier.Mode |
Stats
Declaration
public StatSystem.Stats Stats
Field Value
Type | Description |
---|---|
StatSystem.Stats |