fix: don't touch NemesisAbandonedRewards when spawning a lich #1275

Merged
Sainan merged 1 commits from no-abanonded into main 2025-03-22 07:30:30 -07:00

View File

@ -46,7 +46,7 @@ export const nemesisController: RequestHandler = async (req, res) => {
} }
}); });
} else if ((req.query.mode as string) == "s") { } else if ((req.query.mode as string) == "s") {
const inventory = await getInventory(accountId, "Nemesis NemesisAbandonedRewards"); const inventory = await getInventory(accountId, "Nemesis");
const body = getJSONfromString<INemesisStartRequest>(String(req.body)); const body = getJSONfromString<INemesisStartRequest>(String(req.body));
body.target.fp = BigInt(body.target.fp); body.target.fp = BigInt(body.target.fp);
@ -100,7 +100,6 @@ export const nemesisController: RequestHandler = async (req, res) => {
MissionCount: 0, MissionCount: 0,
LastEnc: 0 LastEnc: 0
}; };
inventory.NemesisAbandonedRewards = []; // unclear if we need to do this since the client also submits this with missionInventoryUpdate
await inventory.save(); await inventory.save();
res.json({ res.json({