diff --git a/Enderal - Forgotten Stories.esm b/Enderal - Forgotten Stories.esm index 8664095a..ba3faed2 100644 Binary files a/Enderal - Forgotten Stories.esm and b/Enderal - Forgotten Stories.esm differ diff --git a/Skyrim.esm b/Skyrim.esm index 134fb704..d576c0de 100644 Binary files a/Skyrim.esm and b/Skyrim.esm differ diff --git a/scripts/_00E_CameraControl.pex b/scripts/_00E_CameraControl.pex index 98c5f60c..3bf86bf3 100644 Binary files a/scripts/_00E_CameraControl.pex and b/scripts/_00E_CameraControl.pex differ diff --git a/scripts/_00e_ambrosiaeffect.pex b/scripts/_00e_ambrosiaeffect.pex index 168f15cc..9e8deb70 100644 Binary files a/scripts/_00e_ambrosiaeffect.pex and b/scripts/_00e_ambrosiaeffect.pex differ diff --git a/source/scripts/_00E_CameraControl.psc b/source/scripts/_00E_CameraControl.psc index 205bc6fa..1aa163f1 100644 --- a/source/scripts/_00E_CameraControl.psc +++ b/source/scripts/_00E_CameraControl.psc @@ -7,10 +7,10 @@ Function LockVanityCamera() Global if SKSE.GetVersion() float fCameraMaxDistance = Utility.GetIniFloat("fVanityModeMaxDist:Camera") - PlayerREF.SetActorValue("Variable08", fCameraMaxDistance) + PlayerREF.SetActorValue("Variable04", fCameraMaxDistance) fMinDist = Utility.GetIniFloat("fVanityModeMinDist:Camera") else - PlayerREF.SetActorValue("Variable08", 600.0) + PlayerREF.SetActorValue("Variable04", 600.0) endif Utility.SetINIFloat("fVanityModeMaxDist:Camera", fMinDist) @@ -20,13 +20,13 @@ EndFunction Function UnlockVanityCamera() Global Actor PlayerREF = Game.GetForm(0x14) as Actor - float fCameraMaxDistance = PlayerREF.GetActorValue("Variable08") + float fCameraMaxDistance = PlayerREF.GetActorValue("Variable04") if fCameraMaxDistance <= 0 fCameraMaxDistance = 600.0 endif Utility.SetINIFloat("fVanityModeMaxDist:Camera", fCameraMaxDistance) - PlayerREF.SetActorValue("Variable08", 0) + PlayerREF.SetActorValue("Variable04", 0) EndFunction diff --git a/source/scripts/_00e_ambrosiaeffect.psc b/source/scripts/_00e_ambrosiaeffect.psc index 2e191d44..68fd46f3 100644 --- a/source/scripts/_00e_ambrosiaeffect.psc +++ b/source/scripts/_00e_ambrosiaeffect.psc @@ -2,8 +2,8 @@ Scriptname _00E_AmbrosiaEffect extends activemagiceffect Event OnEffectStart(Actor akTarget, Actor akCaster) - float fMagnitude = - akTarget.GetActorValue("Mood") - akTarget.SetActorValue("Mood", 0) + float fMagnitude = - akTarget.GetActorValue("Variable08") + akTarget.RestoreActorValue("Variable08", fMagnitude) if akTarget != Game.GetForm(0x14) return