OSDN Git Service

カオス魔法 "虚無召来" を地上の障害物に隣接して使ってもダメージを受け
authornothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Fri, 13 Jun 2003 14:53:10 +0000 (14:53 +0000)
committernothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Fri, 13 Jun 2003 14:53:10 +0000 (14:53 +0000)
ないように変更. この変更は地上に限る.

src/spells3.c

index 5b7a7ef..bac8aab 100644 (file)
@@ -1465,6 +1465,17 @@ void call_the_(void)
                        if (i - 5) fire_ball(GF_NUKE, i, 175, 4);
                }
        }
+
+       /* Prevent destruction of quest levels and town */
+       else if ((p_ptr->inside_quest && is_fixed_quest_idx(p_ptr->inside_quest)) || !dun_level)
+       {
+#ifdef JP
+               msg_print("ÃÏÌ̤¬Íɤ줿¡£");
+#else
+               msg_print("The ground trembles.");
+#endif
+       }
+
        else
        {
 #ifdef JP
@@ -1499,7 +1510,6 @@ void call_the_(void)
 #else
                take_hit(DAMAGE_NOESCAPE, 100 + randint1(150), "a suicidal Call the Void", -1);
 #endif
-
        }
 }