OSDN Git Service

ペットの王蟲の特別な行動のモルドばらまきの効果がないバグを修正.
authornothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Fri, 13 Jun 2003 11:21:08 +0000 (11:21 +0000)
committernothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Fri, 13 Jun 2003 11:21:08 +0000 (11:21 +0000)
src/mspells2.c

index cb9c0e5..75eba4e 100644 (file)
@@ -3227,14 +3227,13 @@ bool monst_spell_monst(int m_idx)
 
        /* RF6_SPECIAL */
        case 160+7:
-               if (p_ptr->inside_arena || p_ptr->inside_battle) return FALSE;
-
-               switch(m_ptr->r_idx)
+               switch (m_ptr->r_idx)
                {
                case MON_OHMU:
+                       if (p_ptr->inside_arena || p_ptr->inside_battle) return FALSE;
                        for (k = 0; k < 6; k++)
                        {
-                               summon_specific(m_idx, m_ptr->fy, m_ptr->fx, rlev, SUMMON_BIZARRE1, PM_ALLOW_GROUP);
+                               summon_specific(m_idx, m_ptr->fy, m_ptr->fx, rlev, SUMMON_BIZARRE1, (PM_ALLOW_GROUP | p_mode));
                        }
                        return FALSE;