|
|
|
Mechanic: VariableSubtract
|
|
|
|
==========================
|
|
|
|
|
|
|
|
Subtracts an amount to a [variable](/skills/variables) on the specified
|
|
|
|
scope. Only works with numeric variable types.
|
|
|
|
|
|
|
|
Attributes
|
|
|
|
----------
|
|
|
|
|
|
|
|
| Attribute | Aliases | Description | Default Value |
|
|
|
|
|-----------|---------|------------------------------------|---------------|
|
|
|
|
| var | v | The scope and name of the varibale | |
|
|
|
|
| amount | a | | 1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Examples
|
|
|
|
--------
|
|
|
|
|
|
|
|
Skills:
|
|
|
|
- variablesubtract{var=skill.testVar;amount=1} ~onInteract
|
|
|
|
- ... |