The map generation only works once, the second time it crashes, but that didn’t stop me from restarting the game over and over again :D I’m not sure if every spell actually deals damage, but it’s a really fun game anyway!
Thanks for the feedback, it will definitely be useful for future projects :D