SKSE64 plugin that adds more papyrus functions for the manipulation of spells in Skyrim Special Edition. https://www.nexusmods.com/skyrimspecialedition/mods/37493
Check SpellCraft.psc for usage.
v1.0.1 now allows for persistent spell modifications through the skse co-save!
The following papyrus snippet creates a spell effect that will add all spells from a target actor to the caster:
Event OnEffectStart(Actor AkTarget, Actor akCaster)
Spell[] stolen_spells = SpellCraft.GetAllActorSpells(AkTarget, "")
int i = 0
while i < stolen_spells.Length
akCaster.AddSpell(stolen_spells[i])
i += 1
endWhile
EndEvent
Clips from my mod All For One Mage:
Not an actual mod! Just a modders' resource. Not extensively tested either so submit an issue if you notice any bugs.
(created from zero experience in skyrim modding with the help of this tutorial from @Ryan-rsm-McKenzie)