OSDN Git Service

『Fat Man』の代替として地獄の鉄槌を追加. 倒すと鈍器を落とす.
authornothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sat, 15 Nov 2003 13:49:30 +0000 (13:49 +0000)
committernothere <nothere@0568b783-4c39-0410-ac80-bf13821ea2a2>
Sat, 15 Nov 2003 13:49:30 +0000 (13:49 +0000)
lib/edit/r_info.txt
src/xtra2.c

index a82ea1e..815fff8 100644 (file)
@@ -11354,19 +11354,16 @@ F:CAN_SWIM | NO_CONF | NO_SLEEP |
 D:$Weird, jelly like creatures. No two look the same.
 D:µ¤Ì£¤Î°­¤¤¥¼¥ê¡¼¾õÀ¸Êª¡£Æ±¤¸¤è¤¦¤Ë¤ß¤¨¤ë¤â¤Î¤ÏÆó¤Ä¤È̵¤¤¡£
 
-#JZ#
-N:627:¡ØFat Man¡Ù
-E:Fat Man
-G:{:D
-I:120:14d14:10:80:12
-W:40:255:0:200:0:0
-B:EXPLODE:SHATTER:200d2
-F:FORCE_SLEEP | FORCE_MAXHP | UNIQUE | REFLECTING |
-F:EMPTY_MIND | COLD_BLOOD | BASH_DOOR |
-F:IM_FIRE | IM_COLD | IM_ELEC | IM_POIS |
-F:NO_FEAR | NO_CONF | NO_SLEEP | NONLIVING | RES_TELE
-D:$A shining machine of death and destruction.
-D:µ±¤¯»à¤ÈÇ˲õ¤Îµ¡³£¤À¡£
+N:627:ÃϹö¤ÎÅ´ÄÈ
+E:Hammer of hell
+G:\:v
+I:100:50d10:30:40:0
+W:24:5:0:1000:0:0
+B:CRUSH:SUPERHURT:30d1
+F:COLD_BLOOD | EVIL | NO_SLEEP | NO_CONF | NO_FEAR | NO_STUN | NONLIVING |
+F:IM_ACID | IM_COLD | IM_POIS | RES_NETH | RES_DARK
+#D:$Untranslated
+D:µ¾À·¼Ô¤ÎÁõÈ÷¤Èº²¤ò¸Ç¤á¤Æ¡¢ÃϹö¤ÎÅ´¾²¤ÇÃ䨤ƤǤ­¤¿²Ò¡¹¤·¤¤Å´ÄȤÀ¡£
 
 #JZ#
 N:628:¼ö¤ï¤ì¤·¡Ø¥Þ¥ì¥­¥¹¡Ù
index a01bb10..b0742ed 100644 (file)
@@ -357,6 +357,24 @@ static bool kind_is_armor(int k_idx)
 
 
 /*
+ * Hack -- determine if a template is hafted weapon
+ */
+static bool kind_is_hafted(int k_idx)
+{
+       object_kind *k_ptr = &k_info[k_idx];
+
+       /* Analyze the item type */
+       if (k_ptr->tval == TV_HAFTED)
+       {
+               return (TRUE);
+       }
+
+       /* Assume not good */
+       return (FALSE);
+}
+
+
+/*
  * Check for "Quest" completion when a quest monster is killed or charmed.
  */
 void check_quest_completion(monster_type *m_ptr)
@@ -1145,6 +1163,26 @@ msg_print("
                        }
                        break;
 
+               case '\\':
+                       if (dun_level > 4)
+                       {
+                               /* Get local object */
+                               q_ptr = &forge;
+
+                               /* Wipe the object */
+                               object_wipe(q_ptr);
+
+                               /* Activate restriction */
+                               get_obj_num_hook = kind_is_hafted;
+
+                               /* Make a poleweapon */
+                               make_object(q_ptr, mo_mode);
+
+                               /* Drop it in the dungeon */
+                               (void)drop_near(q_ptr, -1, y, x);
+                       }
+                       break;
+
                case '|':
                        if (m_ptr->r_idx != MON_STORMBRINGER)
                        {