• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

変愚蛮怒のメインリポジトリです


コミットメタ情報

リビジョン029019560d73fc82341ab2020a3f5d30e1e8e5a7 (tree)
日時2017-08-30 23:41:17
作者Deskull <desull@user...>
コミッターDeskull

ログメッセージ

#37449 (2.2.0.69) モンスターダメージ処理のWizardログを整形。 / Rearrange wizard logs of damage process to monster.

変更サマリ

差分

--- a/src/cmd1.c
+++ b/src/cmd1.c
@@ -1501,10 +1501,9 @@ static void natural_attack(s16b m_idx, int attack, bool *fear, bool *mdeath)
15011501 k = mon_damage_mod(m_ptr, k, FALSE);
15021502
15031503 /* Complex message */
1504- if (p_ptr->wizard)
1505- {
1506- msg_format(_("%d/%d のダメージを与えた。", "You do %d (out of %d) damage."), k, m_ptr->hp);
1507- }
1504+ msg_format_wizard(CHEAT_MONSTER,
1505+ _("%dのダメージを与えた。(残りHP %d/%d(%d))", "You do %d damage. (left HP %d/%d(%d))"),
1506+ k, m_ptr->hp - k, m_ptr->maxhp, m_ptr->max_maxhp);
15081507
15091508 /* Anger the monster */
15101509 if (k > 0) anger_monster(m_ptr);
@@ -2103,11 +2102,9 @@ static void py_attack_aux(int y, int x, bool *fear, bool *mdeath, s16b hand, int
21032102 }
21042103 }
21052104
2106- /* Complex message */
2107- if (p_ptr->wizard || cheat_xtra)
2108- {
2109- msg_format(_("%d/%d のダメージを与えた。", "You do %d (out of %d) damage."), k, m_ptr->hp);
2110- }
2105+ msg_format_wizard(CHEAT_MONSTER,
2106+ _("%dのダメージを与えた。(残りHP %d/%d(%d))", "You do %d damage. (left HP %d/%d(%d))"), k,
2107+ m_ptr->hp - k, m_ptr->maxhp, m_ptr->max_maxhp);
21112108
21122109 if (k <= 0) can_drain = FALSE;
21132110
--- a/src/cmd2.c
+++ b/src/cmd2.c
@@ -3572,11 +3572,9 @@ void do_cmd_fire_aux(int item, object_type *j_ptr)
35723572 tdam = mon_damage_mod(m_ptr, tdam, FALSE);
35733573 }
35743574
3575- /* Complex message */
3576- if (p_ptr->wizard || cheat_xtra)
3577- {
3578- msg_format(_("%d/%d のダメージを与えた。", "You do %d (out of %d) damage."), tdam, m_ptr->hp);
3579- }
3575+ msg_format_wizard(CHEAT_MONSTER,
3576+ _("%dのダメージを与えた。(残りHP %d/%d(%d))", "You do %d damage. (left HP %d/%d(%d))"),
3577+ tdam, m_ptr->hp - tdam, m_ptr->maxhp, m_ptr->max_maxhp);
35803578
35813579 /* Sniper */
35823580 if (snipe_type == SP_EXPLODE)
@@ -4213,11 +4211,8 @@ bool do_cmd_throw_aux(int mult, bool boomerang, int shuriken)
42134211 /* Modify the damage */
42144212 tdam = mon_damage_mod(m_ptr, tdam, FALSE);
42154213
4216- /* Complex message */
4217- if (p_ptr->wizard)
4218- {
4219- msg_format(_("%d/%dのダメージを与えた。", "You do %d (out of %d) damage."), tdam, m_ptr->hp);
4220- }
4214+ msg_format_wizard(CHEAT_MONSTER, _("%dのダメージを与えた。(残りHP %d/%d(%d))", "You do %d damage. (left HP %d/%d(%d))"),
4215+ tdam, m_ptr->hp - tdam, m_ptr->maxhp, m_ptr->max_maxhp);
42214216
42224217 /* Hit the monster, check for death */
42234218 if (mon_take_hit(c_ptr->m_idx, tdam, &fear, extract_note_dies(real_r_ptr(m_ptr))))
--- a/src/defines.h
+++ b/src/defines.h
@@ -53,7 +53,7 @@
5353 #define FAKE_VER_MAJOR 12 /*!< ゲームのバージョン番号定義(メジャー番号 + 10) */
5454 #define FAKE_VER_MINOR 2 /*!< ゲームのバージョン番号定義(マイナー番号) */
5555 #define FAKE_VER_PATCH 0 /*!< ゲームのバージョン番号定義(パッチ番号) */
56-#define FAKE_VER_EXTRA 68 /*!< ゲームのバージョン番号定義(エクストラ番号) */
56+#define FAKE_VER_EXTRA 69 /*!< ゲームのバージョン番号定義(エクストラ番号) */
5757
5858
5959 /*!