From c8b043b740fa8fa6bb3a5de4e7b32590695bb338 Mon Sep 17 00:00:00 2001 From: Auxilor Date: Sat, 12 Mar 2022 12:09:12 +0000 Subject: [PATCH] Updated bow_of_thirds to use repeat placeholders --- .../core-plugin/src/main/resources/items.yml | 27 +++++++------------ 1 file changed, 10 insertions(+), 17 deletions(-) diff --git a/eco-core/core-plugin/src/main/resources/items.yml b/eco-core/core-plugin/src/main/resources/items.yml index eb4b5ac..555430c 100644 --- a/eco-core/core-plugin/src/main/resources/items.yml +++ b/eco-core/core-plugin/src/main/resources/items.yml @@ -408,25 +408,18 @@ items: baseDamage: 1 baseAttackSpeed: 4 effects: - - id: run_chain_inline + - id: shoot_arrow args: every: 3 - chain: - effects: - - id: shoot_arrow - args: - inherit_velocity: true - mutators: - - id: spin_velocity - args: - angle: 11 - - id: shoot_arrow - args: - inherit_velocity: true - mutators: - - id: spin_velocity - args: - angle: -11 + repeat: + times: 2 + start: -11 + increment: 22 + inherit_velocity: true + mutators: + - id: spin_velocity + args: + angle: '%repeat_count%' triggers: - shoot_bow conditions: [ ]