Unknownreported this bug
Summary
Problem 1
OnAttack aura does not translate the implemented placeholders. Instead it will say it is UNDEFINED
<skill.var.damage-amount><skill.var.damage-type><skill.var.damage-cause>
Problem 2
Additionally, OnAttack multiplier does not work with target gets hit by your arrow.
Steps to reproduce
Problem 1
- Use
build 5519MythicMobs onpurpur 1.21.8 server - Import this skill
test:
Skills:
- onAttack{oH=[
- message{m="Test <skill.var.damage-amount> <skill.var.damage-type> <skill.var.damage-cause>"} @Self
];cE=false;auraname=ajwojrw;sync=true} @Self
- Use the command /mm test cast test
- Attack a mob
Problem 2
- Use
build 5519MythicMobs onpurpur 1.21.8 server - Import this skill
test2:
Skills:
- onAttack{oH=yayayayye;cE=false;auraname=ajwojrw;sync=true;d=40;multiplier=10;type=PROJECTILE} @Self
yayayayye:
Skills:
- message{m="Test <skill.var.damage-amount> <skill.var.damage-type> <skill.var.damage-cause>"} @Self
- Use the command /mm test cast test
- Shoot an arrow with a bow
Current behavior
- Currently it will just show for all the 3 placeholders
UNDEFINEDinstead of the damage output. - Bows don't get the multiplier damage, only works with melee
Intended correct behavior
Translating those placeholders correctly. Bows should work with damage multiplier of OnAttack.