GT_7EYES-O-MATIC
Tweaked version of my previous pull request about this topic (to tell the truth, it's also relevant for this and this).
Additionally, it now also expands to both BG:EE and BG2:EE for later compatibility with IWDification and the Seven Eyes spell.
(Technical note: when extracting effects to subspells, it uses op326 instead of op146 + op318/op324 in the subspell (so as to bypass the auto-pause bug).)
@CamDawg
I can tweak this PR so as to include the new immunity system via op318 / op324 (which is probably better, so as to avoid overlapping code between me and DavidW).
Please let me know if can proceed...
@CamDawg
Ok, this is now ready for review. You might want to update the various eefixpack\files\tph\tbd_vfx_removal.tph (and probably something else too) accordingly (in particular, you might want to remove the subspell creation section since I already take care of it in a more sistematic way...)
Also, feel free to edit my 2da files (the SUBSPELL column) if you want to give subspells a specific name (otherwise my code will default to GET_UNIQUE_FILE_NAME)
@CamDawg So, as you can see I've just externalized more opcode behaviors, most notably Sleep. I've splitted it into 5 different types (thoughts...?). Having said that, in order to fully work, the fixpack must get rid of flat immunity to opcode 39 (however, such a tweak can potentially break mods...)