From beb36860b9e6a8bfdc84799d5718f801b111e44d Mon Sep 17 00:00:00 2001 From: Habu Date: Sun, 23 Jul 2017 06:18:47 +0900 Subject: [PATCH] =?utf8?q?(2.2.0.44)=20if=E6=96=87=E3=81=AE=E3=83=96?= =?utf8?q?=E3=83=AC=E3=83=BC=E3=82=B9=E3=81=A4=E3=81=91=E5=BF=98=E3=82=8C?= =?utf8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 本来種族が幽霊ではない時に限り地獄耐性によるダメージ軽減を行う (幽霊は地獄属性でHPが回復するためダメージ軽減が必要ないため) のを意図したコードだと思われるが、ブレースのつけ忘れにより 6/(1d4+7) の分母の部分だけ幽霊にも適用されてしまっていたのを修正 --- src/defines.h | 2 +- src/spells1.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/defines.h b/src/defines.h index 0c195561a..d8e4518c6 100644 --- a/src/defines.h +++ b/src/defines.h @@ -53,7 +53,7 @@ #define FAKE_VER_MAJOR 12 /*!< ゲームのバージョン番号定義(メジャー番号 + 10) */ #define FAKE_VER_MINOR 2 /*!< ゲームのバージョン番号定義(マイナー番号) */ #define FAKE_VER_PATCH 0 /*!< ゲームのバージョン番号定義(パッチ番号) */ -#define FAKE_VER_EXTRA 43 /*!< ゲームのバージョン番号定義(エクストラ番号) */ +#define FAKE_VER_EXTRA 44 /*!< ゲームのバージョン番号定義(エクストラ番号) */ /*! diff --git a/src/spells1.c b/src/spells1.c index a7884840c..be3274fa6 100644 --- a/src/spells1.c +++ b/src/spells1.c @@ -5465,7 +5465,9 @@ static bool project_p(int who, cptr who_name, int r, int y, int x, int dam, int if (p_ptr->resist_neth) { if (!prace_is_(RACE_SPECTRE)) + { dam *= 6; dam /= (randint1(4) + 7); + } } else if (!CHECK_MULTISHADOW()) drain_exp(200 + (p_ptr->exp / 100), 200 + (p_ptr->exp / 1000), 75); -- 2.11.0