need hands to throw
From the newsgroup: slash'em lychanthrope character could throw while in wolf form. That came straight from nethack; any animal capable of manipulating an object--possibly with its mouth--could throw things. Now hands are required. This doesn't require free hands, although it probably should; it's kind of tough to imagine making a competent throw while your hands are stuck to a cursed two-handed weapon.
This commit is contained in:
@@ -293,6 +293,7 @@ monster killed in midst of multi-shot volley throwing/shooting might cause
|
||||
can't arm bear traps or land mines on Planes of Air or Water
|
||||
statues that "come to life" when trap activates shouldn't start out sleeping
|
||||
shopkeepers and priests wouldn't step on graves put in their rooms by bones
|
||||
can't throw if poly'd into form which lacks hands
|
||||
|
||||
|
||||
Platform- and/or Interface-Specific Fixes
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* SCCS Id: @(#)dothrow.c 3.5 2006/12/08 */
|
||||
/* SCCS Id: @(#)dothrow.c 3.5 2007/01/10 */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -229,6 +229,10 @@ dothrow()
|
||||
if (notake(youmonst.data)) {
|
||||
You("are physically incapable of throwing anything.");
|
||||
return 0;
|
||||
} else if (nohands(youmonst.data)) {
|
||||
You_cant("throw without hands."); /* not `body_part(HAND)' */
|
||||
return 0;
|
||||
/*[what about !freehand(), aside from cursed missile launcher?]*/
|
||||
}
|
||||
|
||||
if(check_capacity((char *)0)) return(0);
|
||||
|
||||
Reference in New Issue
Block a user