NetHack 2.3e/spell.c