OSDN Git Service

青魔道師の学習状態は混乱すると自動解除。
authormogami <mogami@0568b783-4c39-0410-ac80-bf13821ea2a2>
Fri, 29 Nov 2002 10:29:20 +0000 (10:29 +0000)
committermogami <mogami@0568b783-4c39-0410-ac80-bf13821ea2a2>
Fri, 29 Nov 2002 10:29:20 +0000 (10:29 +0000)
src/effects.c

index d010597..8d21baf 100644 (file)
@@ -420,6 +420,18 @@ msg_print("
                        msg_print("You are confused!");
 #endif
 
+                       if (p_ptr->action == ACTION_LEARN)
+                       {
+#ifdef JP
+                               msg_print("³Ø½¬¤¬Â³¤±¤é¤ì¤Ê¤¤¡ª");
+#else
+                               msg_print("You cannot continue Learning!");
+#endif
+                               new_mane = FALSE;
+
+                               p_ptr->redraw |= (PR_STATE);
+                               p_ptr->action = ACTION_NONE;
+                       }
                        if (p_ptr->action == ACTION_KAMAE)
                        {
 #ifdef JP