Removed calling player an idiot from _00E_EPUpdateFunctions
This commit is contained in:
parent
f5ae34fc7f
commit
eff44b1e23
Binary file not shown.
BIN
Skyrim.esm
BIN
Skyrim.esm
Binary file not shown.
Binary file not shown.
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
|
Function GiveEP(int ToGive) Global
|
||||||
|
|
||||||
((Game.GetForm(0x14) as Actor) as _00E_EPUpdateFunctions).receiveEP(ToGive)
|
(Game.GetForm(0x14) as _00E_EPUpdateFunctions).receiveEP(ToGive)
|
||||||
|
|
||||||
EndFunction
|
EndFunction
|
||||||
|
@ -13,9 +13,7 @@ Event OnDeath(Actor akKiller)
|
|||||||
PlayerREF = Game.GetPlayer()
|
PlayerREF = Game.GetPlayer()
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If (PlayerREF as _00E_EPUpdateFunctions).receiveEP(RewardExp)
|
_00E_EPHandler.GiveEP(RewardExp)
|
||||||
; Player receives EXP
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Scriptname _00E_EPUpdateFunctions extends Actor
|
Scriptname _00E_EPUpdateFunctions extends Actor
|
||||||
|
|
||||||
|
|
||||||
import Math
|
import Math
|
||||||
|
|
||||||
int MapMarkersDiscoveredCounter = 0
|
int MapMarkersDiscoveredCounter = 0
|
||||||
int LocksPickedCounter = 0
|
int LocksPickedCounter = 0
|
||||||
int ItemsPickpocketedCounter = 0
|
int ItemsPickpocketedCounter = 0
|
||||||
@ -32,7 +32,6 @@ Event OnPlayerLoadGame()
|
|||||||
GoToState("RealPlayer")
|
GoToState("RealPlayer")
|
||||||
EndIf
|
EndIf
|
||||||
UpdateLevelUpSystem() ; Failsafe and version update
|
UpdateLevelUpSystem() ; Failsafe and version update
|
||||||
UnregisterForUpdate()
|
|
||||||
RegisterForSingleUpdate(3.5)
|
RegisterForSingleUpdate(3.5)
|
||||||
EndIf
|
EndIf
|
||||||
EndEvent
|
EndEvent
|
||||||
@ -198,16 +197,6 @@ State RealPlayer
|
|||||||
RegisterForSingleUpdate(3.5) ; seems like a decent value
|
RegisterForSingleUpdate(3.5) ; seems like a decent value
|
||||||
EndEvent
|
EndEvent
|
||||||
|
|
||||||
|
|
||||||
Event OnDeath(Actor akKiller)
|
|
||||||
|
|
||||||
if Player.IsInCombat()
|
|
||||||
_00E_Player_sIdiot.Show()
|
|
||||||
receiveEP(1000)
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
EndEvent
|
|
||||||
|
|
||||||
EndState
|
EndState
|
||||||
|
|
||||||
Event OnDeath(Actor akKiller)
|
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_Death Auto
|
||||||
Message Property _00E_Player_sArcaneFever_Critical Auto
|
Message Property _00E_Player_sArcaneFever_Critical Auto
|
||||||
Message Property _00E_Player_sArcaneFever_Cure Auto
|
Message Property _00E_Player_sArcaneFever_Cure Auto
|
||||||
Message Property _00E_Player_sIdiot Auto
|
|
||||||
Message Property _00E_sEPNeeded Auto
|
Message Property _00E_sEPNeeded Auto
|
||||||
Message Property _00E_Levelup Auto
|
Message Property _00E_Levelup Auto
|
||||||
Message Property _00E_Tutorial_EPSystem Auto
|
Message Property _00E_Tutorial_EPSystem Auto
|
||||||
|
@ -42,9 +42,7 @@ Function PlayDeathFX()
|
|||||||
myActorBase.SetEssential(True)
|
myActorBase.SetEssential(True)
|
||||||
|
|
||||||
If RewardExp > 0
|
If RewardExp > 0
|
||||||
If (Game.GetPlayer() as _00E_EPUpdateFunctions).receiveEP(RewardExp)
|
_00E_EPHandler.GiveEP(RewardExp)
|
||||||
; Player receives EXP
|
|
||||||
EndIf
|
|
||||||
EndIf
|
EndIf
|
||||||
EndFunction
|
EndFunction
|
||||||
|
|
||||||
|
@ -77,9 +77,7 @@ Function PlayDeathFX()
|
|||||||
|
|
||||||
If doReceiveEP
|
If doReceiveEP
|
||||||
Utility.Wait(0.5)
|
Utility.Wait(0.5)
|
||||||
If (PlayerREF as _00E_EPUpdateFunctions).receiveEP(__Config_RewardExp)
|
_00E_EPHandler.GiveEP(__Config_RewardExp)
|
||||||
; Player receives EXP
|
|
||||||
EndIf
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If __Config_DeleteActor
|
If __Config_DeleteActor
|
||||||
|
Loading…
Reference in New Issue
Block a user