1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-01-02 05:20:32 +00:00

no more ambushes on compasses (matters in HG)

This commit is contained in:
Zeno Rogue 2019-01-17 00:55:23 +01:00
parent 5ec818a820
commit b751fa56c6

View File

@ -6505,6 +6505,9 @@ int ambushSize(cell *c, eItem what) {
if(ambushval) if(ambushval)
return ambushval; return ambushval;
switch(what) { switch(what) {
case itCompass:
return 0;
case itHunting: case itHunting:
return min(min(qty, max(33-qty, 6)), 15); return min(min(qty, max(33-qty, 6)), 15);