I'm making a spell in vJass, which periodically damages enemy units in a line while channelling. That part is done, now I'd like to expand the spell: the damage of all units within that line is reduced by X%. My plan is to add a modified command aura to units (in periodical loop) if they don't have it already, but removing the ability when the unit is no longer under the spell effect causes problems. It's not very difficult to do, but I'm looking for a simple and efficient way. All my solutions contain unit group handling, which may be very inefficient.