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 132
    • Issues 132
    • 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
  • #1766

Closed
Open
Created Nov 10, 2024 by Dragon@DragonEye

The "piercelevel" attribute does not work in the "shoot" mechanic.

Greetings!

This has been a long-standing issue, but it seems that the piercelevel attribute does not work in the shoot mechanic.

Setting any number for piercelevel will not cause arrow-type projectiles to pierce entities.

This can be fixed by setting the {PierceLevel:3b} attribute to the arrow, where "3" is the pierce level.

Example mechanic for reproducing the issue:

- shoot{
      type=ARROW;velocity=0.5;piercelevel=3;
      damage=20;i=1;md=256;hr=0.5;vr=0.5;gravity=false} @TargetLocation

Expected behavior:

PierceLevel should allow the arrow to pierce X number of mobs, where X is the PierceLevel.

Thank you for your time!

Edited Nov 10, 2024 by Dragon
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking