Changes
Page history
Create Skills/Mechanics/IncrementAchievement
authored
Feb 12, 2023
by
Vierdant
Hide whitespace changes
Inline
Side-by-side
Skills/Mechanics/IncrementAchievement.md
0 → 100644
View page @
49614b2d
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