From 10f437825fa76c9423756f38fb7b21dc100a06a0 Mon Sep 17 00:00:00 2001 From: 0ft3n Date: Sun, 4 Sep 2022 17:25:00 +0300 Subject: [PATCH] Added 5 enchantments --- .../main/resources/enchants/wateraffinity.yml | 25 ++++++++++++ .../main/resources/enchants/wateraspect.yml | 40 +++++++++++++++++++ .../src/main/resources/enchants/wisdom.yml | 32 +++++++++++++++ .../src/main/resources/enchants/wound.yml | 30 ++++++++++++++ .../src/main/resources/enchants/zeus.yml | 25 ++++++++++++ 5 files changed, 152 insertions(+) create mode 100644 eco-core/core-plugin/src/main/resources/enchants/wateraffinity.yml create mode 100644 eco-core/core-plugin/src/main/resources/enchants/wateraspect.yml create mode 100644 eco-core/core-plugin/src/main/resources/enchants/wisdom.yml create mode 100644 eco-core/core-plugin/src/main/resources/enchants/wound.yml create mode 100644 eco-core/core-plugin/src/main/resources/enchants/zeus.yml diff --git a/eco-core/core-plugin/src/main/resources/enchants/wateraffinity.yml b/eco-core/core-plugin/src/main/resources/enchants/wateraffinity.yml new file mode 100644 index 00000000..c08550c6 --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/enchants/wateraffinity.yml @@ -0,0 +1,25 @@ +display-name: "Water Affinity" +description: "Increases damage dealt when in water by &a%placeholder%%&r." +placeholder: "(1.0 + (%level% * 0.02)) * 100.0" +type: normal + +targets: + - sword +conflicts: + - fire_aspect +rarity: epic +max-level: 7 + +tradeable: true +discoverable: true +enchantable: true + +effects: + - id: damage_multiplier + args: + multiplier: "1.0 + (%level% * 0.02)" + triggers: + - melee_attack + +conditions: + - id: "in_water" \ No newline at end of file diff --git a/eco-core/core-plugin/src/main/resources/enchants/wateraspect.yml b/eco-core/core-plugin/src/main/resources/enchants/wateraspect.yml new file mode 100644 index 00000000..ac9e7bdf --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/enchants/wateraspect.yml @@ -0,0 +1,40 @@ +display-name: "Water Aspect" +description: "Increases damage dealt against fiery mobs and endermen by &a%placeholder%%&r." +placeholder: "(1.0 + (%level% * 0.2)) * 100.0" +type: normal + +targets: + - sword + - axe +conflicts: + - fire_aspect +rarity: rare +max-level: 2 + +tradeable: true +discoverable: true +enchantable: true + +effects: + - id: damage_multiplier + args: + multiplier: "1.0 + (%level% * 0.2)" + triggers: + - melee_attack + filters: + entities: + - drowned + - squid + - guardian + - enderman + - axolotl + - cod + - dolphin + - elder_guardian + - glow_squid + - pufferfish + - salmon + - tropical_fish + - turtle + +conditions: [ ] \ No newline at end of file diff --git a/eco-core/core-plugin/src/main/resources/enchants/wisdom.yml b/eco-core/core-plugin/src/main/resources/enchants/wisdom.yml new file mode 100644 index 00000000..8f6da80b --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/enchants/wisdom.yml @@ -0,0 +1,32 @@ +display-name: "Wisdom" +description: "&8Increases dropped experience by &a%placeholder%%&r." +placeholder: "(1.0 + (%level% * 0.02)) * 100.0" +type: normal + +targets: + - sword + - axe + - pickaxe + - shovel + - hoe + - bow + - crossbow + - trident +conflicts: + - splash + - intellect +rarity: uncommon +max-level: 3 + +tradeable: true +discoverable: true +enchantable: true + +effects: + - id: xp_multiplier + args: + multiplier: "1.0 + (%level% * 0.02)" + triggers: + - gain_xp + +conditions: [ ] \ No newline at end of file diff --git a/eco-core/core-plugin/src/main/resources/enchants/wound.yml b/eco-core/core-plugin/src/main/resources/enchants/wound.yml new file mode 100644 index 00000000..f51fc3e1 --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/enchants/wound.yml @@ -0,0 +1,30 @@ +display-name: "Wound" +description: "&a%chance%%&r chance to cause your opponent to bleed, getting &a%damage% &rrepetitive damage for &a%duration%s&r." +placeholders: + chance: "%level% * 3" + duration: "(%level% * 5.0) / 20.0" + damage: "1" +type: normal + +targets: + - bow + - crossbow +conflicts: + - sharpness +rarity: legendary +max-level: 7 + +tradeable: true +discoverable: true +enchantable: true + +effects: + - id: bleed + args: + amount: "%level% * 5" + chance: "3 * %level%" + damage: 1 + triggers: + - bow_attack + +conditions: [ ] \ No newline at end of file diff --git a/eco-core/core-plugin/src/main/resources/enchants/zeus.yml b/eco-core/core-plugin/src/main/resources/enchants/zeus.yml new file mode 100644 index 00000000..c2a57f03 --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/enchants/zeus.yml @@ -0,0 +1,25 @@ +display-name: "Zeus" +description: "&a%placeholder%%&8 chance to strike lightning on your opponent" +placeholder: "%level% * 1" +type: normal + +targets: + - bow + - crossbow +conflicts: [] +rarity: epic +max-level: 6 + +tradeable: true +discoverable: true +enchantable: true + +effects: + - id: strike_lightning + args: + amount: 1 + chance: "1 * %level%" + triggers: + - bow_attack + +conditions: [ ] \ No newline at end of file