fix: cap nemesis rank #2122
@ -151,7 +151,7 @@ export const nemesisController: RequestHandler = async (req, res) => {
|
||||
} else {
|
||||
const passcode = getNemesisPasscode(inventory.Nemesis!);
|
||||
let RankIncrease: number | undefined;
|
||||
if (passcode[body.position] == body.guess) {
|
||||
if (passcode[body.position] != body.guess) {
|
||||
const manifest = getNemesisManifest(inventory.Nemesis!.manifest);
|
||||
if (inventory.Nemesis!.Rank + 1 < manifest.systemIndexes.length) {
|
||||
inventory.Nemesis!.Rank += 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user