Skip to content

Commit

Permalink
Merge pull request #56 from Exanthiax/general_maintainance
Browse files Browse the repository at this point in the history
General maintainance
  • Loading branch information
WillFP authored May 11, 2024
2 parents 973ebf6 + 021ec2d commit 083002d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
12 changes: 10 additions & 2 deletions docs/ecoskills/how-to-make-a-skill.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,14 +120,22 @@ rewards:
levels: 1
every: 1

# Effects to run when an item levels up
# %level% is the level the item leveled up to.
# Effects to run when the skill levels up
# %level% is the level the skill leveled up to.
# If you want to restrict this to certain levels, you can use
# require: %level% = 20, or require: %level% < 50, etc.
# If you want a reward to run every x levels, you can use
# every: 1, or every: 12, etc
level-up-effects:
- id: give_money
args:
amount: 1000 * %level%
- id: give_item
args:
items:
- diamond
every: 5 # Gives the reward every 5 levels
require: %level% = 5 # Requires level 5 before receiving rewards

# Custom placeholders to be used in descriptions,
# Don't add % to the IDs, this is done automatically
Expand Down
2 changes: 1 addition & 1 deletion docs/effects/all-filters/value_below.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# `value_above`
# `value_below`

Require the trigger value to be less than a certain amount

Expand Down

0 comments on commit 083002d

Please sign in to comment.