could you just make it so the game recognizes if the spell will be recursive or not so that the game doesnt just crash