Something went wrong while setting issue due date.
Why isn't this working (urgent)?
Closed
Why isn't this working (urgent)?
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.
added Invalid / Not a Bug label
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,hnp=true} ~onSwing @targetlocation
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} @origin
Still broken :( Any ideas?
Edited by Spruce StudiosI tried those skills and they seem to be working fine for me.
Item file:
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,hnp=true} ~onSwing @targetlocation
Skill file:
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
These shoot a slow-moving purple particle projectile that does 8 damage, tested with the latest versions of both plugins on 1.19.2
Going to need more info about your server to help diagnose this. Is it running spigot or paper? What version? etc
Edited by Ashijin
Please register or sign in to reply