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 147
    • Issues 147
    • 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
  • #1124

Closed
Open
Created May 07, 2023 by ffjdksl@ffjdksl

Damage mechanic always using unknown damage type in 1.19.4 (Dev build 4479)

Summary

Damage mechanic always uses the unknown damage type, causing placeholders like <trigger.name> to break

Steps to reproduce

I tested the bug in multiple ways, the damage mechanic never uses damagetype no matter if it's a player or a mob casting it so it's not an issue with mythicartifacts, but it's the easiest way to reproduce/test the bug:

1- Make a mythicartifact item with damage mechanic with damagetype=sonic_boom @Target ~onUse 2- Make a mythicmobs with damage modifier of sonic_boom to 0 3- You can add a message mechanic that displays <trigger.name> @EntititiesInRadius{r=32} ~onDamaged to the zombie too 4- Use the mythicartifact skill on the mob, the message should display "Unknown" and the mob should die, even though it's supposed to have full resistance against sonic_boom

Current behavior

damagetype option doesn't work

Intended correct behavior

damagetype option works

Extra mob/item files: https://pastebin.com/xsNHgQAN

Log: https://pastebin.com/f0j1xXYr

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking