Synchronized Panacea's sub-effect attributes to ensure proper working without SKSE
This commit is contained in:
parent
9d2c6104d6
commit
2995f12543
BIN
Panacea no SKSE.esp
Normal file
BIN
Panacea no SKSE.esp
Normal file
Binary file not shown.
Binary file not shown.
@ -7,9 +7,11 @@ Scriptname _60E_FS_Mystical_PanaceaSC extends ActiveMagicEffect
|
||||
Event OnEffectStart(Actor akTarget, Actor akCaster)
|
||||
|
||||
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())
|
||||
; 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)
|
||||
|
Loading…
Reference in New Issue
Block a user