|
|
|
Mechanic: IncrementAchievement
|
|
|
|
===============
|
|
|
|
|
|
|
|
Increment criteria of achievement by a specified amount. Useful if the criteria is a manual one.
|
|
|
|
|
|
|
|
Attributes
|
|
|
|
----------
|
|
|
|
|
|
|
|
| Attribute | Aliases | Description | Default |
|
|
|
|
|-----------|---------|-------------------------------------------|---------|
|
|
|
|
| achievement | achieve, a | The achievement to increment. | |
|
|
|
|
| criteria | crit, c | The criteria to increase. | |
|
|
|
|
| amount | | The amount it should increase by. | 1 |
|
|
|
|
|
|
|
|
Examples
|
|
|
|
----
|
|
|
|
Let's say we have this criterion for our achievement `KILL_SKELETAL`
|
|
|
|
```yml
|
|
|
|
Criteria:
|
|
|
|
KILL:
|
|
|
|
Type: KILL_MYTHIC_MOB
|
|
|
|
MobType: SkeletalKnight
|
|
|
|
Amount: 10
|
|
|
|
Conditions: []
|
|
|
|
```
|
|
|
|
|
|
|
|
And then we want to increment by one through a skill
|
|
|
|
```yml
|
|
|
|
Skills:
|
|
|
|
- incrementAchievement{a=KILL_SKELETAL;c=KILL;amount=2}
|
|
|
|
``` |
|
|
|
\ No newline at end of file |