Bug Verified

Skill onDamaged aura issue

#1517 opened by Unknown 5 years ago

Unknownreported this bug

If I use the skill onDamaged aura, the damageModifier for FIRE,LAVA,HOTFLOOR,FIRE_TICK is not working. But the other type is working fine

Describe the bug encountered in detail.

Steps to reproduce

  Skills:
  - onDamaged{
      auraName=damageResist;d=200;
      onTick=[
        - particles{p=flame;amount=10;hS=0.4}
      ];
      damageMods="FIRE 0"} @self ~onTimer:200
  - ...

My server version is 1.16.4

Unknowncommented

I tested this and was able to reproduce it in one specific way. If its a block dealing the damage it is not working. Take this dummy mob i use for testing damage. https://pastebin.com/KyNaYNgg spawn it ontop of a magma block and it will still take damage. This includes using flint and steel to spawn fire. nether FIRE or FIRE_TICK stops the damage.

I was not able to reproduce this when the damage cause came from an entity. Change the damage modifier in that dummy mob to FIRE, and use the following skill https://pastebin.com/kzHE1iGQ to deal FIRE damage to the mob (/mm test cast skill | works). Youll see that when the mob takes damage its health does not go down.

Sign in to join the discussion.