From 3568ba01509d9041d50c953b96b33250024019cb Mon Sep 17 00:00:00 2001 From: Sainan Date: Sun, 5 Jan 2025 03:17:55 +0100 Subject: [PATCH] feat: also handle DailyFocus on daily reset --- src/controllers/api/inventoryController.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/controllers/api/inventoryController.ts b/src/controllers/api/inventoryController.ts index a059408a..949cc11f 100644 --- a/src/controllers/api/inventoryController.ts +++ b/src/controllers/api/inventoryController.ts @@ -46,6 +46,7 @@ export const inventoryController: RequestHandler = async (request, response) => inventory.DailyAffiliationKahl = 16000 + inventory.PlayerLevel * 500; inventory.DailyAffiliationCavia = 16000 + inventory.PlayerLevel * 500; inventory.DailyAffiliationHex = 16000 + inventory.PlayerLevel * 500; + inventory.DailyFocus = 250000 + inventory.PlayerLevel * 5000; await inventory.save(); }