fix: aborting Mission and completeAllQuests config #858
@ -127,6 +127,7 @@ export const inventoryController: RequestHandler = async (request, response) =>
|
||||
}
|
||||
|
||||
inventoryResponse.ArchwingEnabled = true;
|
||||
inventoryResponse.ActiveQuest = ""; //TODO: might need to reconsider this if this does not work long term.
|
||||
|
||||
// Skip "Watch The Maker"
|
||||
addString(inventoryResponse.NodeIntrosCompleted, "/Lotus/Levels/Cinematics/NewWarIntro/NewWarStageTwo.level");
|
||||
|
@ -58,6 +58,7 @@ export const missionInventoryUpdateController: RequestHandler = async (req, res)
|
||||
console.log(`Mission failed: ${missionReport.RewardInfo?.node}`);
|
||||
//todo: return expected response for failed mission
|
||||
res.json([]);
|
||||
return;
|
||||
//duvirisadjob does not provide missionStatus
|
||||
}
|
||||
|
||||
|
@ -43,7 +43,6 @@ export interface IInventoryDatabase
|
||||
GuildId?: Types.ObjectId; // GuildId changed from ?IOid to ?Types.ObjectId
|
||||
PendingRecipes: IPendingRecipe[];
|
||||
QuestKeys: IQuestKeyDatabase[];
|
||||
ActiveQuest: string;
|
||||
BlessingCooldown: Date;
|
||||
Ships: Types.ObjectId[];
|
||||
WeaponSkins: IWeaponSkinDatabase[];
|
||||
@ -207,6 +206,7 @@ export interface IInventoryClient extends IDailyAffiliations {
|
||||
ReceivedStartingGear: boolean;
|
||||
Ships: IShipInventory[];
|
||||
QuestKeys: IQuestKeyClient[];
|
||||
ActiveQuest: string;
|
||||
FlavourItems: IFlavourItem[];
|
||||
Scoops: IEquipmentDatabase[];
|
||||
LoadOutPresets: ILoadOutPresets;
|
||||
|
Loading…
x
Reference in New Issue
Block a user