Source:NetHack 2.2a/spell.h

Below is the full text to spell.h from the source code of NetHack 2.2a. To link to a particular line, write [[NetHack 2.2a/spell.h#line123 ]], for example.

Warning! This is the source code from an old release. For the latest release, see Source code

1.   /*	SCCS Id: @(#)spell.h	2.1	87/10/18 2.   /* M. Stephenson  07-07-86 */ 3.    4.    #ifndef SPELL_H 5.   #define SPELL_H 6.    7.    struct	spell  { 8.    9.    	int	sp_id;			/* spell id */ 10.  	int	sp_lev;			/* power level */ 11.  	int	sp_flags;		/* spfx flags */ 12.  #ifdef HARD 13.  	int 	sp_uses;		/* uses left to spell */ 14.  #endif 15.  };  16.    17.    18.   #endif