From: Deskull Date: Wed, 20 Sep 2017 14:58:26 +0000 (+0900) Subject: #37527 (2.2.0.90) ものまね師倍返し時の失率表示ミスを修正。 / Fix display of fail rate on Double Revenge... X-Git-Tag: v2.2.1~6 X-Git-Url: http://git.osdn.net/view?p=hengband%2Fhengband.git;a=commitdiff_plain;h=5e34b086bd0b5537f137b4263ef053ad41ba3136 #37527 (2.2.0.90) ものまね師倍返し時の失率表示ミスを修正。 / Fix display of fail rate on Double Revenge of Imitator. --- 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;