Only problem is, the script stays on the actor after death. I know I can run a check in the script to not "run the following lines" unless the actor is alive, and I know I can have it so my cloak effect doesn't attach scripts to already-dead actors, but the issue is that a previously alive actor will still have my script attached to it.
Seeing as I only run a calculation when said actor gets hit, I don't think it will be a serious performance-related issue. However, I can only imagine the kind of Save-game bloat this would cause. imagine playing 50 hours with my mod on one character, and there are literally THOUSANDS of scripts attached to various actors the players has come into contact with - even dead ones! Is there a way to, "clean up" and remove scripts to dead actors, or actors that are unloaded/not-in-range?