What DrSuperEvil said, info on the ability would be helpful.
If it's a behavior ability, and the behavior is of type "Buff", open the Modifications field, click on "unit", and scroll down to the part where you modify regens, then set energy regen to -1 (Or something like that. Remember to calculate in your base regen)
Then open the "Validator (Remove)" field and set it to "Has Energy". One thing many people get confused with in this field is that validators need to be FALSE to remove the behavior. In other words, this field says "Behavior can only exist if unit [has energy]"
If you're using an ability that is set up differently and this isn't possible, please give us more info.
What DrSuperEvil said, info on the ability would be helpful.
If it's a behavior ability, and the behavior is of type "Buff", open the Modifications field, click on "unit", and scroll down to the part where you modify regens, then set energy regen to -1 (Or something like that. Remember to calculate in your base regen)
Then open the "Validator (Remove)" field and set it to "Has Energy". One thing many people get confused with in this field is that validators need to be FALSE to remove the behavior. In other words, this field says "Behavior can only exist if unit [has energy]"
If you're using an ability that is set up differently and this isn't possible, please give us more info.