From af551760211c24282bbcce8b5b0e67525d3e73a9 Mon Sep 17 00:00:00 2001 From: Sedri05 Date: Tue, 30 Aug 2022 20:46:20 +0200 Subject: [PATCH] fixed cleave added confusion.yml --- .../src/main/resources/enchants/cleave.yml | 2 +- .../src/main/resources/enchants/confusion.yml | 22 +++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 eco-core/core-plugin/src/main/resources/enchants/confusion.yml diff --git a/eco-core/core-plugin/src/main/resources/enchants/cleave.yml b/eco-core/core-plugin/src/main/resources/enchants/cleave.yml index dbc4c3cd..df94ead6 100644 --- a/eco-core/core-plugin/src/main/resources/enchants/cleave.yml +++ b/eco-core/core-plugin/src/main/resources/enchants/cleave.yml @@ -7,7 +7,7 @@ targets: - axe conflicts: - carve -rarity: common +rarity: rare max-level: 8 tradeable: true diff --git a/eco-core/core-plugin/src/main/resources/enchants/confusion.yml b/eco-core/core-plugin/src/main/resources/enchants/confusion.yml new file mode 100644 index 00000000..48cfad4b --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/enchants/confusion.yml @@ -0,0 +1,22 @@ +display-name: Confusion +description: "%placeholder%% chance to shuffle your opponents hotbar" +placeholder: '2*%level%' +type: Special + +targets: +- sword +conflicts: [] +rarity: special +max-level: 4 + +tradeable: true +discoverable: true +enchantable: true + +effects: + - id: shuffle_hotbar + args: + chance: 2 * %level% + triggers: + - melee_attack +conditions: []