Closed SyfSchydea closed 1 year ago
Note that claimQuest expects an index to App.game.quests.questList()
, whereas, we were previously using indices to App.game.quests.currentQuests()
It seems we can convert by fetching App.game.quests.currentQuests()[currentQuestIdx].index
Currently, it uses
App.game.quests.currentQuests()[questIdx].claim()
, but it should be usingApp.game.quests.claimQuest(questIdx)
.The current method does not check if all quests are complete, which can lead to being left with a full list of completed quests, which doesn't normally happen.