Healing Linked Resource
Provides a variable who's value is given by the most recent amount of healing received.
Type ID: origins-math:healing_linked_resource
Warning
Healing values can be stored as a Float, but Resources have to be stored as an Integer. Therefore, you should be cautious when using this power as a resource, as the value will have it's decimal counterpart removed, effectively being truncated, when doing so.
If you are using this resource as a variable to either the Math Resource (Power Type) or the Variable Change Resource (Entity Action Type), then it's Float counterpart is used instead.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
duration |
Integer | The amount of ticks the healing amount is stored. | |
entity_action |
Entity Action Type | optional | If specified, the specified actions will be executed once the amount of healing received has been set. |
Examples
{
"type": "origins-math:healing_linked_resource",
"duration": 10
}
This example will record the most recent amount of healing received for 10 ticks.