OSDN Git Service

Weird Weapon should be enchanted only to TV_SWORD
authordis- <dis-@0568b783-4c39-0410-ac80-bf13821ea2a2>
Mon, 20 May 2013 11:49:36 +0000 (11:49 +0000)
committerdis- <dis-@0568b783-4c39-0410-ac80-bf13821ea2a2>
Mon, 20 May 2013 11:49:36 +0000 (11:49 +0000)
src/object2.c

index 725cf91..baa719f 100644 (file)
@@ -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;
                                }