Half_physical_damage 03

- fish out of water
This commit is contained in:
nethack.allison
2003-10-21 17:54:32 +00:00
parent 32234b1da4
commit 1369d5831a

View File

@@ -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) {