From: Deskull Date: Sat, 2 Sep 2017 01:19:57 +0000 (+0900) Subject: #37449 (2.2.0.77) ランダムアーティファクト弱体化時のウィザードログを整理 / Rearrange wizard logs of weakening... X-Git-Tag: v2.2.1~20 X-Git-Url: http://git.osdn.net/view?p=hengband%2Fhengband.git;a=commitdiff_plain;h=779c8212a34ab78ba65e0b6ffcf3f5e8fd5052db #37449 (2.2.0.77) ランダムアーティファクト弱体化時のウィザードログを整理 / Rearrange wizard logs of weakening on random artifact generation. --- diff --git a/src/artifact.c b/src/artifact.c index 731a45037..04fc19b9a 100644 --- a/src/artifact.c +++ b/src/artifact.c @@ -3912,20 +3912,23 @@ int calc_arm_avgdamage(object_type *o_ptr) { dam = s_evil = dam * 2; } + else s_evil = dam; if (have_flag(flgs, TR_FORCE_WEAPON)) { dam = forced = dam * 3 / 2 + (o_ptr->dd * o_ptr->ds + o_ptr->dd); } + else forced = dam; if(have_flag(flgs, TR_VORPAL)) { dam = vorpal = dam * 11 / 9; } + else vorpal = dam; dam = dam + o_ptr->to_d; - if (cheat_xtra) msg_format("ç´ :%d> 対邪:%d> 理力:%d> 切:%d> 最終:%d", + msg_format_wizard(CHEAT_OBJECT,"ç´ :%d> 対邪:%d> 理力:%d> 切:%d> 最終:%d", base, s_evil, forced, vorpal, dam); return(dam); @@ -3997,11 +4000,9 @@ static int weakening_artifact(object_type *o_ptr) o_ptr->ds--; } - if (cheat_xtra) - { - msg_format("Dice Supress %dd%d -> %dd%d", - pre_dd, pre_ds, o_ptr->dd, o_ptr->ds); - } + msg_format_wizard(CHEAT_OBJECT, + _("ダイスが抑制されました。%dd%d -> %dd%d", "Dice Supress %dd%d -> %dd%d"), + pre_dd, pre_ds, o_ptr->dd, o_ptr->ds); return 1; } @@ -4015,11 +4016,9 @@ static int weakening_artifact(object_type *o_ptr) o_ptr->to_d = 10; } - if (cheat_xtra) - { - msg_format("Plus-Damage Supress %d -> %d", - pre_damage, o_ptr->to_d); - } + msg_format_wizard(CHEAT_OBJECT, + _("ダメージ修正が抑制されました。 %d -> %d", "Plus-Damage Supress %d -> %d"), + pre_damage, o_ptr->to_d); return 1; } diff --git a/src/defines.h b/src/defines.h index 2e9392a05..858b6dbab 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 76 /*!< ゲームのバージョン番号定義(エクストラ番号) */ +#define FAKE_VER_EXTRA 77 /*!< ゲームのバージョン番号定義(エクストラ番号) */ /*!