From c87058fcfcd7d8c94a426e5a34aeb6f94873611a Mon Sep 17 00:00:00 2001 From: Hourier <66951241+Hourier@users.noreply.github.com> Date: Wed, 2 Nov 2022 23:05:18 +0900 Subject: [PATCH] =?utf8?q?[Refactor]=20#2680=20=E5=AE=88=E3=82=8A=E3=81=A8?= =?utf8?q?=E7=88=86=E7=99=BA=E3=81=AE=E3=83=AB=E3=83=BC=E3=83=B3=E3=81=AB?= =?utf8?q?=E9=96=A2=E3=81=99=E3=82=8B=E5=AE=9A=E6=95=B0=E3=82=92monster-mo?= =?utf8?q?ve.h=20=E3=81=AB=E7=A7=BB=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/monster-floor/monster-move.h | 3 +++ src/system/gamevalue.h | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/monster-floor/monster-move.h b/src/monster-floor/monster-move.h index ff49cff8c..1b7a3d99b 100644 --- a/src/monster-floor/monster-move.h +++ b/src/monster-floor/monster-move.h @@ -2,6 +2,9 @@ #include "system/angband.h" +constexpr auto BREAK_RUNE_PROTECTION = 550; /*!< 守りのルーンの強靭度 / Rune of protection resistance */ +constexpr auto BREAK_RUNE_EXPLOSION = 299; /*!< 爆発のルーンの発動しやすさ / For explosive runes */ + struct monster_type; class PlayerType; struct turn_flags; diff --git a/src/system/gamevalue.h b/src/system/gamevalue.h index 2b46ec592..69f4ac4ce 100644 --- a/src/system/gamevalue.h +++ b/src/system/gamevalue.h @@ -6,8 +6,6 @@ #define TOWN_DAWN 10000 /*!< 1日分のターン / Number of ticks from dawn to dawn XXX */ #define TURNS_PER_TICK 10L /*!< 時間経過処理を行うターン数の刻み / Number of energy-gain-turns per ticks */ #define MAX_DAYS 20000 /*!< 内部処理中で保持される最大日数 / Maximum days */ -#define BREAK_RUNE_PROTECTION 550 /*!< 守りのルーンの強靭度 / Rune of protection resistance */ -#define BREAK_RUNE_EXPLOSION 299 /*!< 爆発のルーンの発動しやすさ / For explosive runes */ #define BTH_PLUS_ADJ 3 /*!< 武器経験値及びプレイヤーの打撃/射撃能力に応じた修正値倍率 / Adjust BTH per plus-to-hit */ #define MON_DRAIN_LIFE 2 /*!< モンスターの打撃によるプレイヤーの経験値吸収基本倍率(%) / Percent of player exp drained per hit */ #define USE_DEVICE 3 /*!< 魔道具の最低失敗基準値 x> Harder devices x< Easier devices */ -- 2.11.0