NetHack 1.3d/wizard.c