Bug Open

OnAttack aura implemented placeholders not working

#6644 opened by Unknown 11 months ago

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

  1. Use build 5519 MythicMobs on purpur 1.21.8 server
  2. 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
  1. Use the command /mm test cast test
  2. Attack a mob

Problem 2

  1. Use build 5519 MythicMobs on purpur 1.21.8 server
  2. 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
  1. Use the command /mm test cast test
  2. Shoot an arrow with a bow

Current behavior

  • Currently it will just show for all the 3 placeholders UNDEFINED instead 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.

Sign in to join the discussion.