|
## Description
|
|
## Description
|
|
Adds an amount to a [variable](/skills/variables) on the specified
|
|
Adds an amount to a [variable](/skills/variables) on the specified
|
|
scope. Only works with numeric variable types.
|
|
scope.
|
|
|
|
|
|
|
|
> This mechanic can
|
|
|
|
> - sum numeric values to Integer, Float and Double variables
|
|
|
|
> - add a value to Set variables
|
|
|
|
> - append a value to List variables
|
|
|
|
> - add a key-value pair to Map variables
|
|
|
|
>
|
|
|
|
> [More Info Here](/Skills/Variables#special-variable-types)
|
|
|
|
|
|
|
|
|
|
## Attributes
|
|
## Attributes
|
|
| Attribute | Aliases | Description | Default |
|
|
| Attribute | Aliases | Description | Default |
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
| amount | a, value, val, v | The amount to add | 0 |
|
|
| amount | a, value, val, v | The value to add | 0 |
|
|
> This mechanic inherits every *inheritable* attribute of the [SetVariable](skills/mechanics/setvariable) mechanic
|
|
> This mechanic inherits every *inheritable* attribute of the [SetVariable](skills/mechanics/setvariable) mechanic
|
|
|
|
|
|
|
|
|
... | @@ -25,4 +33,4 @@ scope. Only works with numeric variable types. |
... | @@ -25,4 +33,4 @@ scope. Only works with numeric variable types. |
|
|
|
|
|
|
|
|
|
<!--TAGS-->
|
|
<!--TAGS-->
|
|
<!--tag:Variable--> |
|
<!--tag:Variable--> |
|
|
|
\ No newline at end of file |