So my ultimate goal is getting Arrow spells (Searing, Black, Incinerate, Cold, Orb of Annihilation) to work with Barrage. This of course requires triggering the whole damn thing. I can make the toggle work. I can make the damage on hit work with a damage engine. I can check the unit's mana. What I can't do is the mana cost, and am needing suggestions on how to accomplish it. Ideally I'd like to somehow detect the attack launching, which is difficult to do for ranged attackers. But if I could get that, then I could hack together something that works 99% of the time. So yeah, suggestions? Please list implementation details and potential pitfalls if you've got any.