From 772fea0361422057f1c479b87558336857506ea4 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Tue, 24 Nov 2015 11:35:45 +0200 Subject: [PATCH] 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. --- src/zap.c | 7 +++++++ 1 file changed, 7 insertions(+) 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() */