Removed calling player an idiot from _00E_EPUpdateFunctions

This commit is contained in:
Eddoursul 2024-01-11 13:33:32 +01:00
parent f5ae34fc7f
commit eff44b1e23
12 changed files with 5 additions and 23 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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