]> granicus.if.org Git - nethack/commit
monster polearm usage (trunk only)
authornethack.rankin <nethack.rankin>
Sat, 9 Jun 2007 02:18:44 +0000 (02:18 +0000)
committernethack.rankin <nethack.rankin>
Sat, 9 Jun 2007 02:18:44 +0000 (02:18 +0000)
commit8dbbd1d2d0bd44545572bbea2053b112ffa05406
tree9153c437b20c000ee22a5b180ef14a0fa2fccdc8
parent8a1d0746862eaad184a54949e80a799f7f13dbcc
monster polearm usage (trunk only)

     From newsgroup discussion, reproduced with current dev code (the
missing capitalization is a post-3.4.3 buglet):

  The orc tries to wield a halberd.
  the orc's bow is welded to her hand!
  The orc thrusts a halberd.  You are almost hit by a halberd.

Caused by overloading polearm attacks with throwing.  The monster throwing
code didn't enforce that a polearm must be successfully wielded.
doc/fixes35.0
src/mthrowu.c
src/weapon.c