Distance condition breaking skill
My skill works fine until I add any kind of condition or target that relates to distance. Here's my skill GrabThrow: Conditions:
- distance{d=<3} Skills:
- throw{velocity=5;velocityY=20} @target
- damage{a="<mmoitems.skill.GrabThrow.damage>";pkb=false} @target I'm triggering the skill through mmoitems. Like I said, works just fine until I add distance into the conditions. Other conditions work for me just fine (tested with night/day condition). Tested it on MC version 1.17.1 and 1.18.1 with MythicMobs 5.0 snapshot and MythicMobs v4.14.1 and the issue is always the same. I've checked the code against the code on the wiki and the syntax looks to be identical... Example:
TargetConditions:
- distance{d=<2}
Also, adding a condition to a mythicmobs skill seems to just break the skill entirely for a mob... This doesn't work...
- WeakenDay:
- Conditions:
-
- day true
- Skills:
-
- setspeed{speed=0.9} ~onCombat
- but this does...
- WeakenDay:
- Skills:
-
- setspeed{speed=0.9} ~onCombat