返回提交历史
Modified
src/controllers/api/inventoryController.ts
+1
-0
Modified
src/controllers/api/missionInventoryUpdateController.ts
+1
-0
Modified
src/types/inventoryTypes/inventoryTypes.ts
+1
-1
XFEstudio/XFESpaceNinjaServer
fix: aborting Mission and completeAllQuests config (#858)
ebd51cc3
代码差异
3 个文件
+3
-1
@@ -127,6 +127,7 @@ export const inventoryController: RequestHandler = async (request, response) =>
127
127
}
128
128
129
129
inventoryResponse.ArchwingEnabled = true;
130
inventoryResponse.ActiveQuest = ""; //TODO: might need to reconsider this if this does not work long term.
130
131
131
132
// Skip "Watch The Maker"
132
133
addString(inventoryResponse.NodeIntrosCompleted, "/Lotus/Levels/Cinematics/NewWarIntro/NewWarStageTwo.level");
@@ -58,6 +58,7 @@ export const missionInventoryUpdateController: RequestHandler = async (req, res)
58
58
console.log(`Mission failed: ${missionReport.RewardInfo?.node}`);
59
59
//todo: return expected response for failed mission
60
60
res.json([]);
61
return;
61
62
//duvirisadjob does not provide missionStatus
62
63
}
63
64
@@ -43,7 +43,6 @@ export interface IInventoryDatabase
43
43
GuildId?: Types.ObjectId; // GuildId changed from ?IOid to ?Types.ObjectId
44
44
PendingRecipes: IPendingRecipe[];
45
45
QuestKeys: IQuestKeyDatabase[];
46
ActiveQuest: string;
47
46
BlessingCooldown: Date;
48
47
Ships: Types.ObjectId[];
49
48
WeaponSkins: IWeaponSkinDatabase[];
@@ -207,6 +206,7 @@ export interface IInventoryClient extends IDailyAffiliations {
207
206
ReceivedStartingGear: boolean;
208
207
Ships: IShipInventory[];
209
208
QuestKeys: IQuestKeyClient[];
209
ActiveQuest: string;
210
210
FlavourItems: IFlavourItem[];
211
211
Scoops: IEquipmentDatabase[];
212
212
LoadOutPresets: ILoadOutPresets;