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:
parent
6481fd489e
commit
ff7f428def
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user