diff --git a/eco-core/core-plugin/src/main/resources/chains.yml b/eco-core/core-plugin/src/main/resources/chains.yml index e882918d..05c75c4b 100644 --- a/eco-core/core-plugin/src/main/resources/chains.yml +++ b/eco-core/core-plugin/src/main/resources/chains.yml @@ -1,21 +1,16 @@ # Read more about chains: https://plugins.auxilor.io/effects/configuring-an-effect#effect-chains chains: - - id: example_chain + - id: shoot_extra_arrows effects: - - id: teleport - - id: potion_effect + - id: shoot_arrow args: - effect: blindness - level: 3 - duration: 30 - apply_to_player: true - - id: send_message - args: - message: "&fYou have been teleported!" - action_bar: true - - id: play_sound - args: - sound: entity_dragon_fireball_explode - pitch: 1.5 - volume: 4 \ No newline at end of file + repeat: + times: "2 * %arrows%" + start: "-11 * %arrows%" + increment: 22 + inherit_velocity: true + mutators: + - id: spin_velocity + args: + angle: '%repeat_count%' diff --git a/eco-core/core-plugin/src/main/resources/enchants/tripleshot.yml b/eco-core/core-plugin/src/main/resources/enchants/tripleshot.yml new file mode 100644 index 00000000..5595c0e3 --- /dev/null +++ b/eco-core/core-plugin/src/main/resources/enchants/tripleshot.yml @@ -0,0 +1,26 @@ +display-name: "Tripleshot" +description: "Shoot 3 arrows instead of 1" +type: normal + +targets: + - bow +conflicts: [ ] +rarity: legendary +max-level: 1 + +tradeable: true +discoverable: true +enchantable: true + +effects: + - id: run_chain + args: + chain: shoot_extra_arrows + chain-args: + arrows: 1 + triggers: + - shoot_bow + filters: + onlyBosses: true + +conditions: [ ]