1
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.
 
 
 

30 lines
615 B

Scriptname _00E_QyraneanFireflowerScript extends ObjectReference
Import math
Event OnInit()
;EnchArmorFireFXS.Play(Self)
EndEvent
Event OnActivate(ObjectReference akActionRef)
if akActionRef == PlayerREF && Used == 0
_00E_FireflowerEatSound.Play(PlayerREF)
EnchArmorFireFXS.Stop(Self)
PlayerREF.RestoreActorValue("Stamina", (PlayerREF.GetActorValue("Stamina")*CurePercentage))
Used = 1
Else
Return
EndIf
EndEvent
float CureAmount
int Used = 0
float Property CurePercentage Auto
Actor Property PlayerREF Auto
EffectShader Property EnchArmorFireFXS Auto
Sound Property _00E_FireflowerEatSound Auto