From 98af8c891df01c880dc9d13ce4020132ddf7e112 Mon Sep 17 00:00:00 2001 From: Auxilor Date: Mon, 5 Sep 2022 16:53:29 +0100 Subject: [PATCH] Added rocket saver --- .../resources/enchants/arcane_defence.yml | 2 +- .../main/resources/enchants/rocket_saver.yml | 21 +++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 eco-core/core-plugin/src/main/resources/enchants/rocket_saver.yml diff --git a/eco-core/core-plugin/src/main/resources/enchants/arcane_defence.yml b/eco-core/core-plugin/src/main/resources/enchants/arcane_defence.yml index dc4fc312..0c7c0a4d 100644 --- a/eco-core/core-plugin/src/main/resources/enchants/arcane_defence.yml +++ b/eco-core/core-plugin/src/main/resources/enchants/arcane_defence.yml @@ -1,5 +1,5 @@ display-name: "Arcane Defence" -description: "&a%placeholder%% &rchance to ignore potion damage" +description: "Gives a &a%placeholder%%&r chance to ignore potion damage" placeholder: "%level% * 4" type: normal diff --git a/eco-core/core-plugin/src/main/resources/enchants/rocket_saver.yml b/eco-core/core-plugin/src/main/resources/enchants/rocket_saver.yml new file mode 100644 index 00000000..5961c448 --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/enchants/rocket_saver.yml @@ -0,0 +1,21 @@ +display-name: "Rocket Saver" +description: "Gives a &a%placeholder%%&r chance to not consume fireworks when boosting" +placeholder: "%level% * 20" +type: elytra + +targets: + - armor +conflicts: [ ] +rarity: rare +max-level: 3 + +tradeable: true +discoverable: true +enchantable: true + +effects: + - id: elytra_boost_save_chance + args: + chance: "%level% * 0.2" + +conditions: [ ]