Angband
Data Fields
player_class Struct Reference

Player class info. More...

#include <player.h>

Data Fields

struct player_classnext
 
const char * name
 
unsigned int cidx
 
const char * title [10]
 Titles. More...
 
int c_adj [STAT_MAX]
 Stat modifier. More...
 
int c_skills [SKILL_MAX]
 Class skills. More...
 
int x_skills [SKILL_MAX]
 Extra skills. More...
 
int c_mhp
 Hit-dice adjustment. More...
 
int c_exp
 Experience factor. More...
 
bitflag pflags [PF_SIZE]
 (Player) flags More...
 
int max_attacks
 Maximum possible attacks. More...
 
int min_weight
 Minimum weapon weight for calculations. More...
 
int att_multiply
 Multiplier for attack calculations. More...
 
struct start_itemstart_items
 Starting inventory. More...
 
struct class_magic magic
 Magic spells. More...
 

Detailed Description

Player class info.

Field Documentation

int att_multiply

Multiplier for attack calculations.

Referenced by calc_blows(), parse_class_attack(), and test_attack0().

int c_adj[STAT_MAX]
int c_exp

Experience factor.

Referenced by class_help(), parse_class_info(), player_generate(), and test_info0().

int c_mhp

Hit-dice adjustment.

Referenced by class_help(), parse_class_info(), player_generate(), and test_info0().

int c_skills[SKILL_MAX]
unsigned int cidx
struct class_magic magic
int max_attacks

Maximum possible attacks.

Referenced by calc_blows(), generate_stats(), parse_class_attack(), and test_attack0().

int min_weight

Minimum weapon weight for calculations.

Referenced by calc_blows(), parse_class_attack(), and test_attack0().

const char* name
struct player_class* next
bitflag pflags[PF_SIZE]

(Player) flags

Referenced by calc_bonuses(), class_help(), parse_class_flags(), and test_flags0().

struct start_item* start_items

Starting inventory.

Referenced by cleanup_class(), parse_class_equip(), player_outfit(), and test_equip0().

const char* title[10]
int x_skills[SKILL_MAX]

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