Basiclly, I want to make custom enchanted staves - and I see nobody has done this yet. To be clear I do NOT seek to make "craftable stock staves". I want to take a cast spell - ANY cast spell, even stuff from other mods, and turn it into an enchantment on a staff, this'll provide widest cross compatibility if it's achievable. (For example a staff of befuddle from apocalypse pack would be possible, without needing to make combination mods)
I have a few ideas, but I wondered if a programmer more experienced in Skyrim editing could point me in the right direction of what functions or properties I need to be looking to and whether it's even physically possible; either through stock papyrus scripts, or through SKSE extentions.
The first part the puzzle, is whether it's even possible to copy magic effects between a spell and a staff enchantment (And simultaneously retain it's functionality), obviously if the attached scripts got lost along the way then the spell is rendered inert. Next up, I know GetNthEffectMagicEffect provides a means of fetching the magic effect in a spell or (presumably?) enchantment, but is there a sister function for either directly copying a magic effect between two spells/enchantments, or creating a new magic effect and filling out it's properties from the source spell?
Once those two hurdles are clearred, the rest of it seems pretty easy (Scaling magnitudes, charge costs, combining enchantment with a staff etc)
On the same note, besides the ones that use blacksmithing to just "make" a new staff with a preset value. Are there any mods that have either beaten me to it, or add staves and staff enchantments to enchanting tables?
