4 * Information about the player's "magic"
6 * Note that a player with a "spell_book" of "zero" is illiterate.
9 typedef struct player_magic player_magic;
13 OBJECT_TYPE_VALUE spell_book; /* Tval of spell books (if any) */
14 int spell_xtra; /* Something for later */
16 int spell_stat; /* Stat for spells (if any) */
17 int spell_type; /* Spell type (mage/priest) */
19 int spell_first; /* Level of first spell */
20 int spell_weight; /* Weight that hurts spells */
22 magic_type info[MAX_MAGIC][32]; /* The available spells */
25 extern player_magic *m_info;
26 extern const player_magic *mp_ptr;