mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-06 22:05:06 +00:00
shmup:: sharks on dry land now die/transform
This commit is contained in:
parent
a6d36228b7
commit
45ba2f0229
@ -1845,6 +1845,12 @@ void moveMonster(monster *m, int delta) {
|
|||||||
if(m->base->wall == waRose && !survivesThorns(m->type))
|
if(m->base->wall == waRose && !survivesThorns(m->type))
|
||||||
killMonster(m, moNone);
|
killMonster(m, moNone);
|
||||||
|
|
||||||
|
if(among(m->type, moGreaterShark, moShark, moCShark) && !isWateryOrBoat(m->base)) {
|
||||||
|
if(m->type == moGreaterShark) m->type = moGreaterM;
|
||||||
|
else killMonster(m, moNone, AF_CRUSH);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
if(isWatery(m->base) && !survivesWater(m->type) && !m->inBoat && m->type != moReptile)
|
if(isWatery(m->base) && !survivesWater(m->type) && !m->inBoat && m->type != moReptile)
|
||||||
killMonster(m, moNone);
|
killMonster(m, moNone);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user