From 984ab284eb521cb290f60cfa1e62bb6ef0326cd3 Mon Sep 17 00:00:00 2001 From: Sedri05 Date: Tue, 30 Aug 2022 14:56:05 +0200 Subject: [PATCH] added block_breather.yml --- .../resources/enchants/block_breather.yml | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 eco-core/core-plugin/src/main/resources/enchants/block_breather.yml 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: []