Skip to content

Modifier

A rule modifier that changes an entity attribute.

Modifiers describe how a value should be applied to an attribute, such as adding a bonus, overriding an existing value, or upgrading a value according to game-system rules.

View JSON Schema

Property Type Required Description
id string Yes A stable unique identifier for this modifier.
enabled boolean Yes Whether this modifier is currently active.
name string No The display name of the modifier.
mode Mode No The operation used when applying this modifier.
attribute string No The attribute path or key affected by this modifier.
value string No The modifier value. The value is stored as text so game systems can interpret numbers, formulas, dice expressions, or custom data as needed.
scope Scope No The context in which this modifier applies.

The operation used to apply a modifier to an attribute.

Type: string — one of:

  • override
  • add
  • multiply
  • upgrade
  • downgrade
  • custom

The context in which a modifier is applied.

Type: string — one of:

  • self
  • global