explain Amulet wish
In wizard mode, I used ^W to wish for the Amulet of Yendor and was immediately prompted for another wish. It was baffling and took a while to figure out. Give a message before initiating the wish.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.7 allmain.c $NHDT-Date: 1744860497 2025/04/16 19:28:17 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.276 $ */
|
||||
/* NetHack 3.7 allmain.c $NHDT-Date: 1771213100 2026/02/15 19:38:20 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.286 $ */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/*-Copyright (c) Robert Patrick Rankin, 2012. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
@@ -446,6 +446,8 @@ moveloop_core(void)
|
||||
/* the Amulet of Yendor gives a wish when initially picked up */
|
||||
if (u.uhave.amulet && !u.uevent.amulet_wish) {
|
||||
u.uevent.amulet_wish = 1;
|
||||
display_nhwindow(WIN_MESSAGE, TRUE);
|
||||
urgent_pline("The Amulet is bestowing a wish upon you!");
|
||||
makewish();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user