4
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

32 lines
886 B

Scriptname _00E_CapitalCityUaljaanVuulPotionSc extends activemagiceffect
Event OnEffectStart(Actor akCaster, Actor akTarget)
NQ33.RegisterForPotion()
_00E_NQ33_sPotionDrink.Show()
_00E_MagicRandomM.Play(Game.GetPlayer())
MAGRestorationConcentrationFire2D.Play(Game.GetPlayer())
FXReadScrollsImod.Apply()
RegisterForSleep()
EndEvent
Event OnSleepStart(float afSleepStartTime, float afDesiredSleepEndTime)
; Dispel this effect when two days are passed (and the player
; goes to sleep -- for technical reasons).
if NQ33.GetStage() >= 5
UnregisterForSleep()
Dispel()
endif
EndEvent
Actor Property PlayerREF Auto
Message Property _00E_NQ33_sPotionDrink Auto
Sound Property _00E_MagicRandomM Auto
Sound Property MAGRestorationConcentrationFire2D Auto
ImageSpaceModifier Property FXReadScrollsImod Auto
_00E_NQ33_Functions Property NQ33 Auto