From: dis- Date: Mon, 20 May 2013 11:49:36 +0000 (+0000) Subject: Weird Weapon should be enchanted only to TV_SWORD X-Git-Tag: v2.1.3~64 X-Git-Url: http://git.osdn.net/view?p=hengband%2Fhengband.git;a=commitdiff_plain;h=0f58df1b2f2e1412b1e79eabec728b5c41c92ef0 Weird Weapon should be enchanted only to TV_SWORD --- diff --git a/src/object2.c b/src/object2.c index 725cf9115..baa719f5d 100644 --- a/src/object2.c +++ b/src/object2.c @@ -2318,6 +2318,8 @@ static void a_m_aux_1(object_type *o_ptr, int level, int power) continue; if (o_ptr->name2 == EGO_EARTHQUAKES && o_ptr->tval != TV_HAFTED) continue; + if (o_ptr->name2 == EGO_WEIRD && o_ptr->tval != TV_SWORD) + continue; break; }