diff --git a/eco-core/core-plugin/src/main/resources/enchants/abattoir.yml b/eco-core/core-plugin/src/main/resources/enchants/abattoir.yml new file mode 100644 index 00000000..45358fdb --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/enchants/abattoir.yml @@ -0,0 +1,41 @@ +display-name: Abattoir +description: Tridents deal %placeholder%% more damage against passive mobs +placeholder: '30 * %level%)' +type: normal + +targets: +- trident +conflicts: + - serrated + - bladed + - phantasm + - pacify + - arachnid + - impaling +rarity: common +max-level: 5 + +tradeable: true +discoverable: true +enchantable: true + +effects: + - id: damage_multiplier + args: + multiplier: 1 + 0.3 * %level% + triggers: + - trident_attack + filters: + entities: + - cow + - sheep + - pig + - horse + - parrot + - cat + - ocelots + - fox + - villager + - axolotl + - chicken +conditions: [] diff --git a/eco-core/core-plugin/src/main/resources/enchants/abrasion.yml b/eco-core/core-plugin/src/main/resources/enchants/abrasion.yml new file mode 100644 index 00000000..0a0ea91e --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/enchants/abrasion.yml @@ -0,0 +1,24 @@ +display-name: Abrasion +description: Damages your opponents armor by %placeholder%. +placeholder: '%level%' +type: Normal + +targets: +- sword +- axe + +conflicts: [] +rarity: legendary +max-level: 2 + +tradeable: true +discoverable: true +enchantable: true + +effects: + - id: damage_armor + args: + damage: "%level%" + triggers: + - melee_attack +conditions: [] diff --git a/eco-core/core-plugin/src/main/resources/enchants/aerial.yml b/eco-core/core-plugin/src/main/resources/enchants/aerial.yml new file mode 100644 index 00000000..93d7f9db --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/enchants/aerial.yml @@ -0,0 +1,24 @@ +display-name: Aerial +description: Deal %placeholder%% more arrow damage when you are in air +placeholder: '10*%level%' +type: normal + +targets: +- bow +- crossbow +conflicts: [] +rarity: epic +max-level: 3 + +tradeable: true +discoverable: true +enchantable: true + +effects: + - id: damage_multiplier + args: + multiplier: 1 + 0.1 * %level% + triggers: + - bow_attack +conditions: + - id: in_air diff --git a/eco-core/core-plugin/src/main/resources/enchants/aquatic.yml b/eco-core/core-plugin/src/main/resources/enchants/aquatic.yml new file mode 100644 index 00000000..521a069c --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/enchants/aquatic.yml @@ -0,0 +1,23 @@ +display-name: Aquatic +description: Trident deals %placeholder%% additional damage when shot from water +placeholder: '5*%level%' +type: Normal + +targets: +- trident +conflicts: [] +rarity: rare +max-level: 8 + +tradeable: true +discoverable: true +enchantable: true + +effects: + - id: damage_multiplier + args: + multiplier: 1 + 0.05 * %level% + triggers: + - trident_attack +conditions: + - id: in_water diff --git a/eco-core/core-plugin/src/main/resources/enchants/arachnid.yml b/eco-core/core-plugin/src/main/resources/enchants/arachnid.yml new file mode 100644 index 00000000..b5701de1 --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/enchants/arachnid.yml @@ -0,0 +1,32 @@ +display-name: Arachnid +description: Increases damage against spiders +placeholder: '30*%level%' +type: Normal + +targets: +- trident +conflicts: + - serrated + - bladed + - phantasm + - pacify + - abattoir + - impaling +rarity: common +max-level: 5 + +tradeable: true +discoverable: true +enchantable: true + +effects: + - id: damage_multiplier + args: + multiplier: 1 + 0.3 * %level% + triggers: + - trident_attack + filters: + entities: + - spider + - cave_spider +conditions: [] diff --git a/eco-core/core-plugin/src/main/resources/enchants/arcanic.yml b/eco-core/core-plugin/src/main/resources/enchants/arcanic.yml new file mode 100644 index 00000000..99ba2b5d --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/enchants/arcanic.yml @@ -0,0 +1,26 @@ +display-name: Arcanic +description: "%placeholder%% chance to ignore potion damage" +placeholder: '%level% * 8' +type: Normal + +targets: +- armor +conflicts: [] +rarity: epic +max-level: 6 + +tradeable: true +discoverable: true +enchantable: true + +effects: + - id: cancel_event + args: + chance: "%level% * 8" + triggers: + - take_damage + filters: + damageCause: + - poison + - magic +conditions: [] diff --git a/eco-core/core-plugin/src/main/resources/enchants/atmospheric.yml b/eco-core/core-plugin/src/main/resources/enchants/atmospheric.yml new file mode 100644 index 00000000..4f4e6f48 --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/enchants/atmospheric.yml @@ -0,0 +1,23 @@ +display-name: Atmospheric +description: Deal %placeholder%% more trident damage when you are in air +placeholder: '10*%level%' +type: normal + +targets: +- trident +conflicts: [] +rarity: epic +max-level: 3 + +tradeable: true +discoverable: true +enchantable: true + +effects: + - id: damage_multiplier + args: + multiplier: 1 + 0.1 * %level% + triggers: + - bow_attack +conditions: + - id: in_air diff --git a/eco-core/core-plugin/src/main/resources/enchants/bladed.yml b/eco-core/core-plugin/src/main/resources/enchants/bladed.yml new file mode 100644 index 00000000..7528e860 --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/enchants/bladed.yml @@ -0,0 +1,22 @@ +display-name: Bladed +description: Trident deals %placeholder%% additional damage +placeholder: '0.5*%level%' +type: Special + +targets: +- trident +conflicts: [] +rarity: veryspecial +max-level: 5 + +tradeable: true +discoverable: true +enchantable: true + +effects: + - id: damage_multiplier + args: + multiplier: 1 + 0.5 * %level% + triggers: + - trident_attack +conditions: [] 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 new file mode 100644 index 00000000..b263006f --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/enchants/blast_mining.yml @@ -0,0 +1,29 @@ +display-name: Blast Mining +description: "%placeholder%% chance to mine blocks in a 3x3 area" +placeholder: '20 * %level%' +type: Normal + +targets: +- pickaxe +conflicts: + - drill + - vein +rarity: legendary +max-level: 3 + +tradeable: true +discoverable: true +enchantable: true + +effects: + - id: mine_radius + args: + chance: 20 * %level% + radius: 1 + blacklisted_blocks: [] + check_hardness: true + disable_on_sneak: true + whitelist: [ ] + triggers: + - mine_block +conditions: [] diff --git a/eco-core/core-plugin/src/main/resources/enchants/bleed.yml b/eco-core/core-plugin/src/main/resources/enchants/bleed.yml new file mode 100644 index 00000000..0fe638f5 --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/enchants/bleed.yml @@ -0,0 +1,23 @@ +display-name: Bleed +description: Causes your opponent to bleed, damaging them repeatedly +placeholder: '1.5 * %level%' +type: normal + +targets: +- sword +conflicts: [] +rarity: legendary +max-level: 7 + +tradeable: true +discoverable: true +enchantable: true + +effects: + - id: bleed + args: + chance: 1.5 * %level% + damage: 1 + interval: 15 + amount: 2 * %level% +conditions: [] 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: [] diff --git a/eco-core/core-plugin/src/main/resources/enchants/block_breather.yml b/eco-core/core-plugin/src/main/resources/enchants/block_breather.yml new file mode 100644 index 00000000..80ab74d6 --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/enchants/block_breather.yml @@ -0,0 +1,25 @@ +display-name: Block Breather +description: "%placeholder%% chance to ignore suffocation damage" +placeholder: '%level%*15' +type: Normal + +targets: +- helmet +conflicts: [] +rarity: common +max-level: 3 + +tradeable: true +discoverable: true +enchantable: true + +effects: + - id: cancel_event + args: + chance: "%level% * 15" + triggers: + - take_damage + filters: + damageCause: + - SUFFOCATION +conditions: [] diff --git a/eco-core/core-plugin/src/main/resources/enchants/boss_hunter.yml b/eco-core/core-plugin/src/main/resources/enchants/boss_hunter.yml new file mode 100644 index 00000000..6bea7e32 --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/enchants/boss_hunter.yml @@ -0,0 +1,25 @@ +display-name: Boss Hunter +description: Deal %placeholder%% more damage against bosses +placeholder: '10 * %level%' +type: Normal + +targets: +- bow +- crossbow +conflicts: [] +rarity: rare +max-level: 8 + +tradeable: true +discoverable: true +enchantable: true + +effects: + - id: damage_multiplier + args: + multiplier: 1 + 0.1 * %level% + triggers: + - bow_attack + filters: + onlyBosses: true +conditions: [] diff --git a/eco-core/core-plugin/src/main/resources/enchants/butchering.yml b/eco-core/core-plugin/src/main/resources/enchants/butchering.yml new file mode 100644 index 00000000..52e0127a --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/enchants/butchering.yml @@ -0,0 +1,42 @@ +display-name: Butchering +description: Deal %placeholder%% more damage against passive mobs +placeholder: '25*%level%' +type: Normal + +targets: +- sword +- axe +conflicts: + - sharpness + - bane_of_arthropods + - smite + - defusion + - razor + - ender_slayer +rarity: common +max-level: 5 + +tradeable: true +discoverable: true +enchantable: true + +effects: + - id: damage_multiplier + args: + multiplier: 1 + 0.25 * %level% + triggers: + - melee_attack + filters: + entities: + - cow + - sheep + - pig + - horse + - parrot + - cat + - ocelots + - fox + - villager + - axolotl + - chicken +conditions: [] diff --git a/eco-core/core-plugin/src/main/resources/enchants/carve.yml b/eco-core/core-plugin/src/main/resources/enchants/carve.yml new file mode 100644 index 00000000..963b1f4f --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/enchants/carve.yml @@ -0,0 +1,28 @@ +display-name: Carve +description: "%placeholder%% chance to heavily damage all entities around attacked entity" +placeholder: '10*%level%' +type: special + +targets: +- axe +conflicts: + - cleave +rarity: special +max-level: 8 + +tradeable: true +discoverable: true +enchantable: true + +effects: + - id: damage_nearby_entities + args: + chance: "10*%level%" + damage: 2 + radius: "0.5*%level%" + entities: [] + damage_as_player: true + damage_self: false + triggers: + - melee_attack +conditions: [] diff --git a/eco-core/core-plugin/src/main/resources/enchants/cleave.yml b/eco-core/core-plugin/src/main/resources/enchants/cleave.yml new file mode 100644 index 00000000..df94ead6 --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/enchants/cleave.yml @@ -0,0 +1,28 @@ +display-name: Cleave +description: "%placeholder%% chance to damage all entities around attacked entity" +placeholder: '5*%level%' +type: Normal + +targets: +- axe +conflicts: + - carve +rarity: rare +max-level: 8 + +tradeable: true +discoverable: true +enchantable: true + +effects: + - id: damage_nearby_entities + args: + chance: "5*%level%" + damage: 2 + radius: "0.25*%level%" + entities: [ ] + damage_as_player: true + damage_self: false + triggers: + - melee_attack +conditions: [] 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: [] diff --git a/eco-core/core-plugin/src/main/resources/enchants/corrosive.yml b/eco-core/core-plugin/src/main/resources/enchants/corrosive.yml new file mode 100644 index 00000000..2e115c59 --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/enchants/corrosive.yml @@ -0,0 +1,23 @@ +display-name: Corrosive +description: Damages your opponents armor +placeholder: '%level%' +type: Normal + +targets: +- bow +- crossbow +conflicts: [] +rarity: legendary +max-level: 2 + +tradeable: true +discoverable: true +enchantable: true + +effects: + - id: damage_armor + args: + damage: "%level%" + triggers: + - melee_attack +conditions: [] diff --git a/eco-core/core-plugin/src/main/resources/enchants/criticals.yml b/eco-core/core-plugin/src/main/resources/enchants/criticals.yml new file mode 100644 index 00000000..1b22ef57 --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/enchants/criticals.yml @@ -0,0 +1,23 @@ +display-name: Criticals +description: Increases critical damage by %placeholder% +placeholder: '10*%level%' +type: Normal + +targets: +- sword +- axe +conflicts: [] +rarity: epic +max-level: 3 + +tradeable: true +discoverable: true +enchantable: true + +effects: + - id: crit_multiplier + args: + multiplier: 1 + 0.1*%level% + triggers: + - melee_attack +conditions: [] diff --git a/eco-core/core-plugin/src/main/resources/enchants/cubism.yml b/eco-core/core-plugin/src/main/resources/enchants/cubism.yml new file mode 100644 index 00000000..0795658d --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/enchants/cubism.yml @@ -0,0 +1,27 @@ +display-name: Cubism +description: Deal %placeholder%% more against slimes and magma cubes +placeholder: '5*%level%' +type: Normal + +targets: +- sword +- axe +conflicts: [] +rarity: rare +max-level: 7 + +tradeable: true +discoverable: true +enchantable: true + +effects: + - id: damage_multiplier + args: + multiplier: 1 + 0.05 * %level% + triggers: + - melee_attack + filters: + entities: + - slime + - magma_cube +conditions: [] diff --git a/eco-core/core-plugin/src/main/resources/targets.yml b/eco-core/core-plugin/src/main/resources/targets.yml index 3e5bf4bf..04455044 100644 --- a/eco-core/core-plugin/src/main/resources/targets.yml +++ b/eco-core/core-plugin/src/main/resources/targets.yml @@ -116,6 +116,36 @@ targets: - "*diamond_boots" - "*netherite_boots" + - id: armor + display-name: "Armor" + slot: armor + items: + - "*leather_boots" + - "*chainmail_boots" + - "*iron_boots" + - "*golden_boots" + - "*diamond_boots" + - "*netherite_boots" + - "*leather_leggings" + - "*chainmail_leggings" + - "*iron_leggings" + - "*golden_leggings" + - "*diamond_leggings" + - "*netherite_leggings" + - "*turtle_helmet" + - "*leather_helmet" + - "*chainmail_helmet" + - "*iron_helmet" + - "*golden_helmet" + - "*diamond_helmet" + - "*netherite_helmet" + - "*leather_chestplate" + - "*chainmail_chestplate" + - "*iron_chestplate" + - "*golden_chestplate" + - "*diamond_chestplate" + - "*netherite_chestplate" + - id: trident display-name: "Tridents" slot: hands