From 0aa4f68805fb83f640677b389968e258d9f8dfb9 Mon Sep 17 00:00:00 2001 From: habu Date: Tue, 26 Feb 2002 08:43:06 +0000 Subject: [PATCH] =?utf8?q?=E3=83=89=E3=83=AF=E3=83=BC=E3=83=95=E3=81=AE?= =?utf8?q?=E9=8E=A7=E3=81=AE=E9=87=8D=E9=87=8F=E3=82=922/3=E3=81=AB?= =?utf8?q?=E3=81=99=E3=82=8B=E3=82=B3=E3=83=BC=E3=83=89=E3=81=A8=E5=9F=BA?= =?utf8?q?=E6=9C=ACAC=E3=82=92+5=E3=81=99=E3=82=8B=E3=82=B3=E3=83=BC?= =?utf8?q?=E3=83=89=E3=82=92=E3=80=81a=5Fm=5Faux=5F2()=E5=86=85=E3=81=AB?= =?utf8?q?=E7=A7=BB=E5=8B=95=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/object2.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/object2.c b/src/object2.c index b7abef64f..d40119720 100644 --- a/src/object2.c +++ b/src/object2.c @@ -2625,6 +2625,8 @@ static void a_m_aux_2(object_type *o_ptr, int level, int power) } else { + o_ptr->weight = (2 * k_info[o_ptr->k_idx].weight / 3); + o_ptr->ac = k_info[o_ptr->k_idx].ac + 5; if (one_in_(4)) o_ptr->art_flags1 |= TR1_CON; break; @@ -4307,13 +4309,6 @@ void apply_magic(object_type *o_ptr, int lev, bool okay, bool good, bool great, o_ptr->xtra1 = EGO_XTRA_POWER; break; } - - case EGO_DWARVEN: - { - o_ptr->weight = (2 * k_info[o_ptr->k_idx].weight / 3); - o_ptr->ac = k_info[o_ptr->k_idx].ac + 5; - break; - } } /* Randomize the "xtra" power */ -- 2.11.0