1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-20 23:50:27 +00:00

fixed a bug in notDippingFor

This commit is contained in:
Zeno Rogue 2020-12-24 06:07:14 +01:00
parent 96f84c77ca
commit 1b8b2f4c1e

View File

@ -39,7 +39,7 @@ EX bool notDippingFor(eItem i) {
int v = items[i] - currentLocalTreasure; int v = items[i] - currentLocalTreasure;
if(v <= 10) return true; if(v <= 10) return true;
if(v >= 20) return false; if(v >= 20) return false;
return v >= hrand(10) + 10; return v < hrand(10) + 10;
} }
EX bool notDippingForExtra(eItem i, eItem x) { EX bool notDippingForExtra(eItem i, eItem x) {