Add functionality to fail quests on server after failing them in-raid, fixes failing colleagues part 3 by completing sadist

This commit is contained in:
Dev 2023-07-25 20:37:45 +01:00
parent 9e056cf8f3
commit 6e33a9c37e
2 changed files with 1 additions and 18 deletions

View File

@ -52036,23 +52036,6 @@
"visibilityConditions": [] "visibilityConditions": []
}, },
"dynamicLocale": false "dynamicLocale": false
},
{
"_parent": "Quest",
"_props": {
"availableAfter": 0,
"dispersion": 0,
"dynamicLocale": false,
"id": "5edac4fb16d984318871ba2e",
"index": 1,
"parentId": "",
"status": [
4
],
"target": "5edab4b1218d181e29451435",
"visibilityConditions": []
},
"dynamicLocale": false
} }
] ]
}, },

View File

@ -181,7 +181,7 @@ export class InRaidHelper
if (preRaidQuest) if (preRaidQuest)
{ {
// post-raid quest is failed but wasn't pre-raid // post-raid quest is failed but wasn't pre-raid
if (postRaidQuest.status === QuestStatus.Fail && preRaidQuest.status !== QuestStatus.Fail) if (<string><unknown>postRaidQuest.status === "Fail" && preRaidQuest.status !== QuestStatus.Fail)
{ {
// Send failed message // Send failed message
const failBody: IFailQuestRequestData = { const failBody: IFailQuestRequestData = {