Bug Closed · Resolved

modifyDamage Mechanic does not work on onDamaged and onAttack auras

#5192 opened by Unknown 2 years ago

Unknownreported this bug

Title - Tested with the skills attached.

Expected behavior for test-damagemod-exec is for the targeted mob to take 3x damage for the next 10 seconds. Actual behavior: Nothing happens.

Expected behavior for test-damagemod2-exec is for the caster to deal 3x damage for the next 10 seconds. Actual behavior: Nothing happens.

This makes creating temporary stat buffs/debuffs much more complicated if not entirely impractical. A fix would be appreciated.

test-damagemod-exec:
  Skills:
  - skill{s=test-damagemod-apply;sync=true} @target

test-damagemod-apply:
  Skills:
  - onDamaged{
      auraName=test-damagemod;d=500;msc=true;ma=true;interval=1;
      onHit=[ - modifyDamage{a=3;modifier=MULTIPLY} @trigger ];
      onTick=[ - e:p{p=flame;a=1;speed=0.2;y=1} ]} 

test-damagemod2-exec:
  Skills:
  - skill{s=test-damagemod2-apply;sync=true} @self
  
test-damagemod2-apply:
  Skills:
  - onAttack{
      auraName=test-damagemod;d=500;msc=true;ma=true;interval=1;
      onHit=[ - modifyDamage{a=3;modifier=MULTIPLY} ];
      onTick=[ - e:p{p=flame;a=1;speed=0.2;y=1} ]} 

Using Paper 1.20.4 Latest, MythicMobs 5.6.2 Premium Stable, Crucible 2.0 Stable.

Unknowncommented

Reopening, as I closed the wrong issue ticket. This still does not work.

Unknowncommented

Closing due to inactivity and major version changes since posting. If this issue is still present, re-open this issue with a modern-version server log, configs used to test and steps to reproduce.

Sign in to join the discussion.