Skill Dataset Attributes
A simple way of adding stats to datasets.
Skill datasets support attributes specifically designed add scaling stats with ease.
Attributes
Scaler
The Scaler
attribute can be used on an int
or float
field to mark it as a value that scales with the level of the skill. This attribute accepts an ID (string
).
Base Value
The BaseValue
attribute can be used on an int
or float
field to mark it as a value that should be used as the base value for a Scaler
field. This attribute accepts an ID (string
), which must be the same as the Scaler
field that it's meant to target.
Scaling
The Scaling
attribute can be used on an int
or float
or AnimationCurve
field to mark it as the scaling source for a Scaler
field. This attribute accepts an ID (string
) and a scaling mode (ScalingMode
). The ID must be the same as the Scaler
field that it's meant to target. The scaling mode does not need to be defined if the attribute is used on an AnimationCurve
field.
Scaling Modes
Linear
Linear scaling (base + scaling * level - 1).
Exponential
Ramped up scaling (base * scaling^(level - 1)).
Curve
Use an animation curve as the scaling source.
Example
Below is an example of what a custom dataset would look like if the above was implemented.
Last updated