I am busy making an ability that counts the number of enemy units in an area and adds agility based on the number (for three seconds). My only problem is that I don't know how to make it repeat itself, and either the bonus agility becomes permanent, or my agility decreases to 2 while not in combat.