mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-26 08:07:10 +00:00
worms no longer spam messages when going over lava
This commit is contained in:
1 parent
6481fd489e
commit
ff7f428def
1 file changed
+2
-2
@@ -599,11 +599,11 @@ bool survivesWater(eMonster m) {
|
||||
m == moTortoise; // Tortoises and Ivies survive, but don't go through water
|
||||
}
|
||||
|
||||
// survives Mercury or Sulphur
|
||||
// survives Mercury or Sulphur or Lava
|
||||
bool survivesPoison(eMonster m, eWall p) {
|
||||
return
|
||||
isGhost(m) || m == moWitchGhost || m == moShadow ||
|
||||
isBird(m) || m == moAirElemental || isDragon(m);
|
||||
isBird(m) || m == moAirElemental || isDragon(m) || isWorm(m);
|
||||
}
|
||||
|
||||
// flying even if stunned
|
||||
|
||||
Reference in new issue
Block a user