Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 143
    • Issues 143
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Issues
  • #1100

Closed
Open
Created Apr 17, 2023 by MooshroomStatus@MooshroomStatus

Shoot Mechanic Pickup Option Not Working

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
Edited Apr 17, 2023 by MooshroomStatus
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking