From: nethack.rankin Date: Tue, 26 Jul 2011 01:37:53 +0000 (+0000) Subject: mark jabberwocks as M1_NOHANDS X-Git-Tag: MOVE2GIT~193 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=164f498a41094285704dac78f4fa4389a0b18894;p=nethack mark jabberwocks as M1_NOHANDS Jabberwocks are flagged as animals hence won't use items, or else this would have been obvious long ago. They weren't flagged as no-hands, so a hero in their form could wear gloves and/or wield a weapon (or a cockatrice corpse, whose ineffectiveness when used with a claw attack which followed a bite attack led to the discovery of this oversight). I'm not sure what a jabberwock ultimately looks like, but am pretty sure that it shouldn't have usable hands, particularly ones which are only usable by a poly'd hero and not by jabberwock monsters. --- diff --git a/doc/fixes34.4 b/doc/fixes34.4 index f836dfd8e..eea2e2d95 100644 --- a/doc/fixes34.4 +++ b/doc/fixes34.4 @@ -409,6 +409,7 @@ unlit candelabrum would become unlightable if its candles had exactly 1 turn of fuel left and it was applied anywhere other than the invocation spot temporary loss of Dex from wounded legs will become permanent if it occurs while mounted and hero dismounts before steed's legs have healed +jaberwocks don't have hands Platform- and/or Interface-Specific Fixes diff --git a/src/monst.c b/src/monst.c index 5e1aeb4c6..eb3063eae 100644 --- a/src/monst.c +++ b/src/monst.c @@ -1,5 +1,4 @@ /* NetHack 3.5 monst.c $Date$ $Revision$ */ -/* SCCS Id: @(#)monst.c 3.5 2007/12/19 */ /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ /* NetHack may be freely redistributed. See license for details. */ @@ -1581,7 +1580,7 @@ struct permonst _mons2[] = { ATTK(AT_CLAW, AD_PHYS, 2,10), ATTK(AT_CLAW, AD_PHYS, 2,10), NO_ATTK, NO_ATTK), SIZ(1300, 600, MS_BURBLE, MZ_LARGE), 0, 0, - M1_ANIMAL|M1_FLY|M1_CARNIVORE, + M1_ANIMAL|M1_NOHANDS|M1_FLY|M1_CARNIVORE, M2_HOSTILE|M2_STRONG|M2_NASTY|M2_COLLECT, M3_INFRAVISIBLE, CLR_ORANGE), #if 0 /* DEFERRED */ MON("vorpal jabberwock", S_JABBERWOCK, @@ -1590,7 +1589,7 @@ struct permonst _mons2[] = { ATTK(AT_CLAW, AD_PHYS, 3, 10), ATTK(AT_CLAW, AD_PHYS, 3, 10), NO_ATTK, NO_ATTK), SIZ(1300, 600, MS_BURBLE, MZ_LARGE), 0, 0, - M1_ANIMAL|M1_FLY|M1_CARNIVORE, + M1_ANIMAL|M1_NOHANDS|M1_FLY|M1_CARNIVORE, M2_HOSTILE|M2_STRONG|M2_NASTY|M2_COLLECT, M3_INFRAVISIBLE, HI_LORD), #endif #ifdef KOPS