4
Fork 0

Removed calling player an idiot from _00E_EPUpdateFunctions

development
Eddoursul 4 months ago
parent f5ae34fc7f
commit eff44b1e23
  1. BIN
      Enderal - Forgotten Stories.esm
  2. BIN
      Skyrim.esm
  3. BIN
      scripts/_00e_ephandler.pex
  4. BIN
      scripts/_00e_epondeath.pex
  5. BIN
      scripts/_00e_epupdatefunctions.pex
  6. BIN
      scripts/_00e_fs_nqr05_perversionsc.pex
  7. BIN
      scripts/_00e_oorbayadeathscript.pex
  8. 2
      source/scripts/_00e_ephandler.psc
  9. 4
      source/scripts/_00e_epondeath.psc
  10. 14
      source/scripts/_00e_epupdatefunctions.psc
  11. 4
      source/scripts/_00e_fs_nqr05_perversionsc.psc
  12. 4
      source/scripts/_00e_oorbayadeathscript.psc

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -2,6 +2,6 @@ Scriptname _00E_EPHandler
Function GiveEP(int ToGive) Global
((Game.GetForm(0x14) as Actor) as _00E_EPUpdateFunctions).receiveEP(ToGive)
(Game.GetForm(0x14) as _00E_EPUpdateFunctions).receiveEP(ToGive)
EndFunction

@ -13,9 +13,7 @@ Event OnDeath(Actor akKiller)
PlayerREF = Game.GetPlayer()
EndIf
If (PlayerREF as _00E_EPUpdateFunctions).receiveEP(RewardExp)
; Player receives EXP
EndIf
_00E_EPHandler.GiveEP(RewardExp)
EndIf

@ -1,7 +1,7 @@
Scriptname _00E_EPUpdateFunctions extends Actor
import Math
int MapMarkersDiscoveredCounter = 0
int LocksPickedCounter = 0
int ItemsPickpocketedCounter = 0
@ -32,7 +32,6 @@ Event OnPlayerLoadGame()
GoToState("RealPlayer")
EndIf
UpdateLevelUpSystem() ; Failsafe and version update
UnregisterForUpdate()
RegisterForSingleUpdate(3.5)
EndIf
EndEvent
@ -198,16 +197,6 @@ State RealPlayer
RegisterForSingleUpdate(3.5) ; seems like a decent value
EndEvent
Event OnDeath(Actor akKiller)
if Player.IsInCombat()
_00E_Player_sIdiot.Show()
receiveEP(1000)
EndIf
EndEvent
EndState
Event OnDeath(Actor akKiller)
@ -333,7 +322,6 @@ Message Property _00E_Player_sArcaneFever_Worsen Auto
Message Property _00E_Player_sArcaneFever_Death Auto
Message Property _00E_Player_sArcaneFever_Critical Auto
Message Property _00E_Player_sArcaneFever_Cure Auto
Message Property _00E_Player_sIdiot Auto
Message Property _00E_sEPNeeded Auto
Message Property _00E_Levelup Auto
Message Property _00E_Tutorial_EPSystem Auto

@ -42,9 +42,7 @@ Function PlayDeathFX()
myActorBase.SetEssential(True)
If RewardExp > 0
If (Game.GetPlayer() as _00E_EPUpdateFunctions).receiveEP(RewardExp)
; Player receives EXP
EndIf
_00E_EPHandler.GiveEP(RewardExp)
EndIf
EndFunction

@ -77,9 +77,7 @@ Function PlayDeathFX()
If doReceiveEP
Utility.Wait(0.5)
If (PlayerREF as _00E_EPUpdateFunctions).receiveEP(__Config_RewardExp)
; Player receives EXP
EndIf
_00E_EPHandler.GiveEP(__Config_RewardExp)
EndIf
If __Config_DeleteActor

Loading…
Cancel
Save