OSDN Git Service

変身中だけでなく「種族の」吸血鬼のレイシャルパワー生命力吸収は反攻撃で使用不可。
authormogami <mogami@0568b783-4c39-0410-ac80-bf13821ea2a2>
Fri, 26 Apr 2002 15:27:53 +0000 (15:27 +0000)
committermogami <mogami@0568b783-4c39-0410-ac80-bf13821ea2a2>
Fri, 26 Apr 2002 15:27:53 +0000 (15:27 +0000)
src/racial.c

index 2f388e6..fa2fbe0 100644 (file)
@@ -2112,6 +2112,15 @@ msg_print("
                        break;
 
                case RACE_VAMPIRE:
+                       if (d_info[dungeon_type].flags1 & DF1_NO_MELEE)
+                       {
+#ifdef JP
+                               msg_print("¤Ê¤¼¤«¹¶·â¤¹¤ë¤³¤È¤¬¤Ç¤­¤Ê¤¤¡£");
+#else
+                               msg_print("Something prevent you from attacking.");
+#endif
+                               return FALSE;
+                       }
                        if (racial_aux(2, (1 + (plev / 3)), A_CON, 9))
                        {
                                int y, x, dummy = 0;