ModPlayerSkillExp
(Redirected from ModPlayerSkillExpC)
Jump to navigation
Jump to search
< [[::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.