From 57f6fb5f71dfb342135640e13e4e877d8fae60a4 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Wed, 27 Mar 2024 16:54:00 +0100 Subject: [PATCH] in countHyperstones, two variants of Mirror are counted once --- landlock.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/landlock.cpp b/landlock.cpp index 3ffc46bc..e519b0df 100644 --- a/landlock.cpp +++ b/landlock.cpp @@ -252,7 +252,10 @@ EX void countHyperstoneQuest(int& i1, int& i2) { i1 = 0; i2 = 0; generateLandList(isLandIngame); for(eLand l: landlist) { + // no treasure if(l == laCA) continue; + // same treasure, so count only once + if(l == laMirrorOld && isLandIngame(laMirror)) continue; eItem ttype = treasureType(l); if(!required_for_hyperstones(ttype)) continue; i2++; if(items[ttype] >= R10) i1++;