Added SKSE condition to _00E_FS_MesmerizeSC

This commit is contained in:
Eddoursul 2024-02-10 14:36:15 +01:00
parent aac1d8d03d
commit 7dda460b7d
2 changed files with 6 additions and 3 deletions

Binary file not shown.

View File

@ -20,10 +20,13 @@ Event OnEffectStart(Actor akTarget, Actor akCaster)
Else
PlayerREF.AddPerk(_00E_FS_MesmerizePerk)
float fBuff = ((PlayerREF.GetActorValue("Illusion")/6 as Int) + Self.GetMagnitude())/100
if SKSE.GetVersion()
float fBuff = ((PlayerREF.GetActorValue("Illusion")/6 as Int) + Self.GetMagnitude())/100
_00E_FS_MesmerizePerk.SetNthEntryValue(0, 0, (1.0-fBuff))
_00E_FS_MesmerizePerk.SetNthEntryValue(1, 0, (1.0+fBuff))
_00E_FS_MesmerizePerk.SetNthEntryValue(0, 0, (1.0-fBuff))
_00E_FS_MesmerizePerk.SetNthEntryValue(1, 0, (1.0+fBuff))
endIf
EndIf