From 63e916c282ca0c38368d24a39c42431a6290bc43 Mon Sep 17 00:00:00 2001 From: nothere Date: Thu, 29 May 2003 13:03:53 +0000 Subject: [PATCH] =?utf8?q?=E3=81=BB=E3=82=93=E3=81=AE=E5=B0=91=E3=81=97?= =?utf8?q?=E3=81=A0=E3=81=91=E3=82=B3=E3=83=BC=E3=83=89=E6=95=B4=E7=90=86.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/spells1.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/spells1.c b/src/spells1.c index 051bc1680..11bec838f 100644 --- a/src/spells1.c +++ b/src/spells1.c @@ -2782,7 +2782,7 @@ note_dies = " #ifdef JP if (seen) msg_format("%s¤Ï¤¢¤Ê¤¿¤¬¸«¤¨¤Ê¤¤¤Î¤Ç±Æ¶Á¤µ¤ì¤Ê¤¤¡ª", m_name); #else - if (seen) msg_format("%^s can't see you, and isn't affected!", m_name); + if (seen) msg_format("%^s can't see you, and isn't affected!", m_name); #endif skipped = TRUE; break; @@ -6441,9 +6441,9 @@ static bool project_p(int who, cptr who_name, int r, int y, int x, int dam, int int max_attempts = 10; #ifdef JP -if (blind) msg_print("²¿¤«¤¬Ä·¤ÍÊ֤ä¿¡ª"); -else if (p_ptr->special_defense & KATA_FUUJIN) msg_print("É÷¤ÎÇ¡¤¯Éð´ï¤ò¿¶¤ë¤Ã¤ÆÃƤ­ÊÖ¤·¤¿¡ª"); -else msg_print("¹¶·â¤¬Ä·¤ÍÊ֤ä¿¡ª"); + if (blind) msg_print("²¿¤«¤¬Ä·¤ÍÊ֤ä¿¡ª"); + else if (p_ptr->special_defense & KATA_FUUJIN) msg_print("É÷¤ÎÇ¡¤¯Éð´ï¤ò¿¶¤ë¤Ã¤ÆÃƤ­ÊÖ¤·¤¿¡ª"); + else msg_print("¹¶·â¤¬Ä·¤ÍÊ֤ä¿¡ª"); #else if (blind) msg_print("Something bounces!"); else msg_print("The attack bounces!"); @@ -8997,7 +8997,8 @@ bool project(int who, int rad, int y, int x, int dam, int typ, int flg, int mons } else { - monster_race *ref_ptr = &r_info[m_list[cave[y][x].m_idx].r_idx]; + monster_type *m_ptr = &m_list[cave[y][x].m_idx]; + monster_race *ref_ptr = &r_info[m_ptr->r_idx]; if ((ref_ptr->flags2 & RF2_REFLECTING) && (!one_in_(10) && (flg & PROJECT_REFLECTABLE) && (!who || dist_hack > 1))) { @@ -9021,14 +9022,13 @@ bool project(int who, int rad, int y, int x, int dam, int typ, int flg, int mons t_x = x_saver; } - if (m_list[cave[y][x].m_idx].ml) + if (m_ptr->ml) { #ifdef JP -if ((m_list[cave[y][x].m_idx].r_idx == MON_KENSHIROU) - || (m_list[cave[y][x].m_idx].r_idx == MON_RAOU)) - msg_print("¡ÖËÌÅÍ¿À·ý±üµÁ¡¦Æó»Ø¿¿¶õÇÄ¡ª¡×"); -if (m_list[cave[y][x].m_idx].r_idx == MON_DIO) msg_print("¥Ç¥£¥ª¡¦¥Ö¥é¥ó¥É¡¼¤Ï»Ø°ìËܤǹ¶·â¤òÃƤ­ÊÖ¤·¤¿¡ª"); -else msg_print("¹¶·â¤ÏÄ·¤ÍÊ֤ä¿¡ª"); + if ((m_ptr->r_idx == MON_KENSHIROU) || (m_ptr->r_idx == MON_RAOU)) + msg_print("¡ÖËÌÅÍ¿À·ý±üµÁ¡¦Æó»Ø¿¿¶õÇÄ¡ª¡×"); + else if (m_ptr->r_idx == MON_DIO) msg_print("¥Ç¥£¥ª¡¦¥Ö¥é¥ó¥É¡¼¤Ï»Ø°ìËܤǹ¶·â¤òÃƤ­ÊÖ¤·¤¿¡ª"); + else msg_print("¹¶·â¤ÏÄ·¤ÍÊ֤ä¿¡ª"); #else msg_print("The attack bounces!"); #endif -- 2.11.0