1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-22 01:17:39 +00:00

Orb of Air now affects boats, statues, thumpers, and barrels

This commit is contained in:
Zeno Rogue
2019-01-03 03:19:38 +01:00
parent f546bba84a
commit 458b3f5dae
2 changed files with 39 additions and 12 deletions

View File

@@ -31,6 +31,10 @@ bool isWatery(cell *c) {
return c->wall == waCamelotMoat || c->wall == waSea || c->wall == waLake;
}
bool isBoat(cell *c) {
return among(c->wall, waBoat, waStrandedBoat);
}
bool isChasmy(cell *c) {
return c->wall == waChasm || c->wall == waSulphur || c->wall == waSulphurC || c->wall == waBubble ||
c->wall == waMercury;