onDamaged trigger will still trigger if onSwing or onAttack triggers are cancelled
Using
canceldmg:
Type: PIG
Skills:
- message{m="damage received"} @trigger ~onDamaged
cancelhit:
Id: STICK
Skills:
- skill{s=[
- cancelevent{}
- message{m="hit is cancelled"} @self
];sync=true} ~onAttack
Both messages will trigger. the hit is cancelled
message is intended, but damage received
shouldnt trigger as it isnt actually receiving damage. This is annoying to deal with, as players are able to trigger mob skills even though its not actually dealing damage.