How can I get monsters to pick up and use attack wands?
Analeea last edited by
Intelligent monsters in NetHack will typically use any carried attack wands instead of their melee attacks, even if the wand is weak and their melee attack is instadeath. Is there a good way to exploit this behavior by giving extremely dangerous monsters spare wands of magic missile?
Throwing the wand doesn't seem to work, as they just ignore the item that's now on their square. Dropping it on the floor and walking away sometimes works, but not other times, and I don't know what affects this. I also don't know if they would ever seek out wands on the floor, or if I have to get lucky with their natural movement and hope they walk over the item while chasing me.
I'm mostly asking about the endgame riders, if there's any special behavior involving them. The Wizard of Yendor would also be a good candidate, but I think his covetous nature would make giving him a wand too difficult. I'm also not positive it takes priority over spellcasting, which is the real danger for him.
https://nethackwiki.com/wiki/Pick_up#Monsters , intelligent monsters should pick up and use charged attack wands. I just tested this in https://nethackwiki.com/wiki/Wizard_mode and it does work with the https://nethackwiki.com/wiki/Riders too.
However, there are a couple of practical limitations to using this method to deal with the riders. One is that the priests and the angels on the Astral Plane level also love to pick up wands, and will often grab them before the riders do.
In fact, whereas the riders seem to ignore wands unless they just happen to step on them on their way to the player, priests and angels (and presumably other intelligent monsters) will actively seek them out within a radius of up to sqrt(5) blocks (i.e. up to a chess knight's move away), moving towards the wand as long as it's closer to them than the player is (and as long as they're not lined up with the player, as described below).
The other problem is that there's a deliberate https://github.com/NetHack/NetHack/blob/NetHack-3.6.6_Released/src/monmove.c#L942-L950 * that stops monsters from picking up items if they're "in combat", which basically means either adjacent to you or lined up orthogonally or diagonally so that they could throw something at you.** (It doesn't check whether the monster has something they could throw, just whether they could hit you if they did.)
Since the Astral Plane tends to be quite crowded, and since the riders normally charge straight at you (and will even displace other monsters to do so), it's quite hard to maneuver them into a position where they'll actually choose to stop and pick up items rather than attack you, at least not without clearing the area of all other enemies first. And if you can do that reliably, you can probably just run to the altar and ascend anyway.
*) I'm pretty sure that this is a new thing in NetHack 3.6. I remember that in earlier versions you could quite easily get monsters stuck in a loop where you'd e.g. throw a dagger at the monster and it would spend its next turn picking up the dagger you just threw, letting you throw another dagger on your own turn and so on, until the monster died with half a dozen daggers in its inventory. The "in line" check was presumably added to prevent that from happening; the fact that it also makes it harder to trick monsters into picking up wands is probably just an unintentional side effect.
**) Based on wizmode testing, it seems that this check is applied before movement, so that it's possible for a monster that's not currently lined up with you to move into your line of fire and pick up an item there. But a monster that's currently lined up with you will ignore any items on the ground, whether the item is lined up with you or not.