From 1369d5831aa108e5a2a1689547d5edb3748643a4 Mon Sep 17 00:00:00 2001 From: "nethack.allison" Date: Tue, 21 Oct 2003 17:54:32 +0000 Subject: [PATCH] Half_physical_damage 03 - fish out of water --- src/allmain.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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) {