Bug Open

ModifyDamage mechanic does not take "action" attribute into account

#6887 opened by Unknown 7 months ago

Unknownreported this bug

Summary

Describe the bug encountered in detail.

https://git.lumine.io/mythiccraft/MythicMobs/-/wikis/skills/mechanics/ModifyDamage

Steps to reproduce

MythicMobs-5.11.2-SNAPSHOT MythicCrucible-2.4.0-SNAPSHOT

Current behavior

The clip below will show the bug

https://www.youtube.com/watch?v=nhBp7Hn-PLQ

As you can see, no matter what action is chosen, the modified damage will be 10.5 (which equals to 7*(1+0.5))

Intended correct behavior

Describe what you think should happen instead of the bug.

With a normal diamond sword, you should deal 7 damage

If the diamond sword has the following skill:

- modifyDamage{a=0.5;modifier=ADDITIVE} ~onAttack or - modifyDamage{a=0.5;modifier=ADDITIVE_MULTIPLIER} ~onAttack

or - modifyDamage{a=0.5;modifier=COMPOUND_MULTIPLIER} ~onAttack

then it should work as this page stated:

https://git.lumine.io/mythiccraft/MythicMobs/-/wikis/Stats#modifiers

Sign in to join the discussion.