Added tripleshot

This commit is contained in:
Auxilor 2022-09-05 15:14:51 +01:00
parent 5a764ce926
commit b16c3d6172
2 changed files with 37 additions and 16 deletions

View File

@ -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
repeat:
times: "2 * %arrows%"
start: "-11 * %arrows%"
increment: 22
inherit_velocity: true
mutators:
- id: spin_velocity
args:
angle: '%repeat_count%'

View File

@ -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: [ ]