From 69a2e95cc1f1cfa46ea41fa8acafefbbedc69f02 Mon Sep 17 00:00:00 2001 From: Exanthiax <107284021+Exanthiax@users.noreply.github.com> Date: Wed, 8 May 2024 23:33:57 +0100 Subject: [PATCH 1/2] Updated How-To-Make-A-Skill Include `every` arg and example --- docs/ecoskills/how-to-make-a-skill.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/docs/ecoskills/how-to-make-a-skill.md b/docs/ecoskills/how-to-make-a-skill.md index fed5d9b28a..3b2c766bb7 100644 --- a/docs/ecoskills/how-to-make-a-skill.md +++ b/docs/ecoskills/how-to-make-a-skill.md @@ -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 From 021ec2d6225d4dbaf25a6b8ab59dfd0291804d02 Mon Sep 17 00:00:00 2001 From: Exanthiax <107284021+Exanthiax@users.noreply.github.com> Date: Sat, 11 May 2024 00:14:37 +0100 Subject: [PATCH 2/2] Update value_below.md --- docs/effects/all-filters/value_below.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/effects/all-filters/value_below.md b/docs/effects/all-filters/value_below.md index 882e10f362..5a15effa20 100644 --- a/docs/effects/all-filters/value_below.md +++ b/docs/effects/all-filters/value_below.md @@ -1,4 +1,4 @@ -# `value_above` +# `value_below` Require the trigger value to be less than a certain amount