Disable scaling in Panacea without SKSE

This commit is contained in:
Eddoursul 2024-02-10 17:05:44 +01:00
parent 47612092c5
commit e7580e660c
4 changed files with 7 additions and 4 deletions

Binary file not shown.

View File

@ -13,7 +13,7 @@ endevent
Event OnEffectFinish(Actor akTarget, Actor akCaster)
if ! fMagnitude
fMagnitude = - akTarget.GetActorValue(sActorValue)
fMagnitude = akTarget.GetActorValue(sActorValue)
endif
if akTarget.IsDead()

View File

@ -6,9 +6,12 @@ Scriptname _60E_FS_Mystical_PanaceaSC extends ActiveMagicEffect
Event OnEffectStart(Actor akTarget, Actor akCaster)
_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())
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
PlayerREF.PlaceAtMe(_60E_FS_Mystical_PanaceaHazard)
EndEvent