Modify Resource

Description

Adds the specified amount to the target player's given reagent. The amount can be either positive or negative. If the new amount would be more/less than the player's maximum/minimum amount, the reagent's amount is clamped to be the maximum/minimum possible

Attributes

Attribute Aliases Description Default
resource reagent, res, r The reagent to modify Mana
stat If the change in value depends solely on the value of a certain stat, you must specify which stat it is here
amount a The amount of the change. Use only if stat was not used 1

Examples

  Skills:
  - modifyresource{resource=Mana;amount=10} @NearestPlayer{r=10}
  Skills:
  - modifyresource{resource=Mana;stat=MANA_REGENERATION} @self

Aliases

  • modifyreagent
  • mana
Updated Aug 19, 2026