From 7c3e8595ecd1efb13367ff5e9a30cfa90e644d15 Mon Sep 17 00:00:00 2001 From: Auxilor Date: Tue, 27 Sep 2022 18:04:18 +0100 Subject: [PATCH] Added stun --- .../src/main/resources/enchants/stun.yml | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 eco-core/core-plugin/src/main/resources/enchants/stun.yml diff --git a/eco-core/core-plugin/src/main/resources/enchants/stun.yml b/eco-core/core-plugin/src/main/resources/enchants/stun.yml new file mode 100644 index 00000000..7a8f81a5 --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/enchants/stun.yml @@ -0,0 +1,28 @@ +display-name: "Stun" +description: "Gives a &a%placeholder%%&r chance to stun attacked mobs for &a1&r second" +placeholder: "2.5 + 2.5 * %level%" +type: normal + +targets: + - sword + - bow + - trident + - crossbow +conflicts: [ ] +rarity: rare +max-level: 3 + +tradeable: true +discoverable: true +enchantable: true + +effects: + - id: strip_ai + args: + duration: 40 + triggers: + - melee_attack + - bow_attack + - trident_attack + +conditions: [ ]