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.
 
 
 

30 lines
1.2 KiB

Scriptname _60E_FS_Mystical_PanaceaSC extends ActiveMagicEffect
;=====================================================================================
; EVENTS
;=====================================================================================
Event OnEffectStart(Actor akTarget, Actor akCaster)
if SKSE.GetVersion()
; ESP values have been synchronized in 2.1 to make the spell work properly without SKSE
; Keeping this here to ensure synchronization of attributes, modified by mods
_60E_FS_Mystical_PanaceaEnch.SetNthEffectMagnitude(0, GetMagnitude())
_60E_FS_Mystical_PanaceaEnch.SetNthEffectMagnitude(1, GetMagnitude())
_60E_FS_Mystical_ArmorBuffPerk.SetNthEntryValue(0, 0, GetMagnitude())
endif
PlayerREF.PlaceAtMe(_60E_FS_Mystical_PanaceaHazard)
EndEvent
;=====================================================================================
; PROPERTIES
;=====================================================================================
Actor Property PlayerREF Auto
Hazard Property _60E_FS_Mystical_PanaceaHazard Auto
Enchantment Property _60E_FS_Mystical_PanaceaEnch Auto
Perk Property _60E_FS_Mystical_ArmorBuffPerk Auto