Restore fActivatePickLength as well if save is reloaded during victim selection with Entropic Blood

This commit is contained in:
Eddoursul 2024-07-31 15:13:57 +02:00
parent b67e285b42
commit fb076c753c
2 changed files with 5 additions and 2 deletions

Binary file not shown.

View File

@ -22,10 +22,13 @@ Event OnPlayerLoadGame()
ControlRepository = Game.GetForm(0x493C2) as _00E_EnderalControls
endif
; Restore INI value changed by slow time effects
if Utility.GetINIFloat("fInAirFallingCharGravityMult:Havok") < 1.35
; Restore INI values changed by Entropic Blood
if Utility.GetINIFloat("fInAirFallingCharGravityMult:Havok") < 1.0
Utility.SetINIFloat("fInAirFallingCharGravityMult:Havok", 1.35)
endif
if Utility.GetINIFloat("fActivatePickLength:Interface") >= 1799.0
Utility.SetINIFloat("fActivatePickLength:Interface", 150.0)
endif
EndEvent
_00E_SkillControl function GetSkillControl() Global