3 #include "system/angband.h"
5 /*! オートローラの年齢、身長、体重、社会的地位の要求水準 */
13 extern s16b stat_limit[6];
14 extern s32b stat_match[6];
15 extern s32b auto_round;
16 extern s32b auto_upper_round;
19 static s32b autoroll_chance;
21 /* emulate 5 + 1d3 + 1d4 + 1d5 by randint0(60) */
22 static BASE_STATUS rand3_4_5[60] = {
23 8, 9, 9, 9, 10, 10, 10, 10, 10, 10, /*00-09*/
24 11, 11, 11, 11, 11, 11, 11, 11, 11, 12, /*10-19*/
25 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, /*20-29*/
26 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, /*30-49*/
27 13, 14, 14, 14, 14, 14, 14, 14, 14, 14, /*40-49*/
28 15, 15, 15, 15, 15, 15, 16, 16, 16, 17 /*50-59*/
31 bool get_stat_limits(player_type *creature_ptr);
32 void initialize_chara_limit(chara_limit_type *chara_limit_ptr);
33 bool get_chara_limits(player_type *creature_ptr, chara_limit_type *chara_limit_ptr);
34 static s32b get_autoroller_prob(int *minval);