Bug Closed · Resolved

Shoot Mechanic Pickup Option Not Working

#4003 opened by Unknown 3 years ago

Unknownreported this bug

I'm using the shoot mechanic, and it appears the skill is working, however, the pickup option is not. Arrows are still able to be picked up despite the default being false, and setting pickup=false. This is allowing for mass arrow duplication.

Item File

IronBow:
  Id: Bow
  Display: "Iron Bow"
  Skills:
  - skill{s=IronBowShot} @Self ~onBowShoot

Skill File

IronBowShot:
  Conditions:
  Skills:
  - cancelevent{sync=true} @Self
  - shoot{interval=1;v=1.20;damage=10;pickup=false;onTick=[
    - particles{p=flame;a=1} @origin
    ]} @TargetLocation
  - sound{s=item.trident.throw;p=1.25} @Self
Sign in to join the discussion.