Attribute Modifier
An Object used to specify how an attribute should be modified.
Fields:
Field | Type | Default | Description |
---|---|---|---|
operation |
Modifier Operation | The operation which will be performed by this modifier. | |
value |
Float | The value with which to apply the operation to the value. | |
name |
String | optional | A descriptive name for the modifier, describing where it comes from. |
Examples:
"modifier": {
"operation": "multiply_base",
"value": 1
}
This attribute modifier will multiply the base value by 2, stacking additively with other multiply_base
operations on the same value.
"modifier": {
"operation": "multiply_total",
"value": -1
}
This attribute modifier will multiply the total value by 0.