Oblivion:ModPCSkill

Aus Skript-Wiki
Wechseln zu: Navigation, Suche

Syntax: ModPCSkill SkillName amount



Beispiel <tesscript>ModPCSkill Block 1 </tesscript>


ModPCSkill erhöht SkillName um "amount". Sei dir sicher, dass die Zahl, die du benutzt, eine positive Zahl ist. Die Erhöhung verhält sich genauso wie eine "echte" Erhöhung des Skills.

Um Skills zu reduzieren oder Skills zu erhöhen ohne den üblichen Level-Up-Effekt benutze "Player.SetActorValue".

Note:In the Beta Patch 1.1, this call is fixed by incrementing the level and setting your uses value to 0.0. This avoids the negative value, but if it is used when you are already very close to a level, it will just increase by the amount needed to level.

Note: In an unpatched game, ModPCSkill will Increment your skill level by one and decrement your Uses value by the required amount to gain the level. If you had 2.56/7.68 before calling ModPCSkill, it would become -5.12/(New Level Max). Repeated calls will continue to decrement your Uses value by each (New Level Max). If you are close to a new level already, the negative value will be small and quickly overcome, but if you add more than one level of skill, or you repeatedly call ModPCSkill (or AdvancePCSkill) your deficit will take a lot of time to overcome making your skill appear to be stuck

Hinweis



Siehe auch