Angband
Data Fields
class_spell Struct Reference

A structure to hold class-dependent information on spells. More...

#include <player.h>

Data Fields

char * name
char * text
struct effecteffect
 The spell's effect.
int sidx
 The index of this spell for this class.
int bidx
 The index into the player's books array.
int slevel
 Required level (to learn)
int smana
 Required mana (to cast)
int sfail
 Base chance of failure.
int sexp
 Encoded experience bonus.

Detailed Description

A structure to hold class-dependent information on spells.

Field Documentation

int bidx

The index into the player's books array.

Referenced by parse_class_spell().

struct effect* effect
char* name
int sexp

Encoded experience bonus.

Referenced by parse_class_spell(), and spell_cast().

int sfail

Base chance of failure.

Referenced by parse_class_spell(), and spell_chance().

int sidx
int slevel
int smana

Required mana (to cast)

Referenced by do_cmd_cast(), parse_class_spell(), spell_cast(), spell_chance(), and spell_menu_display().

char* text

Referenced by cleanup_class(), and parse_class_desc().


The documentation for this struct was generated from the following file: