4
Fork 0

Moved ShowSynergyMessage()

remove-levelsystem
Eddoursul 4 months ago
parent 9af1c0c8bd
commit fb7a7d28f6
  1. BIN
      Enderal - Forgotten Stories.esm
  2. BIN
      Skyrim.esm
  3. BIN
      scripts/_00E_SkillControl.pex
  4. BIN
      scripts/_00e_a1_shadowtongueoilpoolsc.pex
  5. BIN
      scripts/_00e_a2_eldritchbloodsc.pex
  6. BIN
      scripts/_00e_a2_eyeofthestormsc.pex
  7. BIN
      scripts/_00e_a2_primalforcesc.pex
  8. BIN
      scripts/_00e_a2_riftsc.pex
  9. BIN
      scripts/_00e_a2_skyfallboltmesc.pex
  10. BIN
      scripts/_00e_a2_skyfallplayersc.pex
  11. BIN
      scripts/_00e_frozenmescript.pex
  12. BIN
      scripts/_00e_questfunctions.pex
  13. 16
      source/scripts/_00E_SkillControl.psc
  14. 2
      source/scripts/_00e_a1_shadowtongueoilpoolsc.psc
  15. 2
      source/scripts/_00e_a2_eldritchbloodsc.psc
  16. 2
      source/scripts/_00e_a2_eyeofthestormsc.psc
  17. 4
      source/scripts/_00e_a2_primalforcesc.psc
  18. 2
      source/scripts/_00e_a2_riftsc.psc
  19. 2
      source/scripts/_00e_a2_skyfallboltmesc.psc
  20. 2
      source/scripts/_00e_a2_skyfallplayersc.psc
  21. 2
      source/scripts/_00e_frozenmescript.psc
  22. 15
      source/scripts/_00e_questfunctions.psc

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -193,6 +193,18 @@ Function SetRecoveryTimeMemoryBook(int iWord, Shout TaughtTalent, float fRecover
EndFunction
Function ShowSynergyMessage()
_00E_Levelsystem_sSynergyDiscovered.Show()
_00E_EPHandler.GiveEP(150)
If _00E_AchievementsEnabled.GetValueInt() == 1 && !bUnlockedSynergyAchievement
Steam.UnlockAchievement("END_SYNERGY_01")
bUnlockedSynergyAchievement = true
EndIf
EndFunction
int iPointRequirementTier01 = 5
int iPointRequirementTier02 = 10
int iPointRequirementTier03 = 15
@ -200,6 +212,8 @@ int iPointRequirementTier03 = 15
int iRequiredPoints
bool bValidSkilllevel
bool bUnlockedSynergyAchievement
Bool _SkillBookReadLocked = False
Bool _MemoryBookReadLocked = False
@ -254,3 +268,5 @@ GlobalVariable Property _00E_AchievementsEnabled Auto
Message Property _00E_Levelsystem_sNoMoreCraftingPoints Auto
Message Property _00E_Levelsystem_sNoMoreLearningPoints Auto
Message Property _00E_Levelsystem_sSynergyDiscovered Auto

@ -14,7 +14,7 @@ Auto State Waiting
If _00E_Synergy_OilFireArrow.GetValueInt() == 0
_00E_Synergy_OilFireArrow.SetValueInt(1)
Levelsystem.ShowSynergyMessage()
_00E_PlayerFunctions.GetSkillControl().ShowSynergyMessage()
EndIf
EndIf

@ -156,7 +156,7 @@ Function Explode()
If _00E_Synergy_EldritchBloodSkyfall.GetValueInt() == 0
_00E_Synergy_EldritchBloodSkyfall.SetValueInt(1)
Levelsystem.ShowSynergyMessage()
_00E_PlayerFunctions.GetSkillControl().ShowSynergyMessage()
EndIf
Else

@ -29,7 +29,7 @@ Event OnEffectStart(Actor akTarget, Actor akCaster)
If PlayerREF.HasSpell(_00E_A2_DanceOfBladesSP)
If _00E_Synergy_EyeOfTheStormBladedance.GetValueInt() == 0
_00E_Synergy_EyeOfTheStormBladedance.SetValueInt(1)
Levelsystem.ShowSynergyMessage()
_00E_PlayerFunctions.GetSkillControl().ShowSynergyMessage()
EndIf
EndIf

@ -22,7 +22,7 @@ Event OnEffectStart(Actor akTarget, Actor akCaster)
if _00E_Synergy_PrimalForceEyeOfTheStorm.GetValueInt() == 0
_00E_Synergy_PrimalForceEyeOfTheStorm.SetValueInt(1)
Levelsystem.ShowSynergyMessage()
_00E_PlayerFunctions.GetSkillControl().ShowSynergyMessage()
EndIf
PlayerREF.DispelSpell(_00E_A2_EyeOfTheStormSP)
@ -34,7 +34,7 @@ Event OnEffectStart(Actor akTarget, Actor akCaster)
if _00E_Synergy_OnslaughtPrimalForce.GetValueInt() == 0
_00E_Synergy_OnslaughtPrimalForce.SetValueInt(1)
Levelsystem.ShowSynergyMessage()
_00E_PlayerFunctions.GetSkillControl().ShowSynergyMessage()
EndIf
_00E_A1_OnslaughtSynergyTimer.SetValueInt(0)

@ -204,7 +204,7 @@ Function StopFXAndCastFinalExplosion()
If _00E_Synergy_RiftSkyfall.GetValueInt() == 0
_00E_Synergy_RiftSkyfall.SetValueInt(1)
Levelsystem.ShowSynergyMessage()
_00E_PlayerFunctions.GetSkillControl().ShowSynergyMessage()
EndIf
Self.Dispel()

@ -5,7 +5,7 @@ Event OnEffectStart(Actor akTarget, Actor akCaster)
If akTarget.HasSpell(_00E_A1_ArcticWindFrozenAb)
if _00E_Synergy_ArcticWindSkyFall.GetValueInt() == 0
_00E_Synergy_ArcticWindSkyFall.SetValueInt(1)
Levelsystem.ShowSynergyMessage()
_00E_PlayerFunctions.GetSkillControl().ShowSynergyMessage()
EndIf
EndIf

@ -27,7 +27,7 @@ Event OnEffectStart(Actor akTarget, Actor akCaster)
if _00E_Synergy_EyeOfTheStormSkyfall.GetValueInt() == 0
_00E_Synergy_EyeOfTheStormSkyfall.SetValueInt(1)
Levelsystem.ShowSynergyMessage()
_00E_PlayerFunctions.GetSkillControl().ShowSynergyMessage()
EndIf
EndIf

@ -69,7 +69,7 @@ State Frozen
fShatterChance += __Config_ShatterChanceOnslaughtSpellBonus
If _00E_Synergy_ArcticWindOnslaught.GetValueInt() == 0
_00E_Synergy_ArcticWindOnslaught.SetValueInt(1)
Levelsystem.ShowSynergyMessage()
_00E_PlayerFunctions.GetSkillControl().ShowSynergyMessage()
EndIf
EndIf

@ -316,18 +316,6 @@ Function SetAllowIdleChatter(bool bAllow = False)
EndFunction
Function ShowSynergyMessage()
_00E_Levelsystem_sSynergyDiscovered.Show()
_00E_EPHandler.GiveEP(150)
If _00E_AchievementsEnabled.GetValueInt() == 1 && !bUnlockedSynergyAchievement
Steam.UnlockAchievement("END_SYNERGY_01")
bUnlockedSynergyAchievement = true
EndIf
EndFunction
;=====================================================================================
; PROPERTIES
@ -400,7 +388,6 @@ Message Property _00E_Levelsystem_sDoesNotTrust Auto
Message Property _00E_Levelsystem_sExtremelyHurt Auto
Message Property _00E_Levelsystem_sIsHurt Auto
Message Property _00E_Levelsystem_sSynergyDiscovered Auto
Message Property _00E_Levelsystem_sNoMoreCraftingPoints Auto
Message Property _00E_Levelsystem_sNoMoreLearningPoints Auto
Message Property _00E_Levelsystem_sSkillTooWellDeveloped Auto
@ -431,5 +418,3 @@ Spell Property _00E_PriestCureDiseases Auto
SoundCategory Property AudioCategoryAMB Auto
SoundCategory Property AudioCategoryAMBr Auto
SoundCategory Property AudioCategorySFX Auto
bool bUnlockedSynergyAchievement

Loading…
Cancel
Save