Modify Simple

Power Type

A power that can store Attribute Modifiers. This is normally used as a debugging tool for the /modifier command. Other than that, it doesn't have any other use.

Type ID: origins-math:modify_simple

Fields

Field Type Default Description
modifier Attribute Modifier optional If specified, this modifier will be applied to the resource's minimum value.
modifiers Array of Attribute Modifiers optional If specified, these modifiers will be applied to the resource's minimum value.

Examples

{
    "type": "origins-math:modify_simple",
    "modifier": {
        "value": -10,
        "operation": "add_base_early"
    }
}

This example will create a modifier that subtracts 10 from it's value. You can test the modifier using the /modifier apply command.