I've never been sure about this, I realize. Let's say I've got a custom spell that is cast on a target NPC. The Start Block adds a Damage Strength Ability to them to "debuff" them, and the Finish Block takes it away. But what if they die before the Finish Block executes? I know that spells stop working on Actors who die. Will this Ability remain on the base actor and therefore be all over the leveled lists and respawns?
I know you shouldn't mess with NPC factions because it changes not only their faction, but the faction of the base actor. And I think I found out that diseases you add to NPCs have a tendency to stick around too. So what about abilities? My hope is that the Ability is cleared from the Actor on death.
Thanks!
Actually script effects are not just stopped, the scripteffectfinish block is executed on actor's death. When an actors dies all magic effects that he had, not only abilities, executes their finish blocks, if those are present.
EDIT: Hmm, apparently abilities are added to the base actor. To solve the problem just remember to put
removespell Ability
in the scripteffectfinish block.