AuraComponent

ondamaged

Triggers a skill when the aura holder takes damage

Aliases

ondamage

Examples & Notes

Examples

  Skills:
  - aura{auraName=damageResist;d=200;components=[
    - onDamaged{
      onTick=[
        - particles{p=flame;amount=10;hS=0.4}
      ];
      damageMods="FIRE 0.5, MAGIC 0.3, CUSTOM <caster.var.customresistance>"} @self ~onInteract
    ]}

Mentioned by

Community-maintained documentation for the Mythic plugin ecosystem.