| ... | ... | @@ -6,7 +6,8 @@ Adds the specified amount to the target player's given reagent. The amount can b |
|
|
|
| Attribute | Aliases | Description | Default |
|
|
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
|
|
| resource | reagent, res, r | The reagent to modify | Mana<!--type:Reagent-->|
|
|
|
|
| amount | a | The amount | 1 |
|
|
|
|
| stat | | If the change in value depends solely on the value of a certain stat, you *must* specify which stat it is here |<!--type:Stat-->|
|
|
|
|
| amount | a | The amount of the change. Use only if `stat` was not used | 1 |
|
|
|
|
|
|
|
|
|
|
|
|
## Examples
|
| ... | ... | @@ -14,6 +15,10 @@ Adds the specified amount to the target player's given reagent. The amount can b |
|
|
|
Skills:
|
|
|
|
- modifyresource{resource=Mana;amount=10} @NearestPlayer{r=10}
|
|
|
|
```
|
|
|
|
```yaml
|
|
|
|
Skills:
|
|
|
|
- modifyresource{resource=Mana;stat=MANA_REGENERATION} @self
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## Aliases
|
| ... | ... | |