#include "AppHdr.h"#include "player-stats.h"#include "delay.h"#include "godpassive.h"#include "libutil.h"#include "macro.h"#include "mon-util.h"#include "monster.h"#include "ouch.h"#include "player.h"#include "religion.h"#include "state.h"#include "transform.h"#include "hints.h"

Defines | |
| #define | STAT_ZERO_START 10 |
| #define | STAT_DEATH_TURNS 100 |
| #define | STAT_DEATH_START_PARA 50 |
Functions | |
| void | attribute_increase () |
| void | jiyva_stat_action () |
| const char * | stat_desc (stat_type stat, stat_desc_type desc) |
| void | modify_stat (stat_type which_stat, int8_t amount, bool suppress_msg, const char *cause, bool see_source) |
| void | notify_stat_change (stat_type which_stat, int8_t amount, bool suppress_msg, const char *cause, bool see_source) |
| void | notify_stat_change (stat_type which_stat, int8_t amount, bool suppress_msg, const item_def &cause, bool removed) |
| void | notify_stat_change (const char *cause) |
| bool | lose_stat (stat_type which_stat, int8_t stat_loss, bool force, const char *cause, bool see_source) |
| bool | lose_stat (stat_type which_stat, int8_t stat_loss, bool force, const std::string cause, bool see_source) |
| bool | lose_stat (stat_type which_stat, int8_t stat_loss, const monster *cause, bool force) |
| bool | lose_stat (stat_type which_stat, int8_t stat_loss, const item_def &cause, bool removed, bool force) |
| bool | restore_stat (stat_type which_stat, int8_t stat_gain, bool suppress_msg, bool recovery) |
| void | update_stat_zero () |
Variables | |
| const char * | descs [NUM_STATS][NUM_STAT_DESCS] |
| #define STAT_DEATH_START_PARA 50 |
| #define STAT_DEATH_TURNS 100 |
| #define STAT_ZERO_START 10 |
| 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 | |||
| ) |


| bool lose_stat | ( | stat_type | which_stat, | |
| int8_t | stat_loss, | |||
| bool | force, | |||
| const std::string | cause, | |||
| bool | see_source | |||
| ) |

| bool lose_stat | ( | stat_type | which_stat, | |
| int8_t | stat_loss, | |||
| bool | force, | |||
| const char * | cause, | |||
| bool | see_source | |||
| ) |

| void modify_stat | ( | stat_type | which_stat, | |
| int8_t | amount, | |||
| bool | suppress_msg, | |||
| const char * | cause, | |||
| bool | see_source | |||
| ) |

| 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 | |||
| ) |

| void notify_stat_change | ( | stat_type | which_stat, | |
| int8_t | amount, | |||
| bool | suppress_msg, | |||
| const char * | cause, | |||
| bool | see_source | |||
| ) |

| bool restore_stat | ( | stat_type | which_stat, | |
| int8_t | stat_gain, | |||
| bool | suppress_msg, | |||
| bool | recovery | |||
| ) |

| const char* stat_desc | ( | stat_type | stat, | |
| stat_desc_type | desc | |||
| ) |
| void update_stat_zero | ( | ) |

| const char* descs[NUM_STATS][NUM_STAT_DESCS] |
Initial value:
{
{ "strength", "weakened", "weaker", "stronger" },
{ "intelligence", "dopey", "stupid", "clever" },
{ "dexterity", "clumsy", "clumsy", "agile" }
}
1.5.6