Artifact won't use skill
Trying to make a boss drop that when swung (left click) will shoot a slime particle beam with the cross hair for a distance of 15 blocks. But it just wont work
ElvenBlowdart: Id: bamboo Display: 'ElvenBlowdart' Attributes: MainHand: damage: 2 Amount: 1 Options: Enchantments: - DURABILITY:5 Lore: 'Weapon of a true dark elf assassin' skills: - skill{s=PoisonBeam} @crosshairlocation{length=15} ~onSwing PoisonBeam: - effect:particleline{particle=slime;amount=75;fromOrigin=true} @crosshairlocation{length=15} - potion{type=POISON;duration=200;level=4} @crosshairlocation{length=15}my end goal is to have it cause a lingering potion of poison at the point of impact (either 15 blocks from use, or if the particle beam hits a block)