返回提交历史
Modified
src/services/missionInventoryUpdateService.ts
+5
-0
XFEstudio/SpaceNinjaServer
chore: make spy mission rewards show as "identified" (#4324)
Closes #4323 Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/4324 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
8a7c7c45
代码差异
1 个文件
+5
-0
@@ -2246,6 +2246,11 @@ async function getRandomMissionDrops(
2246
2246
const drop = getRandomRewardByChance(rotationRewards, rng);
2247
2247
if (drop) {
2248
2248
drops.push({ StoreItem: drop.type, ItemCount: drop.itemCount });
2249
2250
// Spy mission rewards should show as "Identified"
2251
if (RewardInfo.VaultsCracked) {
2252
drops[drops.length - 1].FromEnemyCache = true;
2253
}
2249
2254
}
2250
2255
}
2251
2256
});