[Bug] onDamaged aura + onHit skill + cancelevent removes aura
Summary
The onDamaged aura has a bug, when using onHit + cancelevent
Steps to reproduce
- onDamaged{d=1000;i=1;onHit=HITSKILL} @EIR{r=10}
HITSKILL: Skills:
- cancelevent
Current behavior
The cancelevent removes the aura from the mob/player that has the aura
Intended correct behavior
Cancelevent should cancel the damage event that triggered the aura
Proposed fixes
Revise functionality -- Additional note, using ce=true does cancel the event, but it makes it impossible to do it conditionally. What I'm trying to do is have the damage amount be modified or canceled based on the triggering unit having (or not having) an aura. Using ce=true prevents 1) Retaining the damage amount through the use of the damage placeholder, and 2) having the damage be dealt in some cases, and not dealt in others