OSDN Git Service

add explains of drain-charge attacks
authordis- <dis.rogue@gmail.com>
Fri, 14 Feb 2014 06:15:54 +0000 (15:15 +0900)
committerdis- <dis.rogue@gmail.com>
Fri, 14 Feb 2014 06:15:54 +0000 (15:15 +0900)
src/monster1.c

index 2193270..0700cc8 100644 (file)
@@ -1196,13 +1196,9 @@ static void roff_aux(int r_idx, int mode)
        /* Collect non-effects */
        vn = 0;
        if (flags3 & RF3_NO_STUN)  { vp[vn] = _("Û¯Û°¤È¤·¤Ê¤¤", "stunned"); color[vn++] = TERM_ORANGE; }
-
        if (flags3 & RF3_NO_FEAR)  { vp[vn] = _("¶²Éݤò´¶¤¸¤Ê¤¤", "frightened"); color[vn++] = TERM_SLATE; }
-
        if (flags3 & RF3_NO_CONF)  { vp[vn] = _("º®Í𤷤ʤ¤", "confused"); color[vn++] = TERM_L_UMBER; }
-
        if (flags3 & RF3_NO_SLEEP) { vp[vn] = _("̲¤é¤µ¤ì¤Ê¤¤", "slept"); color[vn++] = TERM_BLUE; }
-
        if ((flagsr & RFR_RES_TELE) && (r_ptr->flags1 & RF1_UNIQUE)) { vp[vn] = _("¥Æ¥ì¥Ý¡¼¥È¤µ¤ì¤Ê¤¤", "teleported"); color[vn++] = TERM_ORANGE; }
 
        /* Describe non-effects */
@@ -1286,14 +1282,9 @@ static void roff_aux(int r_idx, int mode)
                        act = _("¤ò¤«¤Ê¤ê·Ù²ü¤·¤Æ¤ª¤ê", "is ever vigilant for");
                }
 
-#ifdef JP
-               hooked_roff(format("%^s¤Ï¿¯Æþ¼Ô%s¡¢ %d ¥Õ¥£¡¼¥ÈÀ褫¤é¿¯Æþ¼Ô¤Ëµ¤ÉÕ¤¯¤³¤È¤¬¤¢¤ë¡£",
-                    wd_he[msex], act, 10 * r_ptr->aaf));
-#else
-               hooked_roff(format("%^s %s intruders, which %s may notice from %d feet.  ",
-                           wd_he[msex], act, wd_he[msex], 10 * r_ptr->aaf));
-#endif
-
+               hooked_roff(format(
+                       _(("%^s¤Ï¿¯Æþ¼Ô%s¡¢ %d ¥Õ¥£¡¼¥ÈÀ褫¤é¿¯Æþ¼Ô¤Ëµ¤ÉÕ¤¯¤³¤È¤¬¤¢¤ë¡£", wd_he[msex], act, 10 * r_ptr->aaf), 
+                         ("%^s %s intruders, which %s may notice from %d feet.  ", wd_he[msex], act, wd_he[msex], 10 * r_ptr->aaf))));
        }
 
 
@@ -1376,7 +1367,6 @@ static void roff_aux(int r_idx, int mode)
                        if (n != 1) hooked_roff("s");
 #endif
 
-
                        /* Conjunction replaces variety, if needed for "gold" below */
                        p = _("¤ä", " or");
                }
@@ -1395,18 +1385,15 @@ static void roff_aux(int r_idx, int mode)
 
                        /* Dump "treasure(s)" */
                        if (p) hooked_roff(p);
-#ifdef JP
-                       hooked_roff("ºâÊõ");
-#else
-                       hooked_roff(" treasure");
+                       hooked_roff(_("ºâÊõ", " treasure"));
+#ifndef JP
                        if (n != 1) hooked_roff("s");
 #endif
 
                }
 
                /* End this sentence */
-               hooked_roff(
-                       _("¤ò»ý¤Ã¤Æ¤¤¤ë¤³¤È¤¬¤¢¤ë¡£", ".  "));
+               hooked_roff(_("¤ò»ý¤Ã¤Æ¤¤¤ë¤³¤È¤¬¤¢¤ë¡£", ".  "));
        }
 
 
@@ -1482,7 +1469,7 @@ static void roff_aux(int r_idx, int mode)
                        case RBE_HURT:          q = _("¹¶·â¤¹¤ë", "attack"); break;
                        case RBE_POISON:        q = _("ÆǤò¤¯¤é¤ï¤¹", "poison"); break;
                        case RBE_UN_BONUS:      q = _("Îô²½¤µ¤»¤ë", "disenchant"); break;
-                       case RBE_UN_POWER:      q = _("ËâÎϤòµÛ¤¤¼è¤ë", "drain charges"); break;
+                       case RBE_UN_POWER:      q = _("ËâÆ»¶ñ¤ÎËâÎϤòµÛ¤¤¼è¤ë", "drain charges"); break;
                        case RBE_EAT_GOLD:      q = _("¶â¤òÅð¤à", "steal gold"); break;
                        case RBE_EAT_ITEM:      q = _("¥¢¥¤¥Æ¥à¤òÅð¤à", "steal items"); break;
                        case RBE_EAT_FOOD:      q = _("¤¢¤Ê¤¿¤Î¿©ÎÁ¤ò¿©¤Ù¤ë", "eat your food"); break;