XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFESpaceNinjaServer

A simple server for a small space ninja game

公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/XFESpaceNinjaServer

fix: bump DuviriInfo.NumCompletions when completing one of its modes (#2698)

Closes #2697 Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/2698 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>

78b8cf4c
Sainan <63328889+Sainan@users.noreply.github.com>
提交于

代码差异

1 个文件 +1 -0
Modified src/services/missionInventoryUpdateService.ts +1 -0
@@ -801,6 +801,7 @@ export const addMissionInventoryUpdates = async (
801 801 // Duviri cave offers (generated with the duviri seed) change after completing one of its game modes (not when aborting).
802 802 if (inventoryUpdates.MissionStatus != "GS_QUIT") {
803 803 inventory.DuviriInfo!.Seed = generateRewardSeed();
804 inventory.DuviriInfo!.NumCompletions += 1;
804 805 }
805 806 break;
806 807 }