1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-16 02:09:59 +00:00

worms no longer spam messages when going over lava

This commit is contained in:
Zeno Rogue 2017-10-16 00:33:35 +02:00
parent 6481fd489e
commit ff7f428def

View File

@ -599,11 +599,11 @@ bool survivesWater(eMonster m) {
m == moTortoise; // Tortoises and Ivies survive, but don't go through water 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) { bool survivesPoison(eMonster m, eWall p) {
return return
isGhost(m) || m == moWitchGhost || m == moShadow || isGhost(m) || m == moWitchGhost || m == moShadow ||
isBird(m) || m == moAirElemental || isDragon(m); isBird(m) || m == moAirElemental || isDragon(m) || isWorm(m);
} }
// flying even if stunned // flying even if stunned