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

SpaceNinjaServer

A simple server for a small space ninja game

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

XFEstudio/SpaceNinjaServer

fix: don't give credits for junctions, the index, and free flight (#1635)

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

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

代码差异

1 个文件 +8 -1
Modified src/services/missionInventoryUpdateService.ts +8 -1
@@ -586,7 +586,14 @@ export const addMissionRewards = async (
586 586 const node = ExportRegions[missions.Tag];
587 587
588 588 //node based credit rewards for mission completion
589 if (node.missionIndex !== 28) {
589 if (
590 node.missionIndex != 23 && // junction
591 node.missionIndex != 28 && // open world
592 missions.Tag != "SolNode761" && // the index
593 missions.Tag != "SolNode762" && // the index
594 missions.Tag != "SolNode763" && // the index
595 missions.Tag != "CrewBattleNode556" // free flight
596 ) {
590 597 const levelCreditReward = getLevelCreditRewards(node);
591 598 missionCompletionCredits += levelCreditReward;
592 599 inventory.RegularCredits += levelCreditReward;