NetHack 2.3e/wizard.c