amokrun1 Posted August 3, 2023 Share Posted August 3, 2023 There is this mod I am trying to fix. The mod adds a trait to the game that boosts certain skills at the cost of reducing all other skills by 15, but the problem is that the nerfed skills don't bottom out, which means you will have negative skill scores. I want to devise a script to make the lowest possible score with the nerf penalty to be 1. I looked at the script and it should be fine, unless I am overlooking something which is quite possible as I am not a scriptmeister. It may also be because of VUI+, which allows sub-zero displays. I have yet to test it vanilla. Link to comment Share on other sites More sharing options...
sullyvanj93 Posted August 3, 2023 Share Posted August 3, 2023 Just call the current skill level. For example, If Barter is <= 1, then set Barter to 1. Of course, that's not the entire script, but it'll give you an idea of what to do to easily force all skills back to where they should be quickly and efficiently. Link to comment Share on other sites More sharing options...
amokrun1 Posted August 4, 2023 Author Share Posted August 4, 2023 Yes, this is the approach I initially took but it doesn't work. The script goes" Begin ScriptEffectStart If Player.getPermanentActorvalue Barter <= 0 player.setav barter 1 endif Each skill follows similarly. I also tried it with player.foceav, doesn't work either. Link to comment Share on other sites More sharing options...
Recommended Posts