|
|
@ -48,6 +48,9 @@ Event OnPlayerLoadGame() |
|
|
|
GoToState("RealPlayer") |
|
|
|
GoToState("RealPlayer") |
|
|
|
endif |
|
|
|
endif |
|
|
|
RegisterForActions() |
|
|
|
RegisterForActions() |
|
|
|
|
|
|
|
if CooldownMagicEffect == None || CooldownMagicEffect as String == "[_00E_Game_TalentCooldownSC <None>]" |
|
|
|
|
|
|
|
RefreshCooldownSpell() |
|
|
|
|
|
|
|
endif |
|
|
|
endif |
|
|
|
endif |
|
|
|
else |
|
|
|
else |
|
|
|
Debug.Trace("NO SKSE: individual shout cooldowns are disabled") |
|
|
|
Debug.Trace("NO SKSE: individual shout cooldowns are disabled") |
|
|
@ -63,7 +66,7 @@ State RealPlayer |
|
|
|
; This OnUpdate is triggered by RegisterForUpdates in other scripts attached to the player, e.g. in _00E_EPUpdateFunctions. |
|
|
|
; This OnUpdate is triggered by RegisterForUpdates in other scripts attached to the player, e.g. in _00E_EPUpdateFunctions. |
|
|
|
; So we must be cautious here. |
|
|
|
; So we must be cautious here. |
|
|
|
|
|
|
|
|
|
|
|
If (CooldownMagicEffect == None && _00E_Game_TalentControl_CooldownResetDesired.GetValue() != 0) |
|
|
|
If (CooldownMagicEffect == None && _00E_Game_TalentControl_CooldownResetDesired.GetValueInt() != 0) |
|
|
|
_00E_Game_TalentControl_CooldownResetDesired.SetValue(0) |
|
|
|
_00E_Game_TalentControl_CooldownResetDesired.SetValue(0) |
|
|
|
AddSpell(_00E_Game_AbTalentCooldown, False) |
|
|
|
AddSpell(_00E_Game_AbTalentCooldown, False) |
|
|
|
EndIf |
|
|
|
EndIf |
|
|
|