OSDN Git Service

[Refactor] #37353 ゲームバランス定数を gamevalue.h に分離。 / Separate game adjustment value to...
[hengband/hengband.git] / src / gamevalue.h
1 \r
2 /*!\r
3 * @brief \83x\81[\83X\83A\83C\83e\83\80\90\90¬\8aK\91w\82ª\89Á\8eZ\82³\82ê\82é\8am\97¦\r
4 * @details\r
5 * There is a 1/10 (10%) chance of inflating the requested object_level\r
6 * during the creation of an object (see "get_obj_num()" in "object.c").\r
7 * Lower values yield better objects more often.\r
8 */\r
9 #define GREAT_OBJ       10\r
10 \r
11 /*!\r
12 * @brief \90[\91w\83\82\83\93\83X\83^\81[\82ª\90\90¬\82³\82ê\82é(NASTY\90\90¬)\82Ì\8aî\96{\8am\97¦(1/x)\r
13 * @details\r
14 * There is a 1/25 (4%) chance of inflating the requested monster_level\r
15 * during the creation of a monsters (see "get_mon_num()" in "monster.c").\r
16 * Lower values yield harder monsters more often.\r
17 */\r
18 #define NASTY_MON_BASE     25\r
19 #define NASTY_MON_MAX      3    /*!< \90[\91w\83\82\83\93\83X\83^\81[\82ª1\83t\83\8d\83A\82É\90\90¬\82³\82ê\82é\8dÅ\91å\90\94  */\r
20 #define NASTY_MON_PLUS_MAX 25   /*!< \90[\91w\83\82\83\93\83X\83^\81[\82Ì\8aK\91w\89Á\8eZ\8dÅ\91å\97Ê */\r
21 \r
22 #define PENETRATE_INVULNERABILITY 13 /*!< \96³\93G\89»\82ª\94j\82ç\82ê\82é\8am\97¦(1/x) / 1/x chance of hurting even if invulnerable! */\r
23 \r
24 #define MAX_TELEPORT_DISTANCE 200 /*!< \83e\83\8c\83|\81[\83g\8dÅ\91å\8b\97\97£ */\r
25 \r
26 /*\r
27 * Refueling constants\r
28 */\r
29 #define FUEL_TORCH      5000    /*!< \8f¼\96¾\82Ì\8aî\96{\8eõ\96½\92l / Maximum amount of fuel in a torch */\r
30 #define FUEL_LAMP       15000   /*!< \83\89\83\93\83^\83\93\82Ì\8aî\96{\8eõ\96½\92l / Maximum amount of fuel in a lantern */\r
31 \r
32 /*\r
33 * More maximum values\r
34 */\r
35 #define MAX_SIGHT       20      /*!< \83v\83\8c\83C\83\84\81[\82Ì\8dÅ\91å\8e\8b\8aE\94Í\88Í(\83}\83X) / Maximum view distance */\r
36 #define MAX_RANGE       (p_ptr->inside_battle ? 36 : 18)      /*!< \83v\83\8c\83C\83\84\81[\82Ì\8dU\8c\82\8eË\92ö(\83}\83X) / Maximum range (spells, etc) */\r
37 #define AAF_LIMIT       100     /*!< \83\82\83\93\83X\83^\81[\82Ì\8cÀ\8aE\8a´\92m\94Í\88Í(\83}\83X) Limit of sensing radius */\r
38 \r
39 #define MIN_M_ALLOC_TD          4 /*!< \8aX(\92\8b\8aÔ)\82Ì\8dÅ\92á\8fZ\90l\94z\92u\90\94 / The town starts out with 4 residents during the day */\r
40 #define MIN_M_ALLOC_TN          8 /*!< \8aX(\96é\8aÔ)\82Ì\8dÅ\92á\8fZ\90l\94z\92u\90\94 / The town starts out with 8 residents during the night */\r
41 \r
42 /*!\r
43 * @brief \83\82\83\93\83X\83^\81[\91\9d\90B\82Ì\8dÅ\91å\90\94\r
44 * @details\r
45 * A monster can only "multiply" (reproduce) if there are fewer than 100\r
46 * monsters on the level capable of such spontaneous reproduction.  This\r
47 * is a hack which prevents the "m_list[]" array from exploding due to\r
48 * reproducing monsters.  Messy, but necessary.\r
49 */\r
50 #define MAX_REPRO       100\r
51 \r
52 \r