Difference between revisions of "ModPlayerSkillExp"
Jump to navigation
Jump to search
imported>Low Post |
imported>Low Post |
||
Line 30: | Line 30: | ||
== Notes == | == Notes == | ||
During Skill increment/decrement SkillAdvances, MajorSkillUps & SkillUse is handled correctly. | During Skill increment/decrement SkillAdvances, MajorSkillUps & SkillUse is handled correctly. | ||
AttributeBonus isn't affected, though. You have to adjust it manually using [[GetPCAttributeBonus] & [[SetPCAttributeBonus]]. | AttributeBonus isn't affected, though. You have to adjust it manually using [[GetPCAttributeBonus]] & [[SetPCAttributeBonus]]. | ||
==See Also== | ==See Also== |
Latest revision as of 17:55, 26 March 2011
< [[::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.