Skip to main content

Numerable

A Numerable Stat Effect is the base class for Effects that modify numerable Stats, such as Float Stat Effects and Int Stat Effects.

In addition to the fields inherited from Effect, it defines how the Effect value is calculated before it is processed.

Fields

This Effect inherits all fields from Effect.

FieldDescription
Usage TypeDetermines how the Effect value is interpreted. See Usage Types below.
Use Seperate Percentage Source StatCalculates percentage-based values using another Stat instead of the targeted Stat.
Percentage Source StatThe Stat used as the reference when Use Seperate Percentage Source Stat is enabled.
Use Stat ValueUses a Stat instead of a predefined Effect value.
ValueThe predefined Effect value.
Value StatThe Stat that provides the Effect value.
Use Value AdapterEnables a Value Adapter for the Effect value.
Value AdapterThe Value Adapter used to convert or modify the Effect value before processing. This can be used to adapt the value for different Stat types or other use cases.

Usage Types

Assume the following target Stat:

  • Value: 15
  • Min Value: 10
  • Max Value: 30
  • Effect Value: 0.2
TypeResultDescription
Constant15 + 0.2Uses the Effect value directly.
Percentage Of Value15 + (15 × 0.2)Applies the Effect value as a percentage of the current Stat value.
Percentage Of Range15 + ((30 − 10) × 0.2)Applies the Effect value as a percentage of the Stat's total range. Available only for Clamped Stats.
Percentage Of Missing15 + ((30 − 15) × 0.2)Applies the Effect value as a percentage of the value missing from the maximum. Available only for Clamped Stats.
Percentage Of Remain15 + ((15 − 10) × 0.2)Applies the Effect value as a percentage of the value remaining above the minimum. Available only for Clamped Stats.