From: Pasi Kallinen Date: Tue, 24 Nov 2015 09:35:45 +0000 (+0200) Subject: Prevent kraken farming X-Git-Tag: NetHack-3.6.0_RC01~21 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=772fea0361422057f1c479b87558336857506ea4;p=nethack Prevent kraken farming ...or at least make it more inconvenient, by preventing fishy creatures from revival by undead turning unless they're in a pool. --- diff --git a/src/zap.c b/src/zap.c index eb3d20e41..474f19563 100644 --- a/src/zap.c +++ b/src/zap.c @@ -704,6 +704,13 @@ boolean by_hero; x = xy.x, y = xy.y; } + if (mons[montype].mlet == S_EEL && !IS_POOL(levl[x][y].typ)) { + if (by_hero && cansee(x,y)) + pline("%s twitches feebly.", + upstart(corpse_xname(corpse, (const char *) 0, CXN_PFX_THE))); + return (struct monst *) 0; + } + if (cant_revive(&montype, TRUE, corpse)) { /* make a zombie or doppelganger instead */ /* note: montype has changed; mptr keeps old value for newcham() */