Do not clear player alias in The Elixir since it's used later in a condition

This commit is contained in:
Eddoursul 2022-08-11 19:28:57 +02:00
parent 9083a6f38b
commit b67d6bc9a9
2 changed files with 3 additions and 5 deletions

Binary file not shown.

View File

@ -24,12 +24,11 @@ EndEvent
Event OnItemAdded(Form akBaseItem, int aiItemCount, ObjectReference akItemReference, ObjectReference akSourceContainer) Event OnItemAdded(Form akBaseItem, int aiItemCount, ObjectReference akItemReference, ObjectReference akSourceContainer)
If FS_NQ05.GetCurrentStageID() != 35 If FS_NQ05.GetCurrentStageID() != 35
AddInventoryEventFilter(_00E_EmptyFormlist) ; in case clearing fails AddInventoryEventFilter(_00E_EmptyFormlist)
RemoveInventoryEventFilter(Garlic) RemoveInventoryEventFilter(Garlic)
RemoveInventoryEventFilter(MothWingMonarch) RemoveInventoryEventFilter(MothWingMonarch)
RemoveInventoryEventFilter(Vynroot) RemoveInventoryEventFilter(Vynroot)
RemoveInventoryEventFilter(SkeeverTail) RemoveInventoryEventFilter(SkeeverTail)
Self.Clear()
return return
endif endif
@ -57,13 +56,12 @@ EndEvent
Event OnItemRemoved(Form akBaseItem, int aiItemCount, ObjectReference akItemReference, ObjectReference akDestContainer) Event OnItemRemoved(Form akBaseItem, int aiItemCount, ObjectReference akItemReference, ObjectReference akDestContainer)
If FS_NQ05.GetStage() != 35 If FS_NQ05.GetCurrentStageID() != 35
AddInventoryEventFilter(_00E_EmptyFormlist) ; in case clearing fails AddInventoryEventFilter(_00E_EmptyFormlist)
RemoveInventoryEventFilter(Garlic) RemoveInventoryEventFilter(Garlic)
RemoveInventoryEventFilter(MothWingMonarch) RemoveInventoryEventFilter(MothWingMonarch)
RemoveInventoryEventFilter(Vynroot) RemoveInventoryEventFilter(Vynroot)
RemoveInventoryEventFilter(SkeeverTail) RemoveInventoryEventFilter(SkeeverTail)
Self.Clear()
return return
endif endif