Talk:Ranged attack

From NetHackWiki
Revision as of 12:58, 13 May 2012 by Tjr (talk | contribs) (monster breath and wands while in melee range)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Monster ranged attacks in melee range

Folklore has it that dragons and other monsters with innate ranged attacks cannot use their ranged attack on you if you are in melee range. Others can and do occasionally zap wands at you. Where is this handled in the code?

Non-"nearby" monsters (whatever that means) will only try to use ranged attacks, monmove.c, line 532. That doesn't seem to account for this phenomenon. --Tjr (talk) 12:58, 13 May 2012 (UTC)