I’ll post this quickly before I go out in the sun. I’ve added Mutation which can be a very interesting spell to use since the final creature (if it works) is totally random.
As always, the spell itself wasn’t difficult, but making the AI use the spell (especially on it’s own creatures) took a lot of time and tweaking. I’m sure things will still need to be improved in the future as well, but it works for now.
Also, added a new flag for pieces to show if they are transparent or not. This lets me make spectre, ghost, wraith & magic fire transparant for ranged combat, magic bolt/lightning and other spells like subversion, mutation and raise dead.