namespace StatHub;
[GlobalClass, Icon("res://addons/StatHub/Assets/ExpressionModifier.png")]
public partial class ExpressionModifier : StatModifier
A powerful modifier that edits an input value based on a custom expression.
CustomExpression
[Export]
public string CustomExpression { get; private set; }
A custom expression that defines how an input value is modified. This string will be parsed into the type Expression
, so for usage, refer to the docs.
Use the word "input" for the input value and "level" for the modifier instance's level.