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()
|
|
|
|
_60E_FS_Mystical_PanaceaEnch.SetNthEffectMagnitude(0, Self.GetMagnitude())
|
|
|
|
_60E_FS_Mystical_PanaceaEnch.SetNthEffectMagnitude(1, Self.GetMagnitude())
|
|
|
|
_60E_FS_Mystical_ArmorBuffPerk.SetNthEntryValue(0, 0, Self.GetMagnitude())
|
|
|
|
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
|