I'm trying to code something so that whenever a unit attacks, a certain amount of mana is drained. I tried triggering, but then the unit loses mana even when the unit is told to stop firing the attack. I thought about searing arrows dealing 0 bonus damage, but I don't know how to check if it's being used or not since the player cna just not use searing arrows to not lose the mana per attack.