OSDN Git Service

レア度101以上の通常出現しないモンスターの人形が生成されるバグを修正.
authornothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Fri, 26 Mar 2004 14:05:27 +0000 (14:05 +0000)
committernothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Fri, 26 Mar 2004 14:05:27 +0000 (14:05 +0000)
src/object2.c

index 2276f95..409bbf6 100644 (file)
@@ -3943,6 +3943,9 @@ static void a_m_aux_4(object_type *o_ptr, int level, int power)
                                /* Ignore dead monsters */
                                if (!r_ptr->rarity) continue;
 
+                               /* Ignore uncommon monsters */
+                               if (r_ptr->rarity > 100) continue;
+
                                /* Prefer less out-of-depth monsters */
                                if (randint0(check)) continue;