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
Debug log snippet
Proposed fixes
Ensure fall damage correctly triggers DamageAmount condition.