返回提交历史
Modified
src/helpers/nemesisHelpers.ts
+1
-1
XFEstudio/SpaceNinjaServer
fix: add 4 to nemesis passcode choices
ef17477a
代码差异
1 个文件
+1
-1
@@ -260,7 +260,7 @@ export const getInfNodes = (manifest: INemesisManifest, rank: number): IInfNode[
260
260
// Get a parazon 'passcode' based on the nemesis fingerprint so it's always the same for the same nemesis.
261
261
export const getNemesisPasscode = (nemesis: { fp: bigint; Faction: TNemesisFaction }): number[] => {
262
262
const rng = new SRng(nemesis.fp);
263
const choices = [0, 1, 2, 3, 5, 6, 7];
263
const choices = [0, 1, 2, 3, 4, 5, 6, 7];
264
264
let choiceIndex = rng.randomInt(0, choices.length - 1);
265
265
const passcode = [choices[choiceIndex]];
266
266
if (nemesis.Faction != "FC_INFESTATION") {