Difference between revisions of "Player's Leveled Spell"
Jump to navigation
Jump to search
m
no edit summary
imported>Darkness X (New page: == Introduction == In this article we are going to learn how to create a quest script for a leveled spell (a spell that becomes more powerful if you reach a higher level) for the player b...) |
imported>Darkness X m |
||
Line 16: | Line 16: | ||
If Player.GetActorValue Destruction <= 24 | If Player.GetActorValue Destruction <= 24 | ||
Set Novice to 1 | Set Novice to 1 | ||
Elseif Player.GetActorValue Destruction >= 25 && Player.GetActorValue Destruction <= 49 | |||
Set Apprentice to 1 | Set Apprentice to 1 | ||
Elseif Player.GetActorValue Destruction >= 50 && Player.GetActorValue Destruction <= 74 | |||
Set Journeyman to 1 | Set Journeyman to 1 | ||
Elseif Player.GetActorValue Destruction >= 75 && Player.GetActorValue Destruction <= 99 | |||
Set Expert to 1 | Set Expert to 1 | ||
Elseif Player.GetActorValue Destruction >= 100 | |||
Set Master to 1 | Set Master to 1 | ||
Endif | Endif | ||
Line 32: | Line 32: | ||
Player.Removespell 000SpellExpert | Player.Removespell 000SpellExpert | ||
Player.Removespell 000SpellMaster | Player.Removespell 000SpellMaster | ||
Elseif Apprentice == 1 | |||
Player.Removespell 000SpellNovice | Player.Removespell 000SpellNovice | ||
Player.Addspell 000SpellApprentice | Player.Addspell 000SpellApprentice |