Jump to content

Script Help: Classic Fallout Skill Calculations


Thacker

Recommended Posts

So I've ran into another snag (big surprise).

 

I've nearly completed my script, inputting the formulas I want to use for each Skill. Every Skill is working fine except for Survival. Relevant code is below:

 

set SurvivalRecalculated to (5 + (player.getactorvalue Endurance + player.getactorvalue Intelligence)/2)

SetNumericGameSetting fAVDSkillSurvivalBase SurvivalRecalculated

 

(all the Skill formulas are of this nature, only the variables for SkillRecalculated differ)

 

With the test character I'm using (10 Luck, 5 in rest), this formula SHOULD set the Survival skill to 15, however it's setting it at 30.

 

My only thoughts as to why this is happening are 1) there is some other game setting/variable somewhere that is modifying the calculation and 2) it is a bug in NVSE (unlikely?).

 

Comments, as always, are appreciated, thanks!

 

EDIT: Resolved, apparently there was some error applying it to the save game I had been working with. A fresh character did not have the problem.

Edited by Thacker
Link to comment
Share on other sites

  • Recently Browsing   0 members

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