From c5b51e8c70f5e683c0bb5ef64d4c71a067809752 Mon Sep 17 00:00:00 2001 From: Auxilor Date: Mon, 26 Sep 2022 16:47:58 +0100 Subject: [PATCH] Added aura --- .../src/main/resources/enchants/aura.yml | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 eco-core/core-plugin/src/main/resources/enchants/aura.yml diff --git a/eco-core/core-plugin/src/main/resources/enchants/aura.yml b/eco-core/core-plugin/src/main/resources/enchants/aura.yml new file mode 100644 index 00000000..13af1507 --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/enchants/aura.yml @@ -0,0 +1,30 @@ +display-name: "Aura" +description: "Players within &a%blocks%%&r blocks of you take &a%reduction%%&r less damage" +placeholders: + reduction: "%level% * 10" + radius: "2 + %level% * 2" +type: special + +targets: + - chestplate + - leggings +conflicts: [ ] +rarity: special +max-level: 2 + +tradeable: true +discoverable: true +enchantable: true + +effects: + - id: add_permanent_holder_in_radius + args: + radius: "2 + %level% * 2" + effects: + - id: damage_multiplier + args: + multiplier: "1 - %level% * 0.1" + triggers: + - take_damage + +conditions: [ ]