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: use netracell search pulse only when container item was picked up (#2687)

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

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

代码差异

1 个文件 +6 -6
Modified src/services/missionInventoryUpdateService.ts +6 -6
@@ -1219,12 +1219,6 @@ export const addMissionRewards = async (
1219 1219 }
1220 1220 ]);
1221 1221 }
1222
1223 // Consume netracells search pulse. Moved here to only cover successful completions. Discussed in https://onlyg.it/OpenWF/SpaceNinjaServer/issues/2673
1224 if (missions.Tag == "SolNode720") {
1225 updateEntratiVault(inventory);
1226 inventory.EntratiVaultCountLastPeriod! += 1;
1227 }
1228 1222 }
1229 1223
1230 1224 if (rewardInfo.useVaultManifest) {
@@ -1391,6 +1385,12 @@ export const addMissionRewards = async (
1391 1385 logger.error(`unknown droptable ${si.DropTable} for DROP_MISC_ITEM`);
1392 1386 }
1393 1387 }
1388
1389 if (si.DropTable == "/Lotus/Types/DropTables/ContainerDropTables/VoidVaultMissionRewardsDropTable") {
1390 // Consume netracells search pulse; only when the container reward was picked up. Discussed in https://onlyg.it/OpenWF/SpaceNinjaServer/issues/2673
1391 updateEntratiVault(inventory);
1392 inventory.EntratiVaultCountLastPeriod! += 1;
1393 }
1394 1394 }
1395 1395 }
1396 1396