OSDN Git Service

インターネット・エクスプローダーと超人ロックのクローンの召喚でIDが直
authornothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sat, 30 Aug 2003 18:34:32 +0000 (18:34 +0000)
committernothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sat, 30 Aug 2003 18:34:32 +0000 (18:34 +0000)
接使われていたので, 記号定数化.

src/defines.h
src/mspells1.c
src/mspells2.c

index 1a2c74b..2fa67cb 100644 (file)
@@ -4942,8 +4942,10 @@ extern int PlayerUID;
 #define MON_SHARD_VOR     897
 #define MON_MASTER_MYS    916
 #define MON_G_MASTER_MYS  917
+#define MON_IE            921
 #define MON_TSUCHINOKO    926
 #define MON_GCWADL        929
+#define MON_LOCKE_CLONE   930
 #define MON_CALDARM       931
 #define MON_BANORLUPART   932
 #define MON_BANOR         933
index ea7662e..e055943 100644 (file)
@@ -3916,7 +3916,7 @@ else msg_format("%^s
                                int num = 2 + randint1(3);
                                for (k = 0; k < num; k++)
                                {
-                                       count += summon_named_creature(m_idx, y, x, 921, mode);
+                                       count += summon_named_creature(m_idx, y, x, MON_IE, mode);
                                }
                        }
                        else if (m_ptr->r_idx == MON_CALDARM)
@@ -3924,7 +3924,7 @@ else msg_format("%^s
                                int num = randint1(3);
                                for (k = 0; k < num; k++)
                                {
-                                       count += summon_named_creature(m_idx, y, x, 930, mode);
+                                       count += summon_named_creature(m_idx, y, x, MON_LOCKE_CLONE, mode);
                                }
                        }
                        else if (m_ptr->r_idx == MON_SERPENT || m_ptr->r_idx == MON_ZOMBI_SERPENT)
index de4b4fc..985e078 100644 (file)
@@ -3719,7 +3719,7 @@ bool monst_spell_monst(int m_idx)
                        int num = 2 + randint1(3);
                        for (k = 0; k < num; k++)
                        {
-                               count += summon_named_creature(m_idx, y, x, 921, p_mode);
+                               count += summon_named_creature(m_idx, y, x, MON_IE, p_mode);
                        }
                }
                else if (m_ptr->r_idx == MON_CALDARM)
@@ -3727,7 +3727,7 @@ bool monst_spell_monst(int m_idx)
                        int num = randint1(3);
                        for (k = 0; k < num; k++)
                        {
-                               count += summon_named_creature(m_idx, y, x, 930, p_mode);
+                               count += summon_named_creature(m_idx, y, x, MON_LOCKE_CLONE, p_mode);
                        }
                }
                else if (m_ptr->r_idx == MON_SERPENT || m_ptr->r_idx == MON_ZOMBI_SERPENT)