Fixed Jespar not following player in the Word of the Dead after combat in waiting state

This commit is contained in:
Eddoursul 2022-08-23 16:07:54 +02:00
parent d70aac2e2f
commit 1e8da21041
3 changed files with 2 additions and 6 deletions

Binary file not shown.

View File

@ -26,7 +26,7 @@ EndEvent
Function SendEnterEvent() Function SendEnterEvent()
if (CurrentQuest.GetStage() >= ValidStageMin ) && (CurrentQuest.GetStage() < ValidStageMax ) if (CurrentQuest.GetCurrentStageID() >= ValidStageMin ) && (CurrentQuest.GetCurrentStageID() < ValidStageMax )
bool bWasZero bool bWasZero
@ -62,13 +62,11 @@ Function SendEnterEvent()
EndIf EndIf
Return
EndFunction EndFunction
Function SendExitEvent() Function SendExitEvent()
If (CurrentQuest.GetStage() >= ValidStageMin) && (CurrentQuest.GetStage() < ValidStageMax ) If (CurrentQuest.GetCurrentStageID() >= ValidStageMin) && (CurrentQuest.GetCurrentStageID() < ValidStageMax )
If InTrigger == True If InTrigger == True
TravelStateVariable.SetValue((TravelStateVariable.GetValue() - 1)) TravelStateVariable.SetValue((TravelStateVariable.GetValue() - 1))
@ -97,8 +95,6 @@ Function SendExitEvent()
Endif Endif
Return
EndFunction EndFunction
;===================================================================================== ;=====================================================================================