45 lines
1.4 KiB
Plaintext
45 lines
1.4 KiB
Plaintext
Scriptname _00E_NQ33_Functions extends Quest
|
|
|
|
;=====================================================================================
|
|
; EVENTS
|
|
;=====================================================================================
|
|
|
|
Event OnUpdateGameTime()
|
|
|
|
_00E_NQ33_sPotionEffectFinished.Show()
|
|
CapitalCityUajaanVuulGlobal.SetValueInt(2)
|
|
FXReadScrollsImod.Apply()
|
|
MAGRestorationConcentrationFire2D.Play(PlayerREF)
|
|
SetStage(5)
|
|
|
|
EndEvent
|
|
|
|
;=====================================================================================
|
|
; FUNCTIONS
|
|
;=====================================================================================
|
|
|
|
Function RegisterForPotion()
|
|
|
|
RegisterForSingleUpdateGameTime(48)
|
|
|
|
EndFunction
|
|
|
|
Function FinishUp()
|
|
|
|
Levelsystem.GiveEP(150)
|
|
|
|
EndFunction
|
|
|
|
;=====================================================================================
|
|
; PROPERTIES
|
|
;=====================================================================================
|
|
|
|
Actor Property PlayerREF Auto
|
|
|
|
Message Property _00E_NQ33_sPotionEffectFinished Auto
|
|
|
|
Sound Property MAGRestorationConcentrationFire2D Auto
|
|
ImageSpaceModifier Property FXReadScrollsImod Auto
|
|
GlobalVariable Property CapitalCityUajaanVuulGlobal Auto
|
|
|
|
_00E_QuestFunctions Property Levelsystem Auto |