From c918f216bf2cbdcfd1af4fc0684c79da5b051c46 Mon Sep 17 00:00:00 2001 From: Sedri05 Date: Tue, 30 Aug 2022 14:51:09 +0200 Subject: [PATCH] fixed blast_mining.yml added blind.yml --- .../main/resources/enchants/blast_mining.yml | 4 +-- .../src/main/resources/enchants/blind.yml | 25 +++++++++++++++++++ 2 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 eco-core/core-plugin/src/main/resources/enchants/blind.yml diff --git a/eco-core/core-plugin/src/main/resources/enchants/blast_mining.yml b/eco-core/core-plugin/src/main/resources/enchants/blast_mining.yml index 6a546145..0a19a2dd 100644 --- a/eco-core/core-plugin/src/main/resources/enchants/blast_mining.yml +++ b/eco-core/core-plugin/src/main/resources/enchants/blast_mining.yml @@ -6,8 +6,8 @@ type: Normal targets: - pickaxe conflicts: [] -rarity: common -max-level: 1 +rarity: legendary +max-level: 3 tradeable: true discoverable: true diff --git a/eco-core/core-plugin/src/main/resources/enchants/blind.yml b/eco-core/core-plugin/src/main/resources/enchants/blind.yml new file mode 100644 index 00000000..be7b93ea --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/enchants/blind.yml @@ -0,0 +1,25 @@ +display-name: Blind +description: "%placeholder%% chance of blinding your opponent" +placeholder: '%level%' +type: Normal + +targets: +- bow +- crossbow +conflicts: [] +rarity: legendary +max-level: 6 + +tradeable: true +discoverable: true +enchantable: true + +effects: + - id: potion_effect + args: + chance: %level% + effect: blindness + level: 1 + duration: 20 * %level% + apply_to_player: false +conditions: []