3 #include "realm/realm-types.h"
4 #include "system/angband.h"
6 #define NUM_TECHNIC (MAX_REALM - MIN_TECHNIC + 1)
9 * The "name" of spell 'N' is stored as spell_names[X][N],
10 * where X is 0 for mage-spells and 1 for priest-spells.
12 typedef struct magic_type {
13 PLAYER_LEVEL slevel; /* Required level (to learn) */
14 MANA_POINT smana; /* Required mana (to cast) */
15 PERCENTAGE sfail; /* Minimum chance of failure */
16 EXP sexp; /* Encoded experience bonus */
19 extern const magic_type technic_info[NUM_TECHNIC][32];