onDamaged aura needs cancel conditions
Summary
cancelEvent's conditions for onDamaged auras
Usage
option that apply before cancelEvent=true option was done. if the conditions are not met, don't cancelEvent
Value
this is important because, ~onDamaged trigger only work with mobs and we can make cancelEvent conditions. but with aura there's only just cE=true can't even put condition on it. there's only onHit option but damage was already done so it was too late to cancel the Damage.
Priority
cancelConditions
Implementation
Example
- onDamaged{cancelEvent=true;cancelConditions=[ - damagecause{cause=ENTITY_ATTACK} true ];d=5} @Self