Fixed restoring speedmult after recovering from the werewolf form

This commit is contained in:
Eddoursul 2024-01-28 04:15:56 +01:00
parent 77a3e6c066
commit 3805291636
2 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ State WolfForm
staminaMod = 0 staminaMod = 0
carryCapacityMod = PlayerREF.GetActorValue("CarryWeight") - WerewolfBaseCarryCapacity carryCapacityMod = PlayerREF.GetActorValue("CarryWeight") - WerewolfBaseCarryCapacity
humanSpeedMult = PlayerREF.GetActorValue("speedMult") humanSpeedMult = PlayerREF.GetBaseActorValue("speedMult")
; If the player is under the influence of a slowdown magic effect, take the player's normal speedMult from Fame AV. See FrostSlowFix.psc ; If the player is under the influence of a slowdown magic effect, take the player's normal speedMult from Fame AV. See FrostSlowFix.psc
Float fFame = PlayerREF.GetBaseActorValue("Fame") Float fFame = PlayerREF.GetBaseActorValue("Fame")
If fFame > humanSpeedMult If fFame > humanSpeedMult