Go to the source code of this file.
Enumerations | |
enum | stat_desc_type { SD_NAME, SD_LOSS, SD_DECREASE, SD_INCREASE, NUM_STAT_DESCS } |
Functions | |
const char * | stat_desc (stat_type stat, stat_desc_type desc) |
void | attribute_increase () |
void | modify_stat (stat_type which_stat, int8_t amount, bool suppress_msg, const char *cause, bool see_source=true) |
void | notify_stat_change (stat_type which_stat, int8_t amount, bool suppress_msg, const char *cause, bool see_source=true) |
void | notify_stat_change (stat_type which_stat, int8_t amount, bool suppress_msg, const item_def &cause, bool removed=false) |
void | notify_stat_change (const char *cause) |
void | jiyva_stat_action () |
bool | lose_stat (stat_type which_stat, int8_t stat_loss, bool force=false, const std::string cause="", bool see_source=true) |
bool | lose_stat (stat_type which_stat, int8_t stat_loss, bool force=false, const char *cause=NULL, bool see_source=true) |
bool | lose_stat (stat_type which_stat, int8_t stat_loss, const monster *cause, bool force=false) |
bool | lose_stat (stat_type which_stat, int8_t stat_loss, const item_def &cause, bool removed, bool force=false) |
bool | restore_stat (stat_type which_stat, int8_t stat_gain, bool suppress_msg, bool recovery=false) |
void | update_stat_zero () |
enum stat_desc_type |
void attribute_increase | ( | ) |
void jiyva_stat_action | ( | ) |
bool lose_stat | ( | stat_type | which_stat, | |
int8_t | stat_loss, | |||
const item_def & | cause, | |||
bool | removed, | |||
bool | force = false | |||
) |
bool lose_stat | ( | stat_type | which_stat, | |
int8_t | stat_loss, | |||
const monster * | cause, | |||
bool | force = false | |||
) |
bool lose_stat | ( | stat_type | which_stat, | |
int8_t | stat_loss, | |||
bool | force = false , |
|||
const char * | cause = NULL , |
|||
bool | see_source = true | |||
) |
bool lose_stat | ( | stat_type | which_stat, | |
int8_t | stat_loss, | |||
bool | force = false , |
|||
const std::string | cause = "" , |
|||
bool | see_source = true | |||
) |
void modify_stat | ( | stat_type | which_stat, | |
int8_t | amount, | |||
bool | suppress_msg, | |||
const char * | cause, | |||
bool | see_source = true | |||
) |
void notify_stat_change | ( | const char * | cause | ) |
void notify_stat_change | ( | stat_type | which_stat, | |
int8_t | amount, | |||
bool | suppress_msg, | |||
const item_def & | cause, | |||
bool | removed = false | |||
) |
void notify_stat_change | ( | stat_type | which_stat, | |
int8_t | amount, | |||
bool | suppress_msg, | |||
const char * | cause, | |||
bool | see_source = true | |||
) |
bool restore_stat | ( | stat_type | which_stat, | |
int8_t | stat_gain, | |||
bool | suppress_msg, | |||
bool | recovery = false | |||
) |
const char* stat_desc | ( | stat_type | stat, | |
stat_desc_type | desc | |||
) |
void update_stat_zero | ( | ) |