mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-30 09:17:57 +00:00
fixed a bug in notDippingFor
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user