hit skill's damagecause is ENTITY_ATTACK,but dont' work in mob's damamage modifier

Summary

I set a gun by mmoitems,and it will shoot a project and then use a hit{m=1} skill when onhit.The gun's attack is 100 Mobs damage modifier set ENTITY_ATTACK 0.5

but when the gun shoot the mob,still damage 100 not 50.

Steps to reproduce

set a mob `Dummy: Type: PIG Display: '&6PIG' Health: 10000 DamageModifiers:

  • ENTITY_ATTACK 0.5 and set a skillTEST_SKILL: Skills:
  • hit{m=1} @EIR{r=10}`

then hold a diamond sword,use command /mm test cast skill TEST_SKILL,you will set it cause 7 damage(diamond sword's attack) use sword to attack pig,it only casue 3.5 damage

Mythicmobs version is 5.5.1

Assignee Loading
Time tracking Loading