fix: bump DuviriInfo.NumCompletions when completing one of its modes (#2698)
All checks were successful
Build Docker image / docker-arm64 (push) Successful in 1m10s
Build / build (push) Successful in 1m41s
Build Docker image / docker-amd64 (push) Successful in 1m0s

Closes #2697

Reviewed-on: #2698
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
This commit is contained in:
Sainan 2025-08-26 04:29:14 -07:00 committed by Sainan
parent 1ead04ddc1
commit 78b8cf4c77

View File

@ -801,6 +801,7 @@ export const addMissionInventoryUpdates = async (
// Duviri cave offers (generated with the duviri seed) change after completing one of its game modes (not when aborting).
if (inventoryUpdates.MissionStatus != "GS_QUIT") {
inventory.DuviriInfo!.Seed = generateRewardSeed();
inventory.DuviriInfo!.NumCompletions += 1;
}
break;
}