Angband
|
All the variable state that changes when you put on/take off equipment. More...
#include <player.h>
Data Fields | |
int | stat_add [STAT_MAX] |
Equipment stat bonuses. More... | |
int | stat_ind [STAT_MAX] |
Indexes into stat tables. More... | |
int | stat_use [STAT_MAX] |
Current modified stats. More... | |
int | stat_top [STAT_MAX] |
Maximal modified stats. More... | |
int | skills [SKILL_MAX] |
Skills. More... | |
int | speed |
Current speed. More... | |
int | num_blows |
Number of blows x100. More... | |
int | num_shots |
Number of shots. More... | |
int | ammo_mult |
Ammo multiplier. More... | |
int | ammo_tval |
Ammo variety. More... | |
int | ac |
Base ac. More... | |
int | to_a |
Bonus to ac. More... | |
int | to_h |
Bonus to hit. More... | |
int | to_d |
Bonus to dam. More... | |
int | see_infra |
Infravision range. More... | |
int | cur_light |
Radius of light (if any) More... | |
bool | heavy_wield |
Heavy weapon. More... | |
bool | heavy_shoot |
Heavy shooter. More... | |
bool | icky_wield |
Icky weapon shooter. More... | |
bool | cumber_armor |
Mana draining armor. More... | |
bool | cumber_glove |
Mana draining gloves. More... | |
bitflag | flags [OF_SIZE] |
Status flags from race and items. More... | |
bitflag | pflags [PF_SIZE] |
Player intrinsic flags. More... | |
struct element_info | el_info [ELEM_MAX] |
Resists from race and items. More... | |
All the variable state that changes when you put on/take off equipment.
Player flags are not currently variable, but useful here so monsters can learn them.
int ac |
Base ac.
Referenced by calc_bonuses(), check_hit(), get_panel_combat(), make_attack_normal(), prt_ac(), trap_check_hit(), and update_bonuses().
int ammo_mult |
Ammo multiplier.
Referenced by calc_bonuses(), do_cmd_fire(), obj_known_damage(), and obj_known_misc_combat().
int ammo_tval |
Ammo variety.
Referenced by calc_bonuses(), describe_combat(), do_cmd_fire(), do_cmd_fire_at_nearest(), obj_can_fire(), obj_is_useable(), obj_known_damage(), obj_known_misc_combat(), and player_can_fire().
bool cumber_armor |
Mana draining armor.
Referenced by calc_mana(), and update_bonuses().
bool cumber_glove |
Mana draining gloves.
Referenced by calc_mana(), and update_bonuses().
int cur_light |
Radius of light (if any)
Referenced by calc_torch(), update_bonuses(), and update_view().
struct element_info el_info[ELEM_MAX] |
Resists from race and items.
Referenced by adjust_dam(), blow_color(), calc_bonuses(), player_check_terrain_damage(), player_inc_check(), player_is_immune(), player_resists(), project_p(), rd_monster(), remove_bad_spells(), spell_color(), update_smart_learn(), and wr_monster().
Status flags from race and items.
Referenced by blow_color(), calc_bonuses(), player_inc_check(), player_of_has(), rd_monster(), remove_bad_spells(), spell_color(), update_bonuses(), update_smart_learn(), and wr_monster().
bool heavy_shoot |
Heavy shooter.
Referenced by calc_bonuses(), equip_describe(), equip_mention(), and update_bonuses().
bool heavy_wield |
Heavy weapon.
Referenced by calc_bonuses(), equip_describe(), equip_mention(), obj_known_misc_combat(), and update_bonuses().
bool icky_wield |
Icky weapon shooter.
Referenced by calc_bonuses(), spell_chance(), and update_bonuses().
int num_blows |
Number of blows x100.
Referenced by calc_bonuses(), get_panel_combat(), obj_known_blows(), obj_known_damage(), and py_attack().
int num_shots |
Number of shots.
Referenced by calc_bonuses(), do_cmd_fire(), get_panel_combat(), and obj_known_damage().
Player intrinsic flags.
Referenced by calc_bonuses(), remove_bad_spells(), and update_smart_learn().
int see_infra |
Infravision range.
Referenced by calc_bonuses(), and get_panel_skills().
Skills.
Referenced by calc_bonuses(), calc_digging_chances(), chance_of_missile_hit(), describe_effect(), do_cmd_disarm_aux(), do_cmd_disarm_chest(), do_cmd_lock_door(), do_cmd_open_aux(), do_cmd_open_chest(), do_mon_spell(), get_move_advance(), get_panel_combat(), get_panel_skills(), get_use_device_chance(), hit_trap(), melee_effect_timed(), monster_can_hear(), monster_reduce_sleep(), project_player_handler_NEXUS(), py_attack_hit_chance(), spell_color(), square_reveal_trap(), and use_aux().
int speed |
Current speed.
Referenced by calc_bonuses(), describe_effect(), get_panel_skills(), process_world(), prt_speed(), run_game_loop(), show_speed(), summon_specific(), and update_bonuses().
Equipment stat bonuses.
Referenced by calc_bonuses(), and display_player_stat_info().
Indexes into stat tables.
Referenced by blow_color(), calc_blows(), calc_bonuses(), calc_hitpoints(), decrease_timeouts(), do_cmd_throw(), fail_adjust(), level_spells(), mana_per_level(), melee_effect_handler_EAT_GOLD(), melee_effect_handler_EAT_ITEM(), min_fail(), obj_known_blows(), update_bonuses(), weight_limit(), and weight_remaining().
Maximal modified stats.
Referenced by calc_bonuses(), display_player_stat_info(), generate_stats(), and update_bonuses().
Current modified stats.
Referenced by calc_bonuses(), display_player_stat_info(), prt_stat(), and update_bonuses().
int to_a |
Bonus to ac.
Referenced by calc_bonuses(), check_hit(), get_panel_combat(), make_attack_normal(), prt_ac(), trap_check_hit(), and update_bonuses().
int to_d |
Bonus to dam.
Referenced by calc_bonuses(), get_panel_combat(), obj_known_damage(), and player_damage_bonus().
int to_h |
Bonus to hit.
Referenced by calc_bonuses(), calculate_melee_crits(), calculate_missile_crits(), chance_of_missile_hit(), critical_norm(), critical_shot(), get_panel_combat(), and py_attack_hit_chance().