On Spell Cast Complete

Description

Fires when a cast-time spell finishes successfully and runs its skills. Also fires for instant casts (where CastTime: 0 or where the adjusted cast time fell at or below Casting.InstantCastThreshold).

This trigger fires after FINISH-time usability and reagent checks have passed. If those fail, the cast ends with ~onSpellCastCancel (cast-cancel-reason: failed) instead.

Trigger Variables

See ~onSpellCastStart for the full list of variables (spell-name, cast-id, cast-time, cast-remaining, cast-progress).

Examples

Refund a portion of mana if the cast completes:

fireball:
  Spell: true
  CastTime: 2s
  Cost:
  - mana 60
  Skills:
  - modifyReagent{reagent=mana;amount=10} @self ~onSpellCastComplete
  - projectile{...}

Aliases

  • ~onCastComplete
Updated Aug 19, 2026