ScriptName MG11Script
;Handles all variables and scripting for quest MG11NecroMoon
float convtimer
short Revenantknown
short Halo
short enabled
short dialogue
short teststate
short doonce
short notefound
Begin gamemode
;TEMPORARY
;Use temp variable teststate to set conditions for running this quest
if ( teststate == 1 )
SetStage MG08MagesStaff 100
SetStage MG09Motives 100
SetStage MG10Vahtacen 100
set teststate to 2
endif
if ( Player.GetItemCount MG11NecromancersMoon > 0 )
if ( GetStage MG11NecroMoon == 20 )
SetStage MG11NecroMoon 30
endif
endif
if ( notefound == 0 )
if ( Player.GetItemCount MG11SoulGemNote == 1 )
set notefound to 1
if ( GetStageDone MG11NecroMoon 60 == 0 )
if ( GetStage MG11NecroMoon < 60 )
SetStage MG11NecroMoon 60
endif
endif
endif
endif
End |