From: nethack.allison Date: Tue, 21 Oct 2003 17:54:32 +0000 (+0000) Subject: Half_physical_damage 03 X-Git-Tag: MOVE2GIT~1662 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1369d5831aa108e5a2a1689547d5edb3748643a4;p=nethack Half_physical_damage 03 - fish out of water --- diff --git a/src/allmain.c b/src/allmain.c index 366787be6..91ec6a234 100644 --- a/src/allmain.c +++ b/src/allmain.c @@ -154,8 +154,11 @@ moveloop() wtcap = UNENCUMBERED; } else if (Upolyd && youmonst.data->mlet == S_EEL && !is_pool(u.ux,u.uy) && !Is_waterlevel(&u.uz)) { if (u.mh > 1) { - u.mh--; - context.botl = 1; + if (!Half_physical_damage || + (Half_physical_damage && !(moves % 2))) { + u.mh--; + context.botl = 1; + } } else if (u.mh < 1) rehumanize(); } else if (Upolyd && u.mh < u.mhmax) {