]> granicus.if.org Git - nethack/commitdiff
mark jabberwocks as M1_NOHANDS
authornethack.rankin <nethack.rankin>
Tue, 26 Jul 2011 01:37:53 +0000 (01:37 +0000)
committernethack.rankin <nethack.rankin>
Tue, 26 Jul 2011 01:37:53 +0000 (01:37 +0000)
     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.

doc/fixes34.4
src/monst.c

index f836dfd8e04b492e9fe0a439cc8b133d27546b41..eea2e2d95d1548f26a4996de51289a28486c01ff 100644 (file)
@@ -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
index 5e1aeb4c63ae8473caf1be5e6d290ea645b31e85..eb3063eaedbf0a8799884cf6bf8b3282f5abeb89 100644 (file)
@@ -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