13 const char* stat_desc(stat_type stat
, stat_desc_type desc
);
15 void attribute_increase();
17 void modify_stat(stat_type which_stat
, int8_t amount
, bool suppress_msg
,
18 const char* cause
, bool see_source
= true);
20 void notify_stat_change(stat_type which_stat
, int8_t amount
,
21 bool suppress_msg
, const char* cause
,
22 bool see_source
= true);
23 void notify_stat_change(stat_type which_stat
, int8_t amount
,
24 bool suppress_msg
, const item_def
&cause
,
25 bool removed
= false);
26 void notify_stat_change(const char* cause
);
28 void jiyva_stat_action();
30 bool lose_stat(stat_type which_stat
, int8_t stat_loss
,
31 bool force
= false, const std::string cause
= "",
32 bool see_source
= true);
33 bool lose_stat(stat_type which_stat
, int8_t stat_loss
,
34 bool force
= false, const char* cause
= NULL
,
35 bool see_source
= true);
36 bool lose_stat(stat_type which_stat
, int8_t stat_loss
,
37 const monster
* cause
, bool force
= false);
38 bool lose_stat(stat_type which_stat
, int8_t stat_loss
,
39 const item_def
&cause
, bool removed
, bool force
= false);
41 bool restore_stat(stat_type which_stat
, int8_t stat_gain
,
42 bool suppress_msg
, bool recovery
= false);
44 void update_stat_zero();