NetHack 1.4f/wizard.c