I'm making a mod that will allow the player to add and remove spells covering al effects they've learned, even if they've since removed any spells with those effects from their spellbook. The question I have is this: I'm planning on having the trigger be a book. Would it cause problems if the variables are stored in the script attached to the book?
Two other questions:
Is there a better way than spamming GetSpell to check if the player has an effect available?
Is adding or removing a large number of spells in one go a bad idea?