I have a spell that is supposed to replenish all the mana of the caster, but it costs 450 mana to cast. When you cast the spell, all the mana comes back and then 450 mana is taken away for the spell. It is triggering on "starts the effect of an ability". "Finishes casting an ability" seems to fail if you cancel the caster's cast animation, so I don't want to use that. Any ideas?
In general, a way to find out something after a trigger has happened would be good. Another case with a similar problem is on damage detection. I don't know how I can do things after a unit has taken damage (perhaps a heal but only after damage). I feel like I read somewhere a way to do this, but I don't remember where or how it worked.
In general, a way to find out something after a trigger has happened would be good. Another case with a similar problem is on damage detection. I don't know how I can do things after a unit has taken damage (perhaps a heal but only after damage). I feel like I read somewhere a way to do this, but I don't remember where or how it worked.