From 12cb9379b2a229e56206ba9162af15c9d05e4367 Mon Sep 17 00:00:00 2001 From: Sedri05 Date: Tue, 30 Aug 2022 20:58:57 +0200 Subject: [PATCH 1/7] added curse_of_breaklessness.yml --- .../enchants/curse_of_breaklessness.yml | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 eco-core/core-plugin/src/main/resources/enchants/curse_of_breaklessness.yml diff --git a/eco-core/core-plugin/src/main/resources/enchants/curse_of_breaklessness.yml b/eco-core/core-plugin/src/main/resources/enchants/curse_of_breaklessness.yml new file mode 100644 index 00000000..a44a75ba --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/enchants/curse_of_breaklessness.yml @@ -0,0 +1,25 @@ +display-name: Curse of Breaklessness +description: Chance to prevent block breaking +placeholder: '%level%' +type: Curse + +targets: +- axe +- hoe +- pickaxe +- shovel +conflicts: [] +rarity: legendary +max-level: 1 + +tradeable: true +discoverable: true +enchantable: true + +effects: + - id: cancel_event + args: + chance: 15*%level% + triggers: + - mine_block +conditions: [] From 876be6a0b6caa074b12aa2fcb71fb27d3825ec01 Mon Sep 17 00:00:00 2001 From: Sedri05 Date: Tue, 30 Aug 2022 21:01:12 +0200 Subject: [PATCH 2/7] added curse_of_harmlessness.yml.yml --- .../enchants/curse_of_harmlessness.yml | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 eco-core/core-plugin/src/main/resources/enchants/curse_of_harmlessness.yml diff --git a/eco-core/core-plugin/src/main/resources/enchants/curse_of_harmlessness.yml b/eco-core/core-plugin/src/main/resources/enchants/curse_of_harmlessness.yml new file mode 100644 index 00000000..e0f7d6d7 --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/enchants/curse_of_harmlessness.yml @@ -0,0 +1,23 @@ +display-name: Curse of Harmlessness +description: Chance for attacks to do nothing +placeholder: '%level%' +type: Curse + +targets: +- sword +- axe +conflicts: [] +rarity: legendary +max-level: 1 + +tradeable: true +discoverable: true +enchantable: true + +effects: + - id: cancel_event + args: + chance: 15*%level% + triggers: + - melee_attack +conditions: [] From 056c7bf63060ffb2730d523ff67807c10838688d Mon Sep 17 00:00:00 2001 From: Sedri05 Date: Tue, 30 Aug 2022 21:02:54 +0200 Subject: [PATCH 3/7] added curse_of_hunger.yml.yml.yml --- .../resources/enchants/curse_of_hunger.yml | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 eco-core/core-plugin/src/main/resources/enchants/curse_of_hunger.yml diff --git a/eco-core/core-plugin/src/main/resources/enchants/curse_of_hunger.yml b/eco-core/core-plugin/src/main/resources/enchants/curse_of_hunger.yml new file mode 100644 index 00000000..13510530 --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/enchants/curse_of_hunger.yml @@ -0,0 +1,20 @@ +display-name: Curse of Hunger +description: Increases hunger loss +placeholder: '%level%' +type: Curse + +targets: +- helmet +conflicts: [] +rarity: common +max-level: 1 + +tradeable: true +discoverable: true +enchantable: true + +effects: + - id: hunger_multiplier + args: + multiplier: 1.5 * %level% +conditions: [] From f4ab06ab3858bb389e9b1c6822054cf0f42c35f1 Mon Sep 17 00:00:00 2001 From: Sedri05 Date: Tue, 30 Aug 2022 21:03:10 +0200 Subject: [PATCH 4/7] fixed curse_of_hunger.yml --- .../core-plugin/src/main/resources/enchants/curse_of_hunger.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eco-core/core-plugin/src/main/resources/enchants/curse_of_hunger.yml b/eco-core/core-plugin/src/main/resources/enchants/curse_of_hunger.yml index 13510530..37747715 100644 --- a/eco-core/core-plugin/src/main/resources/enchants/curse_of_hunger.yml +++ b/eco-core/core-plugin/src/main/resources/enchants/curse_of_hunger.yml @@ -6,7 +6,7 @@ type: Curse targets: - helmet conflicts: [] -rarity: common +rarity: legendary max-level: 1 tradeable: true From b853b06318275882776e8c316a92cdfb88ce7970 Mon Sep 17 00:00:00 2001 From: Sedri05 Date: Tue, 30 Aug 2022 21:09:07 +0200 Subject: [PATCH 5/7] added curse_of_misfortune.yml --- .../enchants/curse_of_misfortune.yml | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 eco-core/core-plugin/src/main/resources/enchants/curse_of_misfortune.yml diff --git a/eco-core/core-plugin/src/main/resources/enchants/curse_of_misfortune.yml b/eco-core/core-plugin/src/main/resources/enchants/curse_of_misfortune.yml new file mode 100644 index 00000000..6d5f59ec --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/enchants/curse_of_misfortune.yml @@ -0,0 +1,25 @@ +display-name: Curse of Misfortune +description: Chance of blocks to not drop items +placeholder: '%level%' +type: Curse + +targets: +- hoe +- shovel +- pickaxe +- axe +conflicts: [] +rarity: legendary +max-level: 1 + +tradeable: true +discoverable: true +enchantable: true + +effects: + - id: cancel_event + args: + chance: 15*%level% + triggers: + - block_item_drop +conditions: [] From 68f653311802f6ce30a270a84a25cc1a8bf715d3 Mon Sep 17 00:00:00 2001 From: Sedri05 Date: Tue, 30 Aug 2022 21:17:30 +0200 Subject: [PATCH 6/7] added defusion.yml --- .../src/main/resources/enchants/defusion.yml | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 eco-core/core-plugin/src/main/resources/enchants/defusion.yml diff --git a/eco-core/core-plugin/src/main/resources/enchants/defusion.yml b/eco-core/core-plugin/src/main/resources/enchants/defusion.yml new file mode 100644 index 00000000..8e4ee1f5 --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/enchants/defusion.yml @@ -0,0 +1,26 @@ +display-name: "Defusion" +description: "&8Deal &a%placeholder%% &8more damage against creepers" +placeholder: "%level% * 10" +type: Normal + +targets: + - swords + - axes +conflicts: [] +rarity: common +max-level: 5 + +tradeable: true +discoverable: true +enchantable: true + +effects: + - id: damage_multiplier + args: + multiplier: "1 + 0.1 * %level%" + triggers: + - melee_attack + filters: + entities: + - creeper +conditions: [] From 802d06f492ce42e4481937ff91819cfb5ef70f4e Mon Sep 17 00:00:00 2001 From: Sedri05 Date: Tue, 30 Aug 2022 21:31:57 +0200 Subject: [PATCH 7/7] fixed defusion.yml added dexterous.yml --- .../src/main/resources/enchants/defusion.yml | 13 ++++++++--- .../src/main/resources/enchants/dexterous.yml | 23 +++++++++++++++++++ 2 files changed, 33 insertions(+), 3 deletions(-) create mode 100644 eco-core/core-plugin/src/main/resources/enchants/dexterous.yml diff --git a/eco-core/core-plugin/src/main/resources/enchants/defusion.yml b/eco-core/core-plugin/src/main/resources/enchants/defusion.yml index 8e4ee1f5..f329ab29 100644 --- a/eco-core/core-plugin/src/main/resources/enchants/defusion.yml +++ b/eco-core/core-plugin/src/main/resources/enchants/defusion.yml @@ -4,9 +4,16 @@ placeholder: "%level% * 10" type: Normal targets: - - swords - - axes -conflicts: [] + - sword + - axe +conflicts: + - sharpness + - bane_of_arthropods + - smite + - butchering + - razor + - ender_slayer + - introversion rarity: common max-level: 5 diff --git a/eco-core/core-plugin/src/main/resources/enchants/dexterous.yml b/eco-core/core-plugin/src/main/resources/enchants/dexterous.yml new file mode 100644 index 00000000..1a26b4c8 --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/enchants/dexterous.yml @@ -0,0 +1,23 @@ +display-name: "Dexterous" +description: "&8Increases attack speed by &a%placeholder%%" +placeholder: '%level% * 10' +type: Normal + +targets: + - sword + - axe +conflicts: [] +rarity: epic +max-level: 2 + +tradeable: true +discoverable: true +enchantable: true + +effects: + - id: attack_speed_multiplier + args: + multiplier: "1 + 0.1 * %level%" + triggers: + - melee_attack +conditions: []