1) It was invariably adding up to 100 either because it was resolving 75+ for some reason (it's a new character with 8 skill) or it was repeating the original line of player.SetAV Armorer + 25 behind an else statement. Now that I added the runonce bit to prevent a loop, the script says it can no longer save and the problem is line 17, the bonus line. But it was fine before.
2) The line I commented is the method to restore the original value. Without the comment it was automatically restoring the value back to what it was, is there any way to make that part only run once the repair screen is shut down?
scn AAWscript ScriptBegin onactivateshort originalskillshort runonceset runonce to 0set originalskill to player.GetAV Armorerplayer.equipitem repairhammerif (originalskill > 75 && runonce == 0 ) player.setAV Armorer 100 set runonce to 1 else player.setAV Armorer originalskill + 25 set runonce to 1endif;player.setAV Armorer originalskillend
And of course if there is any easier way to do this that I'm not realizing I'd love you for it.