Damage mechanic bypasses OnDamaged aura conditions (damageCause/damageTag not respected)
damageCause and damageTag Conditions in OnDamaged Auras don't work with damage mechanic (though they seem to work fine on mobs with ~OnDamaged Trigger).
For example, when I use /mm t cast withercloak
followed by /mm t cast WitherDamage
, the damage isn't canceled and the run the onHit.
However, if I use /minecraft:damage @p 100 minecraft:wither
, the WitherCloak aura cancels the damage properly.
So I think MythicMobs’ Damage mechanic might be bugged
WitherDamageCommand:
Skills:
- command{c="minecraft:damage <target.name> 100 minecraft:wither"} @Self
WitherDamage:
Skills:
- damage{a="100";dc=WITHER} @Self
Withercloak:
Skills:
- onDamaged{auraName=Withercloak;d=100;cE=true;oH=Withercloak-blocked} @Self
Withercloak-blocked:
Conditions:
- damagecause{cause=WITHER} true
Skills:
- message{m="wither damage canceled"} @Self
Ps. I'm pretty sure I used them correctly, since the aura work with minecraft:damage command. I tried TriggerConditions too, it also doesn't care about mythicmobs damage's cause.