mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-18 15:00:26 +00:00
ambush restriction no longer considers friendly, slow, or multi-tile monsters
This commit is contained in:
parent
9616b76848
commit
42b61e0053
2
game.cpp
2
game.cpp
@ -6765,7 +6765,7 @@ int ambushSize(cell *c, eItem what) {
|
||||
bool restricted = false;
|
||||
for(cell *c2: dcal) {
|
||||
if(c2->cpdist > 3) break;
|
||||
if(c2->monst) restricted = true;
|
||||
if(c2->monst && !isFriendly(c2) && !slowMover(c2) && !isMultitile(c2)) restricted = true;
|
||||
}
|
||||
|
||||
int qty = items[itHunting];
|
||||
|
Loading…
Reference in New Issue
Block a user