fix: update TradesRemaining at daily reset
All checks were successful
Build / build (20) (push) Successful in 44s
Build / build (22) (pull_request) Successful in 1m15s
Build / build (18) (push) Successful in 1m14s
Build / build (22) (push) Successful in 1m18s
Build / build (18) (pull_request) Successful in 45s
Build / build (20) (pull_request) Successful in 1m12s
All checks were successful
Build / build (20) (push) Successful in 44s
Build / build (22) (pull_request) Successful in 1m15s
Build / build (18) (push) Successful in 1m14s
Build / build (22) (push) Successful in 1m18s
Build / build (18) (pull_request) Successful in 45s
Build / build (20) (pull_request) Successful in 1m12s
This commit is contained in:
parent
92e8ffd709
commit
28c928f352
@ -34,6 +34,7 @@ export const inventoryController: RequestHandler = async (request, response) =>
|
|||||||
}
|
}
|
||||||
inventory.DailyFocus = 250000 + inventory.PlayerLevel * 5000;
|
inventory.DailyFocus = 250000 + inventory.PlayerLevel * 5000;
|
||||||
inventory.GiftsRemaining = Math.max(8, inventory.PlayerLevel);
|
inventory.GiftsRemaining = Math.max(8, inventory.PlayerLevel);
|
||||||
|
inventory.TradesRemaining = inventory.PlayerLevel;
|
||||||
|
|
||||||
inventory.LibraryAvailableDailyTaskInfo = createLibraryDailyTask();
|
inventory.LibraryAvailableDailyTaskInfo = createLibraryDailyTask();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user