From 2bba005b462da7b08349e7ec007bc1d622318ad1 Mon Sep 17 00:00:00 2001 From: Sedri05 Date: Tue, 30 Aug 2022 20:29:55 +0200 Subject: [PATCH] added carve.yml I wanted to pass the damage to damage_nearby_entities to apply a multiplier but i dont think thats possible --- .../src/main/resources/enchants/carve.yml | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 eco-core/core-plugin/src/main/resources/enchants/carve.yml 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..3bbc093f --- /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: +- axes +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: []