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()
if (CurrentQuest.GetStage() >= ValidStageMin ) && (CurrentQuest.GetStage() < ValidStageMax )
if (CurrentQuest.GetCurrentStageID() >= ValidStageMin ) && (CurrentQuest.GetCurrentStageID() < ValidStageMax )
bool bWasZero
@ -62,13 +62,11 @@ Function SendEnterEvent()
EndIf
Return
EndFunction
Function SendExitEvent()
If (CurrentQuest.GetStage() >= ValidStageMin) && (CurrentQuest.GetStage() < ValidStageMax )
If (CurrentQuest.GetCurrentStageID() >= ValidStageMin) && (CurrentQuest.GetCurrentStageID() < ValidStageMax )
If InTrigger == True
TravelStateVariable.SetValue((TravelStateVariable.GetValue() - 1))
@ -96,8 +94,6 @@ Function SendExitEvent()
EndIf
Endif
Return
EndFunction