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
  • #580

Closed
Open
Created Oct 08, 2021 by Azorias@Azorias

HitTargetOnly does not work

Summary

The HitTargetOnly=true option for missiles does not work.

Steps to reproduce

Use any missile skill with HitTargetOnly=true enabled. It will be able to hit anything, rather than only the target.

missile{bulletType=ITEM;material=pink_concrete;onTick=kitsunespiritorbTick;onHit=kitsunespiritorbCheckTarget;onEnd=kitsunespiritorbEnd;v=5;i=1;hR=1;vR=1;g=0;mr=8;sE=false;HitTargetOnly=true;in=100} @target

Current behavior

HitTargetOnly=true does not cause the missile to only hit the target.

Intended correct behavior

HitTargetOnly=true should cause missiles to only hit the target, passing through other entities. Additionally, HitTargetOnly=true should probably be an option for regular projectile skills as well, rather than just missiles.

Server log file

https://pastebin.pl/view/8cff1381

Debug log snippet

Example provided on discord

Proposed fixes

Make hittargetonly function as intended.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking