OSDN Git Service

賢者のアミュレットに下級ESPが1〜3個付くようにした。(add_esp_weak()を使用)
authorhabu <habu@0568b783-4c39-0410-ac80-bf13821ea2a2>
Tue, 27 Aug 2002 09:32:48 +0000 (09:32 +0000)
committerhabu <habu@0568b783-4c39-0410-ac80-bf13821ea2a2>
Tue, 27 Aug 2002 09:32:48 +0000 (09:32 +0000)
src/object2.c

index 051548a..16f6a6a 100644 (file)
@@ -3579,6 +3579,9 @@ static void a_m_aux_3(object_type *o_ptr, int level, int power)
                                        o_ptr->pval = randint1(5) + m_bonus(5, level);
                                        o_ptr->to_a = randint1(5) + m_bonus(5, level);
 
+                                       /* gain one low ESP */
+                                       add_esp_weak(o_ptr);
+
                                        /* Boost the rating */
                                        rating += 15;