throwing while polymorphed
<Someone> suggested that a dragon, lacking hands, shouldn't be able to throw things. Dragons can pick things up, and it seems they can throw things the same way. However, it does seem that a notake() monster, which cannot pick things up, shouldn't be able to throw things either.
This commit is contained in:
@@ -45,6 +45,7 @@ always have warriors on the Valkyrie quest be female
|
||||
be more consistent with sounds when dropping into water
|
||||
surface() returns "bottom" when Underwater
|
||||
bill for all discarded, opened tins
|
||||
monsters that cannot pick things up cannot throw things either
|
||||
|
||||
|
||||
Platform- and/or Interface-Specific Fixes
|
||||
|
||||
@@ -203,6 +203,11 @@ dothrow()
|
||||
shotlimit = (multi || save_cm) ? multi + 1 : 0;
|
||||
multi = 0; /* reset; it's been used up */
|
||||
|
||||
if (notake(youmonst.data)) {
|
||||
You("are physically incapable of throwing anything.");
|
||||
return 0;
|
||||
}
|
||||
|
||||
if(check_capacity((char *)0)) return(0);
|
||||
obj = getobj(uslinging() ? bullets : toss_objs, "throw");
|
||||
/* it is also possible to throw food */
|
||||
@@ -285,6 +290,11 @@ dofire()
|
||||
{
|
||||
int shotlimit;
|
||||
|
||||
if (notake(youmonst.data)) {
|
||||
You("are physically incapable of doing that.");
|
||||
return 0;
|
||||
}
|
||||
|
||||
if(check_capacity((char *)0)) return(0);
|
||||
if (!uquiver) {
|
||||
if (!flags.autoquiver) {
|
||||
|
||||
Reference in New Issue
Block a user