Jump to content

Scripting Problem


Knibilik

Recommended Posts

Riddle me this:

 

This spell script -

------------------------------------------------------

Scriptname SkillCheatScript

 

Begin ScriptEffectStart

 

incrementplayerskilluse destruction 1 1

 

End

------------------------------------------------------

Levels up destruction fine if I attach it to a lesser power spell and cast it on myself. It also works for restoration, alteration, conjuration, illusion etc if I put them in instead. However, when i put mysticism into it nothing happens. I have tried a number of different ways of raising my mysticism skill with incrementplayerskilluse. Directly like this, and also by getting a spell to set a variable called MXP to 1 and using this in a quest script:

 

------------------------------------------------------

float IMXP

float MXP

 

If MXP > 0

 

set IMXP to getskilluseincrement mysticism 1

set MXP to (MXP * IMXP)

incrementplayerskilluse mysticism MXP 1

set MXP to 0

 

Endif

------------------------------------------------------

This works for destruction, restoration etc like the first script if I swap them around. Neither of these scripts work for mysticism though. Can anyone shed any light on this?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...