2021-10-05 22:15:58 +00:00
|
|
|
Scriptname _60E_FS_Mystical_PanaceaSC extends ActiveMagicEffect
|
|
|
|
|
|
|
|
;=====================================================================================
|
|
|
|
; EVENTS
|
|
|
|
;=====================================================================================
|
|
|
|
|
|
|
|
Event OnEffectStart(Actor akTarget, Actor akCaster)
|
|
|
|
|
2024-02-10 16:05:44 +00:00
|
|
|
if SKSE.GetVersion()
|
2024-02-11 21:03:35 +00:00
|
|
|
; 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())
|
2024-02-10 16:05:44 +00:00
|
|
|
endif
|
|
|
|
|
2021-10-05 22:15:58 +00:00
|
|
|
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
|