INFINITE LOOP FIXED

Solved the infinite loop problem for abilities.