OSDN Git Service

鋭敏のエゴのESP追加の仕様変更の時、鋭敏の冠のほうだけ変更して鋭敏の兜を変更し忘れていたので、兜のほうも冠と同じように変更した。
authorhabu <habu@0568b783-4c39-0410-ac80-bf13821ea2a2>
Tue, 3 Sep 2002 09:02:42 +0000 (09:02 +0000)
committerhabu <habu@0568b783-4c39-0410-ac80-bf13821ea2a2>
Tue, 3 Sep 2002 09:02:42 +0000 (09:02 +0000)
src/object2.c

index 3842ead..d65d58a 100644 (file)
@@ -2927,7 +2927,11 @@ static void a_m_aux_2(object_type *o_ptr, int level, int power)
                                        case EGO_INFRAVISION:
                                                break;
                                        case EGO_SEEING:
-                                               if (one_in_(7)) add_flag(o_ptr->art_flags, TR_TELEPATHY);
+                                               if (one_in_(7))
+                                               {
+                                                       if (one_in_(2)) add_esp_strong(o_ptr);
+                                                       else add_esp_weak(o_ptr);
+                                               }
                                                break;
                                        default:/* not existing helm (Magi, Might, etc...)*/
                                                ok_flag = FALSE;