fix ranking up lich when guess is correct and not vice-versa
All checks were successful
Build / build (push) Successful in 47s
Build / build (pull_request) Successful in 2m5s

This commit is contained in:
Sainan 2025-06-07 01:36:54 +02:00
parent 51057ee3f9
commit 3393c31086

View File

@ -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;