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 145
    • Issues 145
    • 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
  • #1898

Closed
Open
Created Apr 23, 2025 by Eyasu@Eyasu

Raytraceto mechanic not properly offsetting start location

Summary

Setting the forward offset, starting y offset, or fromorigin on raytraceto mechanics will not modify the starting location of the ray.

Steps to reproduce

  • Create a raytraceto skill modifying its starting location, like one of these: https://pastebin.com/qkqhBf3r

  • Restart the plugin, and run one of the skills using /mm test cast <skillname>

Current behavior

The offsets will not effect the starting point of the ray, and instead effect the ending point.

Intended correct behavior

The starting point of the ray should be offset instead of the ending point.

Server log file

https://dpaste.com/4Q9WHE2BT (pastebin marked my logs as offensive for some reason so I had to use a different site)

Debug log snippet

https://pastebin.com/TqpBwvuk

Proposed fixes

From what I can see, it seems like there's just some small mistake with the code that accidentally applies the start position modifications to the end position instead.

Edited Apr 23, 2025 by Eyasu
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking