ModPlayerSkillExp

Revision as of 18:55, 26 March 2011 by imported>Low Post
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
< [[::Category:Functions|Category:Functions]]

A function added by the Oblivion Script Extender.

Syntax:

(nuSkillExperience:float) ModPlayerSkillExp skill:actorValueCode amount:float 
(nuSkillExperience:float) ModPlayerSkillExpC skill:short amount:float


Modifies the current SkillUse by amount. If the new value is

  • greater than the one returned by GetRequiredSkillExp increments the Skill by 1.
  • less than 0 decrements the Skill by 1.

Notes

During Skill increment/decrement SkillAdvances, MajorSkillUps & SkillUse is handled correctly. AttributeBonus isn't affected, though. You have to adjust it manually using GetPCAttributeBonus & SetPCAttributeBonus.

See Also