• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

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

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


Commit MetaInfo

Revisione278870a83b51b75976c1c3aecb95501a5a723bb (tree)
Time2019-03-30 18:42:02
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #39076 /* Invulnabilty */ と /* Speed */ を削除。

Change Summary

Incremental Difference

--- a/src/flavor.c
+++ b/src/flavor.c
@@ -2623,7 +2623,6 @@ void object_desc(char *buf, object_type *o_ptr, BIT_FLAGS mode)
26232623 /* Nothing */
26242624 }
26252625
2626- /* Speed */
26272626 else if (have_flag(flgs, TR_SPEED))
26282627 {
26292628 /* Dump " to speed" */
--- a/src/monster1.c
+++ b/src/monster1.c
@@ -553,7 +553,6 @@ static void roff_aux(MONRACE_IDX r_idx, BIT_FLAGS mode)
553553 if (speed != 110) hooked_roff(_("、かつ", ", and"));
554554 }
555555
556- /* Speed */
557556 if (speed > 110)
558557 {
559558 if (speed > 139) hook_c_roff(TERM_RED, _("信じ難いほど", " incredibly"));
--- a/src/mspells1.c
+++ b/src/mspells1.c
@@ -940,7 +940,6 @@ bool dispel_check(MONSTER_IDX m_idx)
940940 if ((p_ptr->special_attack & ATTACK_COLD) && !(r_ptr->flagsr & RFR_EFF_IM_COLD_MASK)) return (TRUE);
941941 if ((p_ptr->special_attack & ATTACK_POIS) && !(r_ptr->flagsr & RFR_EFF_IM_POIS_MASK)) return (TRUE);
942942
943- /* Speed */
944943 if (p_ptr->pspeed < 145)
945944 {
946945 if (IS_FAST()) return (TRUE);
--- a/src/mspells2.c
+++ b/src/mspells2.c
@@ -234,10 +234,8 @@ static bool dispel_check_monster(MONSTER_IDX m_idx, MONSTER_IDX t_idx)
234234 {
235235 monster_type *t_ptr = &current_floor_ptr->m_list[t_idx];
236236
237- /* Invulnabilty */
238237 if (MON_INVULNER(t_ptr)) return TRUE;
239238
240- /* Speed */
241239 if (t_ptr->mspeed < 135)
242240 {
243241 if (MON_FAST(t_ptr)) return TRUE;
--- a/src/wizard1.c
+++ b/src/wizard1.c
@@ -1746,14 +1746,12 @@ static void spoil_mon_desc(concptr fname)
17461746 sprintf(nam, _(" %s", "The %s"), name);
17471747 }
17481748
1749-
17501749 /* Level */
17511750 sprintf(lev, "%d", (int)r_ptr->level);
17521751
17531752 /* Rarity */
17541753 sprintf(rar, "%d", (int)r_ptr->rarity);
17551754
1756- /* Speed */
17571755 if (r_ptr->speed >= 110)
17581756 {
17591757 sprintf(spd, "+%d", (r_ptr->speed - 110));
@@ -2109,7 +2107,6 @@ static void spoil_mon_info(concptr fname)
21092107 sprintf(buf, "Rar:%d ", r_ptr->rarity);
21102108 spoil_out(buf);
21112109
2112- /* Speed */
21132110 if (r_ptr->speed >= 110)
21142111 {
21152112 sprintf(buf, "Spd:+%d ", (r_ptr->speed - 110));