OSDN Git Service

[Refactor] #39076 /* Invulnabilty */ と /* Speed */ を削除。
authordeskull <deskull@users.sourceforge.jp>
Sat, 30 Mar 2019 09:38:00 +0000 (18:38 +0900)
committerdeskull <deskull@users.sourceforge.jp>
Sat, 30 Mar 2019 09:42:02 +0000 (18:42 +0900)
src/flavor.c
src/monster1.c
src/mspells1.c
src/mspells2.c
src/wizard1.c

index 5311921..071c45b 100644 (file)
@@ -2623,7 +2623,6 @@ void object_desc(char *buf, object_type *o_ptr, BIT_FLAGS mode)
                                /* Nothing */
                        }
 
-                       /* Speed */
                        else if (have_flag(flgs, TR_SPEED))
                        {
                                /* Dump " to speed" */
index 09492ef..417afa7 100644 (file)
@@ -553,7 +553,6 @@ static void roff_aux(MONRACE_IDX r_idx, BIT_FLAGS mode)
                        if (speed != 110) hooked_roff(_("、かつ", ", and"));
                }
 
-               /* Speed */
                if (speed > 110)
                {
                        if (speed > 139) hook_c_roff(TERM_RED, _("信じ難いほど", " incredibly"));
index 6b5b4c1..21b52ba 100644 (file)
@@ -940,7 +940,6 @@ bool dispel_check(MONSTER_IDX m_idx)
        if ((p_ptr->special_attack & ATTACK_COLD) && !(r_ptr->flagsr & RFR_EFF_IM_COLD_MASK)) return (TRUE);
        if ((p_ptr->special_attack & ATTACK_POIS) && !(r_ptr->flagsr & RFR_EFF_IM_POIS_MASK)) return (TRUE);
 
-       /* Speed */
        if (p_ptr->pspeed < 145)
        {
                if (IS_FAST()) return (TRUE);
index 0c51d95..7298ad0 100644 (file)
@@ -234,10 +234,8 @@ static bool dispel_check_monster(MONSTER_IDX m_idx, MONSTER_IDX t_idx)
 {
        monster_type *t_ptr = &current_floor_ptr->m_list[t_idx];
 
-       /* Invulnabilty */
        if (MON_INVULNER(t_ptr)) return TRUE;
 
-       /* Speed */
        if (t_ptr->mspeed < 135)
        {
                if (MON_FAST(t_ptr)) return TRUE;
index 4708322..0605af5 100644 (file)
@@ -1746,14 +1746,12 @@ static void spoil_mon_desc(concptr fname)
                        sprintf(nam, _("    %s", "The %s"), name);
                }
 
-
                /* Level */
                sprintf(lev, "%d", (int)r_ptr->level);
 
                /* Rarity */
                sprintf(rar, "%d", (int)r_ptr->rarity);
 
-               /* Speed */
                if (r_ptr->speed >= 110)
                {
                        sprintf(spd, "+%d", (r_ptr->speed - 110));
@@ -2109,7 +2107,6 @@ static void spoil_mon_info(concptr fname)
                sprintf(buf, "Rar:%d  ", r_ptr->rarity);
                spoil_out(buf);
 
-               /* Speed */
                if (r_ptr->speed >= 110)
                {
                        sprintf(buf, "Spd:+%d  ", (r_ptr->speed - 110));