Skip to content

SetSkillRank, SetAbilityScore

prwoprwo Member Posts: 69
I want to modify the base skill rank and ability score of an (N)PC permanently with a script.

Like e.g. the PC goes to the gym and lifts some weights -> gets STR + 1. Something like that.

Right now the only method I know of is using permanent EffectSkill* and EffectAbility*, which are not really permanent, becuase they do not effect the base counters and wear off when they are removed.

Does anyone know a better way?
I guess there is no such thing as SetSkillRank and SetAbilityScore (at least I didn't find it).

Comments

  • GM_ODAGM_ODA Member Posts: 177
    edited July 2018
    GetAbilityScore()

    https://nwnlexicon.com/index.php?title=GetAbilityScore
    ...

    https://nwnlexicon.com/index.php?title=EffectAbilityIncrease

    "This effect should not be applied instantly, only temporarily or permanently. "
    Post edited by GM_ODA on
  • prwoprwo Member Posts: 69
    @GM_ODA: EffectAbilityIncrease adds a bonus score and hence increases the total ability score, not the base score.
    What I want to do is to increase the base ability score.
  • ghowriterghowriter Member Posts: 35
    search for SetBaseAbilityScore, been a while since I was in nwn so I don't recall if it has the function
  • TerrorbleTerrorble Member Posts: 179
    Functions to modify the base ability scores and skills don't exist in normal NWN. That's what things like NWNX allowed people to do. (I never understood how to make that work so I'm the wrong person to ask details about it.)
  • ghowriterghowriter Member Posts: 35
    prwo said:

    @GM_ODA: EffectAbilityIncrease adds a bonus score and hence increases the total ability score, not the base score.
    What I want to do is to increase the base ability score.

    I always wanted that ability too!
Sign In or Register to comment.