Jump to content

Question about modding a Spell Research script


stars2heaven

Recommended Posts

Concerning this mod: https://www.nexusmods.com/skyrimspecialedition/mods/20983?tab=posts

Would anyone know how I could make it possible to continue to gain research experience while in combat and using spells? I tried to adjust the _SR_EffectResearchScript so that it did not check to see if the player was in combat by removing these linesif(Player.IsInCombat())
Player.RemoveSpell(_SR_SpellResearch)
_SR_MsgResearchInCombat.Show()
What happened after was that I would still lose the -50 to magica trait and gain no xp in combat, just as if the script were still being turned off in combat as it normally would, but the research mode would be enabled again as soon as combat was over. Normally, you'd have to start it up again manually. I'm not sure where else to go to to try to make this work.

Link to comment
Share on other sites

If you made that change mid-game and you still had that mod running and active, chances are your changes did not take effect. The game will prefer "baked in" versions of scripts over new versions whenever possible. Test your changes on a new game to see if they actually work.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...