変愚蛮怒のメインリポジトリです
リビジョン | 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.
@@ -1501,10 +1501,9 @@ static void natural_attack(s16b m_idx, int attack, bool *fear, bool *mdeath) | ||
1501 | 1501 | k = mon_damage_mod(m_ptr, k, FALSE); |
1502 | 1502 | |
1503 | 1503 | /* 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); | |
1508 | 1507 | |
1509 | 1508 | /* Anger the monster */ |
1510 | 1509 | 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 | ||
2103 | 2102 | } |
2104 | 2103 | } |
2105 | 2104 | |
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); | |
2111 | 2108 | |
2112 | 2109 | if (k <= 0) can_drain = FALSE; |
2113 | 2110 |
@@ -3572,11 +3572,9 @@ void do_cmd_fire_aux(int item, object_type *j_ptr) | ||
3572 | 3572 | tdam = mon_damage_mod(m_ptr, tdam, FALSE); |
3573 | 3573 | } |
3574 | 3574 | |
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); | |
3580 | 3578 | |
3581 | 3579 | /* Sniper */ |
3582 | 3580 | if (snipe_type == SP_EXPLODE) |
@@ -4213,11 +4211,8 @@ bool do_cmd_throw_aux(int mult, bool boomerang, int shuriken) | ||
4213 | 4211 | /* Modify the damage */ |
4214 | 4212 | tdam = mon_damage_mod(m_ptr, tdam, FALSE); |
4215 | 4213 | |
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); | |
4221 | 4216 | |
4222 | 4217 | /* Hit the monster, check for death */ |
4223 | 4218 | if (mon_take_hit(c_ptr->m_idx, tdam, &fear, extract_note_dies(real_r_ptr(m_ptr)))) |
@@ -53,7 +53,7 @@ | ||
53 | 53 | #define FAKE_VER_MAJOR 12 /*!< ゲームのバージョン番号定義(メジャー番号 + 10) */ |
54 | 54 | #define FAKE_VER_MINOR 2 /*!< ゲームのバージョン番号定義(マイナー番号) */ |
55 | 55 | #define FAKE_VER_PATCH 0 /*!< ゲームのバージョン番号定義(パッチ番号) */ |
56 | -#define FAKE_VER_EXTRA 68 /*!< ゲームのバージョン番号定義(エクストラ番号) */ | |
56 | +#define FAKE_VER_EXTRA 69 /*!< ゲームのバージョン番号定義(エクストラ番号) */ | |
57 | 57 | |
58 | 58 | |
59 | 59 | /*! |