From 2421a16b2ce4c6095a306b4d1ff0938f1bac8872 Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Mon, 23 Jun 2025 04:54:36 -0700 Subject: [PATCH] fix: cap spy rotations at C (#2251) for Jade Shadows' spy mission with 4 vaults. will simply do ABCC in this case. Closes #2250 Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/2251 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com> --- src/services/missionInventoryUpdateService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/missionInventoryUpdateService.ts b/src/services/missionInventoryUpdateService.ts index e903f9de..0636e0cb 100644 --- a/src/services/missionInventoryUpdateService.ts +++ b/src/services/missionInventoryUpdateService.ts @@ -79,7 +79,7 @@ const getRotations = (rewardInfo: IRewardInfo, tierOverride?: number): number[] if (rewardInfo.VaultsCracked) { const rotations: number[] = []; for (let i = 0; i != rewardInfo.VaultsCracked; ++i) { - rotations.push(i); + rotations.push(Math.min(i, 2)); } return rotations; }