From 5e34b086bd0b5537f137b4263ef053ad41ba3136 Mon Sep 17 00:00:00 2001 From: Deskull Date: Wed, 20 Sep 2017 23:58:26 +0900 Subject: [PATCH] =?utf8?q?#37527=20(2.2.0.90)=20=E3=82=82=E3=81=AE?= =?utf8?q?=E3=81=BE=E3=81=AD=E5=B8=AB=E5=80=8D=E8=BF=94=E3=81=97=E6=99=82?= =?utf8?q?=E3=81=AE=E5=A4=B1=E7=8E=87=E8=A1=A8=E7=A4=BA=E3=83=9F=E3=82=B9?= =?utf8?q?=E3=82=92=E4=BF=AE=E6=AD=A3=E3=80=82=20/=20Fix=20display=20of=20?= =?utf8?q?fail=20rate=20on=20Double=20Revenge=20of=20Imitator.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/defines.h | 2 +- src/mane.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/defines.h b/src/defines.h index 25db0b313..4640828e0 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 89 /*!< ゲームのバージョン番号定義(エクストラ番号) */ +#define FAKE_VER_EXTRA 90 /*!< ゲームのバージョン番号定義(エクストラ番号) */ /*! diff --git a/src/mane.c b/src/mane.c index e79196af4..f890b84f5 100644 --- a/src/mane.c +++ b/src/mane.c @@ -166,7 +166,7 @@ static int get_mane_power(int *sn, bool baigaesi) /* Reduce failure rate by INT/WIS adjustment */ chance -= 3 * (adj_mag_stat[p_ptr->stat_ind[spell.use_stat]] + adj_mag_stat[p_ptr->stat_ind[A_DEX]] - 2) / 2; - if (spell.manedam) chance = chance * p_ptr->mane_dam[i] / spell.manedam; + if (spell.manedam) chance = chance * (baigaesi ? p_ptr->mane_dam[i] * 2 : p_ptr->mane_dam[i]) / spell.manedam; chance += p_ptr->to_m_chance; -- 2.11.0