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: skip "prove yourself" text when unlocking all missions via cheat (#2965)

Even tho the PoE beginner bounty was skipped by the cheat, Konzu would still say "Gotta prove yourself first". Giving a non-zero standing value seems to bypass that (in this case I put ~~200~~ 250 which is identical to completing beginner bounty with bonus). Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/2965 Reviewed-by: Sainan <63328889+sainan@users.noreply.github.com> Co-authored-by: Animan8000 <animan8000@noreply.localhost> Co-committed-by: Animan8000 <animan8000@noreply.localhost>

d794bd94
Animan8000 <animan8000@noreply.localhost>
提交于

代码差异

1 个文件 +5 -0
Modified src/controllers/custom/completeAllMissionsController.ts +5 -0
@@ -36,6 +36,11 @@ export const completeAllMissionsController: RequestHandler = async (req, res) =>
36 36 }
37 37 addString(inventory.NodeIntrosCompleted, "TeshinHardModeUnlocked");
38 38 addString(inventory.NodeIntrosCompleted, "CetusSyndicate_IntroJob");
39 let syndicate = inventory.Affiliations.find(x => x.Tag == "CetusSyndicate");
40 if (!syndicate) {
41 syndicate =
42 inventory.Affiliations[inventory.Affiliations.push({ Tag: "CetusSyndicate", Standing: 250, Title: 0 })]; // Non-zero standing avoids Konzu's "prove yourself" text. 250 is identical to newbie bounty + bonus
43 }
39 44 await inventory.save();
40 45 res.end();
41 46 };