2021-10-05 22:15:58 +00:00
|
|
|
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).
|
|
|
|
|
2024-01-10 14:08:24 +00:00
|
|
|
if NQ33.GetCurrentStageID() >= 5
|
2021-10-05 22:15:58 +00:00
|
|
|
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
|