feat: nemesis mode t / LastNemesisAllySpawnTime #2869

Merged
Sainan merged 2 commits from nemesis-t into main 2025-10-07 23:17:51 -07:00
Showing only changes of commit ccff43b64b - Show all commits

View File

@ -311,7 +311,7 @@ export const nemesisController: RequestHandler = async (req, res) => {
target: inventory.toJSON().Nemesis
});
} else if ((req.query.mode as string) == "t") {
const inventory = await getInventory(account._id.toString(), "NemesisHistory");
const inventory = await getInventory(account._id.toString(), "LastNemesisAllySpawnTime");
//const body = getJSONfromString<IUpdateAllySpawnTimeRequest>(String(req.body));
const now = new Date(Math.trunc(Date.now() / 1000) * 1000);
inventory.LastNemesisAllySpawnTime = now;