Working in spell casting

Not finished. Its a backup