Change Resource - apace100/origins-fabric GitHub Wiki

Entity Action. Changes the value of a Resource (Power Type).

Type ID: origins:change_resource

Fields:

resource, string: ID of the power type that defines the resource. Must be a Resource (Power Type) which exists on the player.

change, int: This value will be added to the resource (won't go below min or above max of the Resource (Power Type)).