#pragma once
-
+#include "spells.h"
/*
* Information about the player's "magic"
*
#define MAX_GF 117
+/*
+ * The "name" of spell 'N' is stored as spell_names[X][N],
+ * where X is 0 for mage-spells and 1 for priest-spells.
+ */
+typedef struct magic_type magic_type;
+
+struct magic_type
+{
+ PLAYER_LEVEL slevel; /* Required level (to learn) */
+ MANA_POINT smana; /* Required mana (to cast) */
+ PERCENTAGE sfail; /* Minimum chance of failure */
+ EXP sexp; /* Encoded experience bonus */
+};
+
extern const magic_type technic_info[NUM_TECHNIC][32];
/* spells3.c */
//#include "player-skill.h"
-
-/*
- * The "name" of spell 'N' is stored as spell_names[X][N],
- * where X is 0 for mage-spells and 1 for priest-spells.
- */
-typedef struct magic_type magic_type;
-
-struct magic_type
-{
- PLAYER_LEVEL slevel; /* Required level (to learn) */
- MANA_POINT smana; /* Required mana (to cast) */
- PERCENTAGE sfail; /* Minimum chance of failure */
- EXP sexp; /* Encoded experience bonus */
-};