From: nethack.allison Date: Sun, 12 Oct 2003 22:56:36 +0000 (+0000) Subject: Vlad won't use digging in his tower X-Git-Tag: MOVE2GIT~1712 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bcdb8cf7f9f882b47b80abdf8eb8d37a13913ab2;p=nethack Vlad won't use digging in his tower wrote: > [...] Vlad happened to be generated with a /WoDig and tried to > make an escape hole during his last few moves. Shouldn't he > know, that the floor in his own tower is undigable? So he lost > valuable time with a pretty senseless action... --- diff --git a/doc/fixes34.3 b/doc/fixes34.3 index 8fc0a33b0..c846a491e 100644 --- a/doc/fixes34.3 +++ b/doc/fixes34.3 @@ -47,6 +47,7 @@ surface() returns "bottom" when Underwater bill for all discarded, opened tins monsters that cannot pick things up cannot throw things either eating an amulet of unchanging removes intrinsic polymorph +Vlad won't wast time trying to use wand of digging in his own tower Platform- and/or Interface-Specific Fixes diff --git a/src/muse.c b/src/muse.c index 6dd122900..9d776f8ac 100644 --- a/src/muse.c +++ b/src/muse.c @@ -438,7 +438,9 @@ struct monst *mtmp; /* digging wouldn't be effective; assume they know that */ && !(levl[x][y].wall_info & W_NONDIGGABLE) && !(Is_botlevel(&u.uz) || In_endgame(&u.uz)) - && !(is_ice(x,y) || is_pool(x,y) || is_lava(x,y))) { + && !(is_ice(x,y) || is_pool(x,y) || is_lava(x,y)) + && !(mtmp->data == &mons[PM_VLAD_THE_IMPALER] + && In_V_tower(&u.uz))) { m.defensive = obj; m.has_defense = MUSE_WAN_DIGGING; }