Why isn't this working (urgent)?

Bug Critical

This is my item. It's meant to shoot out a projectile of purple particles that damage what it hits, but it doesn't do anything! (Using the onSwing trigger)

MageBolt:

Id: BOOK

Display: '&bMage Bolt'

Skills:

  • sound{s=entity.wither.shoot;p=1.2} @self ~onSwing
  • projectile{onTick=Skill-Bolt-Tick;onHit=Skill-Bolt-Hit;v=7;i=1;hR=1;vR=1;mr=12} ~onSwing Skill-Bolt-Tick: Skills:
  • effect:particles{p=spell_witch;amount=1;speed=0.04;hR=0.1;vR=0.1} @origin Skill-Bolt-Hit: Skills:
  • damage{a=8}
  • effect:particles{p=spell_witch;amount=40;hSpread=1;ySpread=1;speed=0;yOFfset=0.3} @target

Sorry the text format is like that. Pretend the bullet points are a "-" symbol.

Edited Nov 19, 2022 by Spruce Studios
Assignee Loading
Time tracking Loading