Attributes - TheComputerGeek2/MagicSpells GitHub Wiki

Value Types:

Value Type Extra Default
attribute Attribute
value Integer
operation Operation Aliases:
- add_number: add & add_value
- add_scalar: multiply_base & add_multiplied_base
- multiply_scalar_1: multiply_scalar, multiplyscalar, multiply, multiply_total, add_multiplied_total
add_number
slot Before 4.0 Beta 16:
Equipment Slot
Leave undefined for all slots

Extended since 4.0 Beta 16:
Equipment Slot Group
* can be an alias for any
any
id Resource location with the default magicspells namespace Unique UUID

String Form:

Note

Before 4.0 Beta 16:

The slot option only works when the attributes are defined on Magic Items.

<attribute> <value> <operation> [slot]

Note

Since 4.0 Beta 16:

<attribute> <value> <operation> <slot> <id>

Example:

attributes:
  - generic_movement_speed 1 add_number

Config Form:

Note

Since 4.0 Beta 16

List of config sections, compact or not.

attributes:
  # Flow style section
  - {attribute: "", value: , operation: , slot: }
  # Block style section
  - attribute:
    value:
    operation:
    slot:
⚠️ **GitHub.com Fallback** ⚠️