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

Closed
Open
Created Jul 31, 2024 by SophieBaybey@SophieBaybey

DamageAmount Condition Causes Error On Fall Damage

Summary

When a mob has a skill with the damageamount condition and it takes fall damage, the skill does not proc, and the console receives an error. This was reproduced in MythicMobs 5.6.1 and 5.6.2. I am unable to test 5.7.0 snapshots, as my server is running 1.19.4 and the snapshot .jar is not supported.

Steps to reproduce

Take any mob with a "damageamount" condition with an ~onDamaged trigger, spawn them up in the sky, and check your console when they land. Here's a simple test file: falldamageerror.rar

The mob's name is "errorgenerator."

Current behavior

Describe what happens currently, while the bug is affecting your server.

Intended correct behavior

The condition should be checked normally.

Server log file

https://pastebin.com/Dq0ibNfR

Debug log snippet

https://pastebin.com/G7dvhmqt

Proposed fixes

Ensure fall damage correctly triggers DamageAmount condition.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking