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

Closed
Open
Created May 09, 2024 by Lxlp@LxlpDeveloper

Suicide mechanic provides unexpected trigger for onDeath triggers

Summary

The suicide mechanic, once used, provides any onDeath trigger with unexpected entities

Steps to reproduce

tnt1:
 Type: husk
 Skills:
 - suicide ~onattack
 - cmd{c=say <trigger.name>} ~ondeath

Current behavior

The above configuration outputs in chat the name of the player that was attacked by the mob

Intended correct behavior

The trigger of the onDeath event is expected to be the mob that casted the suicide mechanic, and not the player that was hit

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking