Bug Verified

onDamage onhit attribute

#1844 opened by Unknown 5 years ago

Unknownreported this bug
testing:
  Skills:
  - onDamaged{d=200;oS=testing-start;oH=testing-hit} @Self
testing-hit:
   Skills:
  - damage{a=10}
testing-start:
  Skills:
  - msg{m=startskill} @Self

testing2:
  Skills:
  - onDamaged{d=200;oS=testing-start;oH=testing2-hit} @Self
testing2-hit:
   Skills:
  - damage{a=10} @trigger

In this case, the damage skill will damage the caster but not the attacker. I tried @target/@trigger but also not working. I'm using the newest dev version Build 3596 and paper 1.16.4

Unknowncommented

Verified this issue using the following on a crucible item: https://pastebin.com/rg9xgXKK

It makes sense that @trigger in the testing-hit would hit the entity that triggered the onDamaged's onHit skill, but it doesn't target anything.

Ticket spawned from mythicmobspremium-0604, using latest dev-build 3596.

Sign in to join the discussion.