1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-18 23:10:26 +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