qwertypol012 Posted July 5, 2021 Share Posted July 5, 2021 My mod has some spells added to the player in the beginning of the function. Some of these spells are Ability-type (Constant Effect cast type) while some of them are Spell-type (Fire and Forget cast type, has duration). In the end of the function, i'd like to stop and remove them from affecting the player. Should i use DispelSpell or RemoveSpell? For the time being, i'm using RemoveSpell to remove the Ability-type spells while using DispelSpell to stop the Spell-type spells. Does this enough to clean the player from these spells? Link to comment Share on other sites More sharing options...
dylbill Posted July 5, 2021 Share Posted July 5, 2021 Yes, that's the way it should be done. Using AddSpell with abilities makes the spell affect the player. Using AddSpell with normal spells, means the spell is added to the players spell list, and they can use the spell by casting it themselves. Using RemoveSpell on abilities means the spell no longer affects the player. Using RemoveSpell on normal spells, means the spell is removed from the players spell list. Link to comment Share on other sites More sharing options...
qwertypol012 Posted July 7, 2021 Author Share Posted July 7, 2021 Yes, that's the way it should be done. Using AddSpell with abilities makes the spell affect the player. Using AddSpell with normal spells, means the spell is added to the players spell list, and they can use the spell by casting it themselves. Using RemoveSpell on abilities means the spell no longer affects the player. Using RemoveSpell on normal spells, means the spell is removed from the players spell list. Thanks for the answer :) Link to comment Share on other sites More sharing options...
dylbill Posted July 7, 2021 Share Posted July 7, 2021 No problem :) Link to comment Share on other sites More sharing options...
Recommended Posts