• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

変愚蛮怒のメインリポジトリです


Commit MetaInfo

Revision3dde055c7268532a6c82e26b2802cc7aaa99863e (tree)
Time2019-02-08 09:24:56
AuthorDeskull <deskull@user...>
CommiterDeskull

Log Message

[Refactor] #37353 ACT_* と activation_info を cmd-activate.c/h へ移動。 / Move ACT_* and activation_info to cmd-activate.c/h.

Change Summary

Incremental Difference

--- a/src/cmd-activate.c
+++ b/src/cmd-activate.c
@@ -19,6 +19,279 @@
1919 #include "player-status.h"
2020
2121 /*!
22+ * @brief アイテムの発動効果テーブル /
23+ * Define flags, levels, values of activations
24+ */
25+const activation_type activation_info[] =
26+{
27+ { "SUNLIGHT", ACT_SUNLIGHT, 10, 250, {10, 0},
28+ _("太陽光線", "beam of sunlight") },
29+ { "BO_MISS_1", ACT_BO_MISS_1, 10, 250, {2, 0},
30+ _("マジック・ミサイル(2d6)", "magic missile (2d6)") },
31+ { "BA_POIS_1", ACT_BA_POIS_1, 10, 300, {4, 0},
32+ _("悪臭雲(12)", "stinking cloud (12)") },
33+ { "BO_ELEC_1", ACT_BO_ELEC_1, 20, 250, {5, 0},
34+ _("サンダー・ボルト(4d8)", "lightning bolt (4d8)") },
35+ { "BO_ACID_1", ACT_BO_ACID_1, 20, 250, {6, 0},
36+ _("アシッド・ボルト(5d8)", "acid bolt (5d8)") },
37+ { "BO_COLD_1", ACT_BO_COLD_1, 20, 250, {7, 0},
38+ _("アイス・ボルト(6d8)", "frost bolt (6d8)") },
39+ { "BO_FIRE_1", ACT_BO_FIRE_1, 20, 250, {8, 0},
40+ _("ファイア・ボルト(9d8)", "fire bolt (9d8)") },
41+ { "BA_COLD_1", ACT_BA_COLD_1, 30, 750, {6, 0},
42+ _("アイス・ボール(48)", "ball of cold (48)") },
43+ { "BA_COLD_2", ACT_BA_COLD_2, 40, 1000, {12, 0},
44+ _("アイス・ボール(100)", "ball of cold (100)") },
45+ { "BA_COLD_3", ACT_BA_COLD_3, 70, 2500, {50, 0},
46+ _("巨大アイス・ボール(400)", "ball of cold (400)") },
47+ { "BA_FIRE_1", ACT_BA_FIRE_1, 30, 1000, {9, 0},
48+ _("ファイア・ボール(72)", "ball of fire (72)") },
49+ { "BA_FIRE_2", ACT_BA_FIRE_2, 40, 1500, {15, 0},
50+ _("巨大ファイア・ボール(120)", "large fire ball (120)") },
51+ { "BA_FIRE_3", ACT_BA_FIRE_3, 60, 1750, {40, 0},
52+ _("巨大ファイア・ボール(300)", "fire ball (300)") },
53+ { "BA_FIRE_4", ACT_BA_FIRE_4, 40, 1000, {12, 0},
54+ _("ファイア・ボール(100)", "fire ball (100)") },
55+ { "BA_ELEC_2", ACT_BA_ELEC_2, 40, 1000, {12, 0},
56+ _("サンダー・ボール(100)", "ball of lightning (100)") },
57+ { "BA_ELEC_3", ACT_BA_ELEC_3, 70, 2500, {70, 0},
58+ _("巨大サンダー・ボール(500)", "ball of lightning (500)") },
59+ { "BA_ACID_1", ACT_BA_ACID_1, 30, 1000, {12, 0},
60+ _("アシッド・ボール(100)", "ball of acid (100)") },
61+ { "BA_NUKE_1", ACT_BA_NUKE_1, 50, 1000, {12, 0},
62+ _("放射能球(100)", "ball of nuke (100)") },
63+ { "HYPODYNAMIA_1", ACT_HYPODYNAMIA_1, 30, 500, {12, 0},
64+ _("窒息攻撃(100)", "a strangling attack (100)") },
65+ { "HYPODYNAMIA_2", ACT_HYPODYNAMIA_2, 40, 750, {15, 0},
66+ _("衰弱の矢(120)", "hypodynamic bolt (120)") },
67+ { "DRAIN_1", ACT_DRAIN_1, 40, 1000, {20, 0},
68+ _("吸収の矢(3*50)", "drain bolt (3*50)") },
69+ { "BO_MISS_2", ACT_BO_MISS_2, 40, 1000, {20, 0},
70+ _("矢(150)", "arrows (150)") },
71+ { "WHIRLWIND", ACT_WHIRLWIND, 50, 7500, {25, 0},
72+ _("カマイタチ", "whirlwind attack") },
73+ { "DRAIN_2", ACT_DRAIN_2, 50, 2500, {40, 0},
74+ _("吸収の矢(3*100)", "drain bolt (3*100)") },
75+ { "CALL_CHAOS", ACT_CALL_CHAOS, 70, 5000, {35, 0},
76+ _("混沌召来", "call chaos") },
77+ { "ROCKET", ACT_ROCKET, 70, 5000, {20, 0},
78+ _("ロケット(120+レベル)", "launch rocket (120+level)") },
79+ { "DISP_EVIL", ACT_DISP_EVIL, 50, 4000, {50, 0},
80+ _("邪悪退散(x5)", "dispel evil (x5)") },
81+ { "BA_MISS_3", ACT_BA_MISS_3, 50, 1500, {50, 0},
82+ _("エレメントのブレス(300)", "elemental breath (300)") },
83+ { "DISP_GOOD", ACT_DISP_GOOD, 50, 3500, {50, 0},
84+ _("善良退散(x5)", "dispel good (x5)") },
85+ { "BO_MANA", ACT_BO_MANA, 40, 1500, {20, 0},
86+ _("魔法の矢(150)", "a magical arrow (150)") },
87+ { "BA_WATER", ACT_BA_WATER, 50, 2000, {25, 0},
88+ _("ウォーター・ボール(200)", "water ball (200)") },
89+ { "BA_STAR", ACT_BA_STAR, 50, 2200, {25, 0},
90+ _("巨大スター・ボール(200)", "large star ball (200)") },
91+ { "BA_DARK", ACT_BA_DARK, 50, 2200, {30, 0},
92+ _("暗黒の嵐(250)", "darkness storm (250)") },
93+ { "BA_MANA", ACT_BA_MANA, 70, 2500, {30, 0},
94+ _("魔力の嵐(250)", "a mana storm (250)") },
95+ { "PESTICIDE", ACT_PESTICIDE, 10, 500, {10, 0},
96+ _("害虫の駆除", "dispel small life") },
97+ { "BLINDING_LIGHT", ACT_BLINDING_LIGHT, 30, 5000, {40, 0},
98+ _("眩しい光", "blinding light") },
99+ { "BIZARRE", ACT_BIZARRE, 90, 10000, {50, 0},
100+ _("信じ難いこと", "bizarre things") },
101+ { "CAST_BA_STAR", ACT_CAST_BA_STAR, 70, 7500, {100, 0},
102+ _("スター・ボール・ダスト(150)", "cast star balls (150)") },
103+ { "BLADETURNER", ACT_BLADETURNER, 80, 20000, {80, 0},
104+ _("エレメントのブレス(300), 士気高揚、祝福、耐性", "breathe elements (300), hero, bless, and resistance") },
105+ { "BR_FIRE", ACT_BR_FIRE, 50, 5000, {-1, 0},
106+ _("火炎のブレス (200)", "fire breath (200)") },
107+ { "BR_COLD", ACT_BR_COLD, 50, 5000, {-1, 0},
108+ _("冷気のブレス (200)", "cold breath (200)") },
109+ { "BR_DRAGON", ACT_BR_DRAGON, 70, 10000, { 30, 0 },
110+ "" /* built by item_activation_dragon_breath() */ },
111+
112+ { "CONFUSE", ACT_CONFUSE, 10, 500, {10, 0},
113+ _("パニック・モンスター", "confuse monster") },
114+ { "SLEEP", ACT_SLEEP, 10, 750, {15, 0},
115+ _("周囲のモンスターを眠らせる", "sleep nearby monsters") },
116+ { "QUAKE", ACT_QUAKE, 30, 600, {20, 0},
117+ _("地震", "earthquake") },
118+ { "TERROR", ACT_TERROR, 20, 2500, {-1, 0},
119+ _("恐慌", "terror") },
120+ { "TELE_AWAY", ACT_TELE_AWAY, 20, 2000, {15, 0},
121+ _("テレポート・アウェイ", "teleport away") },
122+ { "BANISH_EVIL", ACT_BANISH_EVIL, 40, 2000, {250, 0},
123+ _("邪悪消滅", "banish evil") },
124+ { "GENOCIDE", ACT_GENOCIDE, 50, 10000, {500, 0},
125+ _("抹殺", "genocide") },
126+ { "MASS_GENO", ACT_MASS_GENO, 50, 10000, {1000, 0},
127+ _("周辺抹殺", "mass genocide") },
128+ { "SCARE_AREA", ACT_SCARE_AREA, 20, 2500, {20, 0},
129+ _("モンスター恐慌", "frighten monsters") },
130+ { "AGGRAVATE", ACT_AGGRAVATE, 0, 100, {0, 0},
131+ _("モンスターを怒らせる", "aggravete monsters") },
132+
133+ { "CHARM_ANIMAL", ACT_CHARM_ANIMAL, 40, 7500, {200, 0},
134+ _("動物魅了", "charm animal") },
135+ { "CHARM_UNDEAD", ACT_CHARM_UNDEAD, 40, 10000, {333, 0},
136+ _("アンデッド従属", "enslave undead") },
137+ { "CHARM_OTHER", ACT_CHARM_OTHER, 40, 10000, {400, 0},
138+ _("モンスター魅了", "charm monster") },
139+ { "CHARM_ANIMALS", ACT_CHARM_ANIMALS, 40, 12500, {500, 0},
140+ _("動物友和", "animal friendship") },
141+ { "CHARM_OTHERS", ACT_CHARM_OTHERS, 40, 17500, {750, 0},
142+ _("周辺魅了", "mass charm") },
143+ { "SUMMON_ANIMAL", ACT_SUMMON_ANIMAL, 50, 10000, {200, 300},
144+ _("動物召喚", "summon animal") },
145+ { "SUMMON_PHANTOM", ACT_SUMMON_PHANTOM, 50, 12000, {200, 200},
146+ _("幻霊召喚", "summon phantasmal servant") },
147+ { "SUMMON_ELEMENTAL", ACT_SUMMON_ELEMENTAL, 50, 15000, {750, 0},
148+ _("エレメンタル召喚", "summon elemental") },
149+ { "SUMMON_DEMON", ACT_SUMMON_DEMON, 50, 20000, {666, 0},
150+ _("悪魔召喚", "summon demon") },
151+ { "SUMMON_UNDEAD", ACT_SUMMON_UNDEAD, 50, 20000, {666, 0},
152+ _("アンデッド召喚", "summon undead") },
153+ { "SUMMON_HOUND", ACT_SUMMON_HOUND, 50, 15000, {300, 0},
154+ _("ハウンド召喚", "summon hound") },
155+ { "SUMMON_DAWN", ACT_SUMMON_DAWN, 50, 15000, {500, 0},
156+ _("暁の師団召喚", "summon the Legion of the Dawn") },
157+ { "SUMMON_OCTOPUS", ACT_SUMMON_OCTOPUS, 50, 15000, {300, 0},
158+ _("蛸の大群召喚", "summon octopus") },
159+
160+ { "CHOIR_SINGS", ACT_CHOIR_SINGS, 60, 20000, {300, 0},
161+ _("回復(777)、癒し、士気高揚", "heal 777 hit points, curing and HEROism") },
162+ { "CURE_LW", ACT_CURE_LW, 10, 500, {10, 0},
163+ _("恐怖除去/体力回復(30)", "remove fear and heal 30 hp") },
164+ { "CURE_MW", ACT_CURE_MW, 20, 750, {3, 3},
165+ _("傷回復(4d8)", "heal 4d8 and wounds") },
166+ { "CURE_POISON", ACT_CURE_POISON, 10, 1000, {5, 0},
167+ _("恐怖除去/毒消し", "remove fear and cure poison") },
168+ { "REST_LIFE", ACT_REST_EXP, 40, 7500, {450, 0},
169+ _("経験値復活", "restore experience") },
170+ { "REST_ALL", ACT_REST_ALL, 30, 15000, {750, 0},
171+ _("全ステータスと経験値復活", "restore stats and experience") },
172+ { "CURE_700", ACT_CURE_700, 40, 10000, {250, 0},
173+ _("体力回復(700)", "heal 700 hit points") },
174+ { "CURE_1000", ACT_CURE_1000, 50, 15000, {888, 0},
175+ _("体力回復(1000)", "heal 1000 hit points") },
176+ { "CURING", ACT_CURING, 30, 5000, {100, 0},
177+ _("癒し", "curing") },
178+ { "CURE_MANA_FULL", ACT_CURE_MANA_FULL, 60, 20000, {777, 0},
179+ _("魔力復活", "restore mana") },
180+
181+ { "ESP", ACT_ESP, 30, 1500, {100, 0},
182+ _("テレパシー(期間 25+d30)", "telepathy (dur 25+d30)") },
183+ { "BERSERK", ACT_BERSERK, 10, 800, {75, 0},
184+ _("狂戦士化(25+d25ターン)", "berserk (25+d25 turns)") },
185+ { "PROT_EVIL", ACT_PROT_EVIL, 30, 5000, {100, 0},
186+ _("対邪悪結界(期間 3*レベル+d25)", "protect evil (dur level*3 + d25)") },
187+ { "RESIST_ALL", ACT_RESIST_ALL, 30, 5000, {111, 0},
188+ _("全耐性(期間 20+d20)", "resist elements (dur 20+d20)") },
189+ { "SPEED", ACT_SPEED, 40, 15000, {250, 0},
190+ _("加速(期間 20+d20)", "speed (dur 20+d20)") },
191+ { "XTRA_SPEED", ACT_XTRA_SPEED, 40, 25000, {200, 200},
192+ _("加速(期間 75+d75)", "speed (dur 75+d75)") },
193+ { "WRAITH", ACT_WRAITH, 90, 25000, {1000, 0},
194+ _("幽体化(期間 (レベル/2)+d(レベル/2))", "wraith form (dur level/2 + d(level/2))") },
195+ { "INVULN", ACT_INVULN, 90, 25000, {1000, 0},
196+ _("無敵化(期間 8+d8)", "invulnerability (dur 8+d8)") },
197+ { "HERO", ACT_HERO, 10, 500, {30, 30},
198+ _("士気高揚", "heroism") },
199+ { "HERO_SPEED", ACT_HERO_SPEED, 30, 20000, {100, 200},
200+ _("士気高揚, スピード(期間 50+d50ターン)", "hero and +10 to speed (50)") },
201+ { "RESIST_ACID", ACT_RESIST_ACID, 20, 2000, {40, 40},
202+ _("酸への耐性(期間 20+d20)", "resist acid (dur 20+d20)") },
203+ { "RESIST_FIRE", ACT_RESIST_FIRE, 20, 2000, {40, 40},
204+ _("火炎への耐性(期間 20+d20)", "resist fire (dur 20+d20)") },
205+ { "RESIST_COLD", ACT_RESIST_COLD, 20, 2000, {40, 40},
206+ _("冷気への耐性(期間 20+d20)", "resist cold (dur 20+d20)") },
207+ { "RESIST_ELEC", ACT_RESIST_ELEC, 20, 2000, {40, 40},
208+ _("電撃への耐性(期間 20+d20)", "resist elec (dur 20+d20)") },
209+ { "RESIST_POIS", ACT_RESIST_POIS, 20, 2000, {40, 40},
210+ _("毒への耐性(期間 20+d20)", "resist poison (dur 20+d20)") },
211+
212+ { "LIGHT", ACT_LIGHT, 10, 150, {10, 10},
213+ _("イルミネーション", "light area (dam 2d15)") },
214+ { "MAP_LIGHT", ACT_MAP_LIGHT, 30, 500, {50, 50},
215+ _("魔法の地図と光", "light (dam 2d15) & map area") },
216+ { "DETECT_ALL", ACT_DETECT_ALL, 30, 1000, {55, 55},
217+ _("全感知", "detection") },
218+ { "DETECT_XTRA", ACT_DETECT_XTRA, 50, 12500, {100, 0},
219+ _("全感知、探索、*鑑定*", "detection, probing and identify true") },
220+ { "ID_FULL", ACT_ID_FULL, 50, 10000, {75, 0},
221+ _("*鑑定*", "identify true") },
222+ { "ID_PLAIN", ACT_ID_PLAIN, 20, 1250, {10, 0},
223+ _("鑑定", "identify spell") },
224+ { "RUNE_EXPLO", ACT_RUNE_EXPLO, 40, 4000, {200, 0},
225+ _("爆発のルーン", "explosive rune") },
226+ { "RUNE_PROT", ACT_RUNE_PROT, 60, 10000, {400, 0},
227+ _("守りのルーン", "rune of protection") },
228+ { "SATIATE", ACT_SATIATE, 10, 2000, {200, 0},
229+ _("空腹充足", "satisfy hunger") },
230+ { "DEST_DOOR", ACT_DEST_DOOR, 10, 100, {10, 0},
231+ _("ドア破壊", "destroy doors") },
232+ { "STONE_MUD", ACT_STONE_MUD, 20, 1000, {3, 0},
233+ _("岩石溶解", "stone to mud") },
234+ { "RECHARGE", ACT_RECHARGE, 30, 1000, {70, 0},
235+ _("魔力充填", "recharging") },
236+ { "ALCHEMY", ACT_ALCHEMY, 50, 10000, {500, 0},
237+ _("錬金術", "alchemy") },
238+ { "DIM_DOOR", ACT_DIM_DOOR, 50, 10000, {100, 0},
239+ _("次元の扉", "dimension door") },
240+ { "TELEPORT", ACT_TELEPORT, 10, 2000, {25, 0},
241+ _("テレポート", "teleport") },
242+ { "RECALL", ACT_RECALL, 30, 7500, {200, 0},
243+ _("帰還の詔", "word of recall") },
244+ { "JUDGE", ACT_JUDGE, 90, 50000, {20, 20},
245+ _("体力と引き替えに千里眼と帰還", "a telekinesis (500 lb)") },
246+ { "TELEKINESIS", ACT_TELEKINESIS, 20, 5500, {25, 25},
247+ _("物体を引き寄せる(重量25kgまで)", "clairvoyance and recall, draining you") },
248+ { "DETECT_UNIQUE", ACT_DETECT_UNIQUE, 40, 10000, {200, 0},
249+ _("この階にいるユニークモンスターを表示", "list of the uniques on the level") },
250+ { "ESCAPE", ACT_ESCAPE, 10, 3000, {35, 0},
251+ _("逃走", "a getaway") },
252+ { "DISP_CURSE_XTRA", ACT_DISP_CURSE_XTRA, 40, 30000, {0, 0},
253+ _("*解呪*と調査", "dispel curse and probing") },
254+ { "BRAND_FIRE_BOLTS", ACT_BRAND_FIRE_BOLTS, 40, 20000, {999, 0},
255+ _("刃先のファイア・ボルト", "fire branding of bolts") },
256+ { "RECHARGE_XTRA", ACT_RECHARGE_XTRA, 70, 30000, {200, 0},
257+ _("魔力充填", "recharge item") },
258+ { "LORE", ACT_LORE, 10, 30000, {0, 0},
259+ _("危険を伴う鑑定", "perilous identify") },
260+ { "SHIKOFUMI", ACT_SHIKOFUMI, 10, 10000, {100, 100},
261+ _("四股踏み", "shiko") },
262+ { "PHASE_DOOR", ACT_PHASE_DOOR, 10, 1500, {10, 0},
263+ _("ショート・テレポート", "blink") },
264+ { "DETECT_ALL_MONS", ACT_DETECT_ALL_MONS, 30, 3000, {150, 0},
265+ _("全モンスター感知", "detect all monsters") },
266+ { "ULTIMATE_RESIST", ACT_ULTIMATE_RESIST, 90, 20000, {777, 0},
267+ _("士気高揚、祝福、究極の耐性", "hero, bless, and ultimate resistance") },
268+
269+ { "CAST_OFF", ACT_CAST_OFF, 30, 15000, {100, 0},
270+ _("脱衣と小宇宙燃焼", "cast it off and cosmic heroism") },
271+ { "FISHING", ACT_FISHING, 0, 100, {0, 0},
272+ _("釣りをする", "fishing") },
273+ { "INROU", ACT_INROU, 40, 15000, {150, 150},
274+ _("例のアレ", "reveal your identity") },
275+ { "MURAMASA", ACT_MURAMASA, 0, 0, {-1, 0},
276+ _("腕力の上昇", "increase STR") },
277+ { "BLOODY_MOON", ACT_BLOODY_MOON, 0, 0, {3333, 0},
278+ _("属性変更", "change zokusei") },
279+ { "CRIMSON", ACT_CRIMSON, 0, 50000, {15, 0},
280+ _("ファイア!", "fire!") },
281+
282+ { "STRAIN_HASTE", ACT_STRAIN_HASTE, 10, 1000, {120, 100},
283+ _("体力と引き換えに加速", "haste with strain") },
284+ { "GRAND_CROSS", ACT_GRAND_CROSS, 30, 15000, {250, 200},
285+ _("グランド・クロス", "grand cross") },
286+ { "TELEPORT_LEVEL", ACT_TELEPORT_LEVEL, 10, 1500, {100, 200},
287+ _("テレポート・レベル", "teleort level") },
288+ { "ARTS_FALLING_STAR", ACT_FALLING_STAR, 20, 5500, {30, 50},
289+ _("魔剣・流れ星", "blade arts 'falling star'") },
290+ { NULL, 0, 0, 0, {0, 0},
291+ "" }
292+};
293+
294+/*!
22295 * @brief ペット入りモンスターボールをソートするための比較関数
23296 * @param u 所持品配列の参照ポインタ
24297 * @param v 未使用
--- a/src/cmd-activate.h
+++ b/src/cmd-activate.h
@@ -3,4 +3,142 @@ extern void do_cmd_activate_aux(INVENTORY_IDX item);
33 extern bool activate_artifact(object_type * o_ptr);
44 extern void get_bloody_moon_flags(object_type *o_ptr);
55
6+extern const activation_type activation_info[];
7+
8+
9+/* Activation effects for random artifacts */
10+#define ACT_SUNLIGHT 1
11+#define ACT_BO_MISS_1 2
12+#define ACT_BA_POIS_1 3
13+#define ACT_BO_ELEC_1 4
14+#define ACT_BO_ACID_1 5
15+#define ACT_BO_COLD_1 6
16+#define ACT_BO_FIRE_1 7
17+#define ACT_BA_COLD_1 8
18+#define ACT_BA_FIRE_1 9
19+#define ACT_HYPODYNAMIA_1 10
20+#define ACT_BA_COLD_2 11
21+#define ACT_BA_ELEC_2 12
22+#define ACT_HYPODYNAMIA_2 13
23+#define ACT_DRAIN_1 14
24+#define ACT_BO_MISS_2 15
25+#define ACT_BA_FIRE_3 16
26+#define ACT_BA_COLD_3 17
27+#define ACT_BA_ELEC_3 18
28+#define ACT_WHIRLWIND 19
29+#define ACT_DRAIN_2 20
30+#define ACT_CALL_CHAOS 21
31+#define ACT_ROCKET 22
32+#define ACT_DISP_EVIL 23
33+#define ACT_BA_MISS_3 24
34+#define ACT_DISP_GOOD 25
35+#define ACT_BO_MANA 26
36+#define ACT_BA_FIRE_2 27
37+#define ACT_BA_WATER 28
38+#define ACT_BA_STAR 29
39+#define ACT_BA_DARK 30
40+#define ACT_BA_MANA 31
41+#define ACT_PESTICIDE 32
42+#define ACT_BLINDING_LIGHT 33
43+#define ACT_BIZARRE 34
44+#define ACT_CAST_BA_STAR 35
45+#define ACT_BLADETURNER 36
46+#define ACT_BA_ACID_1 37
47+#define ACT_BR_FIRE 38
48+#define ACT_BR_COLD 39
49+#define ACT_BR_DRAGON 40
50+#define ACT_BA_FIRE_4 41
51+#define ACT_BA_NUKE_1 42
52+/* 42 - 50 unused */
53+#define ACT_CONFUSE 51
54+#define ACT_SLEEP 52
55+#define ACT_QUAKE 53
56+#define ACT_TERROR 54
57+#define ACT_TELE_AWAY 55
58+#define ACT_BANISH_EVIL 56
59+#define ACT_GENOCIDE 57
60+#define ACT_MASS_GENO 58
61+#define ACT_SCARE_AREA 59
62+#define ACT_AGGRAVATE 60
63+/* 59 - 64 unused */
64+#define ACT_CHARM_ANIMAL 65
65+#define ACT_CHARM_UNDEAD 66
66+#define ACT_CHARM_OTHER 67
67+#define ACT_CHARM_ANIMALS 68
68+#define ACT_CHARM_OTHERS 69
69+#define ACT_SUMMON_ANIMAL 70
70+#define ACT_SUMMON_PHANTOM 71
71+#define ACT_SUMMON_ELEMENTAL 72
72+#define ACT_SUMMON_DEMON 73
73+#define ACT_SUMMON_UNDEAD 74
74+#define ACT_SUMMON_HOUND 75
75+#define ACT_SUMMON_DAWN 76
76+#define ACT_SUMMON_OCTOPUS 77
77+/* 76 - 80 unused */
78+#define ACT_CHOIR_SINGS 80
79+#define ACT_CURE_LW 81
80+#define ACT_CURE_MW 82
81+#define ACT_CURE_POISON 83
82+#define ACT_REST_EXP 84
83+#define ACT_REST_ALL 85
84+#define ACT_CURE_700 86
85+#define ACT_CURE_1000 87
86+#define ACT_CURING 88
87+#define ACT_CURE_MANA_FULL 89
88+/* 90 unused */
89+#define ACT_ESP 91
90+#define ACT_BERSERK 92
91+#define ACT_PROT_EVIL 93
92+#define ACT_RESIST_ALL 94
93+#define ACT_SPEED 95
94+#define ACT_XTRA_SPEED 96
95+#define ACT_WRAITH 97
96+#define ACT_INVULN 98
97+#define ACT_HERO 99
98+#define ACT_HERO_SPEED 100
99+#define ACT_RESIST_ACID 101
100+#define ACT_RESIST_FIRE 102
101+#define ACT_RESIST_COLD 103
102+#define ACT_RESIST_ELEC 104
103+#define ACT_RESIST_POIS 105
104+/* 106 - 110 unused */
105+#define ACT_LIGHT 111
106+#define ACT_MAP_LIGHT 112
107+#define ACT_DETECT_ALL 113
108+#define ACT_DETECT_XTRA 114
109+#define ACT_ID_FULL 115
110+#define ACT_ID_PLAIN 116
111+#define ACT_RUNE_EXPLO 117
112+#define ACT_RUNE_PROT 118
113+#define ACT_SATIATE 119
114+#define ACT_DEST_DOOR 120
115+#define ACT_STONE_MUD 121
116+#define ACT_RECHARGE 122
117+#define ACT_ALCHEMY 123
118+#define ACT_DIM_DOOR 124
119+#define ACT_TELEPORT 125
120+#define ACT_RECALL 126
121+#define ACT_JUDGE 127
122+#define ACT_TELEKINESIS 128
123+#define ACT_DETECT_UNIQUE 129
124+#define ACT_ESCAPE 130
125+#define ACT_DISP_CURSE_XTRA 131
126+#define ACT_BRAND_FIRE_BOLTS 132
127+#define ACT_RECHARGE_XTRA 133
128+#define ACT_LORE 134
129+#define ACT_SHIKOFUMI 135
130+#define ACT_PHASE_DOOR 136
131+#define ACT_DETECT_ALL_MONS 137
132+#define ACT_ULTIMATE_RESIST 138
133+/* 127 -> unused */
134+#define ACT_FALLING_STAR 246
135+#define ACT_STRAIN_HASTE 247
136+#define ACT_TELEPORT_LEVEL 248
137+#define ACT_GRAND_CROSS 249
138+#define ACT_CAST_OFF 250
139+#define ACT_FISHING 251
140+#define ACT_INROU 252
141+#define ACT_MURAMASA 253
142+#define ACT_BLOODY_MOON 254
143+#define ACT_CRIMSON 255
6144
--- a/src/defines.h
+++ b/src/defines.h
@@ -1174,141 +1174,6 @@
11741174 #define EGO_AMU_NAIVETY 237
11751175 // MAX 240
11761176
1177-/* Activation effects for random artifacts */
1178-#define ACT_SUNLIGHT 1
1179-#define ACT_BO_MISS_1 2
1180-#define ACT_BA_POIS_1 3
1181-#define ACT_BO_ELEC_1 4
1182-#define ACT_BO_ACID_1 5
1183-#define ACT_BO_COLD_1 6
1184-#define ACT_BO_FIRE_1 7
1185-#define ACT_BA_COLD_1 8
1186-#define ACT_BA_FIRE_1 9
1187-#define ACT_HYPODYNAMIA_1 10
1188-#define ACT_BA_COLD_2 11
1189-#define ACT_BA_ELEC_2 12
1190-#define ACT_HYPODYNAMIA_2 13
1191-#define ACT_DRAIN_1 14
1192-#define ACT_BO_MISS_2 15
1193-#define ACT_BA_FIRE_3 16
1194-#define ACT_BA_COLD_3 17
1195-#define ACT_BA_ELEC_3 18
1196-#define ACT_WHIRLWIND 19
1197-#define ACT_DRAIN_2 20
1198-#define ACT_CALL_CHAOS 21
1199-#define ACT_ROCKET 22
1200-#define ACT_DISP_EVIL 23
1201-#define ACT_BA_MISS_3 24
1202-#define ACT_DISP_GOOD 25
1203-#define ACT_BO_MANA 26
1204-#define ACT_BA_FIRE_2 27
1205-#define ACT_BA_WATER 28
1206-#define ACT_BA_STAR 29
1207-#define ACT_BA_DARK 30
1208-#define ACT_BA_MANA 31
1209-#define ACT_PESTICIDE 32
1210-#define ACT_BLINDING_LIGHT 33
1211-#define ACT_BIZARRE 34
1212-#define ACT_CAST_BA_STAR 35
1213-#define ACT_BLADETURNER 36
1214-#define ACT_BA_ACID_1 37
1215-#define ACT_BR_FIRE 38
1216-#define ACT_BR_COLD 39
1217-#define ACT_BR_DRAGON 40
1218-#define ACT_BA_FIRE_4 41
1219-#define ACT_BA_NUKE_1 42
1220-/* 42 - 50 unused */
1221-#define ACT_CONFUSE 51
1222-#define ACT_SLEEP 52
1223-#define ACT_QUAKE 53
1224-#define ACT_TERROR 54
1225-#define ACT_TELE_AWAY 55
1226-#define ACT_BANISH_EVIL 56
1227-#define ACT_GENOCIDE 57
1228-#define ACT_MASS_GENO 58
1229-#define ACT_SCARE_AREA 59
1230-#define ACT_AGGRAVATE 60
1231-/* 59 - 64 unused */
1232-#define ACT_CHARM_ANIMAL 65
1233-#define ACT_CHARM_UNDEAD 66
1234-#define ACT_CHARM_OTHER 67
1235-#define ACT_CHARM_ANIMALS 68
1236-#define ACT_CHARM_OTHERS 69
1237-#define ACT_SUMMON_ANIMAL 70
1238-#define ACT_SUMMON_PHANTOM 71
1239-#define ACT_SUMMON_ELEMENTAL 72
1240-#define ACT_SUMMON_DEMON 73
1241-#define ACT_SUMMON_UNDEAD 74
1242-#define ACT_SUMMON_HOUND 75
1243-#define ACT_SUMMON_DAWN 76
1244-#define ACT_SUMMON_OCTOPUS 77
1245-/* 76 - 80 unused */
1246-#define ACT_CHOIR_SINGS 80
1247-#define ACT_CURE_LW 81
1248-#define ACT_CURE_MW 82
1249-#define ACT_CURE_POISON 83
1250-#define ACT_REST_EXP 84
1251-#define ACT_REST_ALL 85
1252-#define ACT_CURE_700 86
1253-#define ACT_CURE_1000 87
1254-#define ACT_CURING 88
1255-#define ACT_CURE_MANA_FULL 89
1256-/* 90 unused */
1257-#define ACT_ESP 91
1258-#define ACT_BERSERK 92
1259-#define ACT_PROT_EVIL 93
1260-#define ACT_RESIST_ALL 94
1261-#define ACT_SPEED 95
1262-#define ACT_XTRA_SPEED 96
1263-#define ACT_WRAITH 97
1264-#define ACT_INVULN 98
1265-#define ACT_HERO 99
1266-#define ACT_HERO_SPEED 100
1267-#define ACT_RESIST_ACID 101
1268-#define ACT_RESIST_FIRE 102
1269-#define ACT_RESIST_COLD 103
1270-#define ACT_RESIST_ELEC 104
1271-#define ACT_RESIST_POIS 105
1272-/* 106 - 110 unused */
1273-#define ACT_LIGHT 111
1274-#define ACT_MAP_LIGHT 112
1275-#define ACT_DETECT_ALL 113
1276-#define ACT_DETECT_XTRA 114
1277-#define ACT_ID_FULL 115
1278-#define ACT_ID_PLAIN 116
1279-#define ACT_RUNE_EXPLO 117
1280-#define ACT_RUNE_PROT 118
1281-#define ACT_SATIATE 119
1282-#define ACT_DEST_DOOR 120
1283-#define ACT_STONE_MUD 121
1284-#define ACT_RECHARGE 122
1285-#define ACT_ALCHEMY 123
1286-#define ACT_DIM_DOOR 124
1287-#define ACT_TELEPORT 125
1288-#define ACT_RECALL 126
1289-#define ACT_JUDGE 127
1290-#define ACT_TELEKINESIS 128
1291-#define ACT_DETECT_UNIQUE 129
1292-#define ACT_ESCAPE 130
1293-#define ACT_DISP_CURSE_XTRA 131
1294-#define ACT_BRAND_FIRE_BOLTS 132
1295-#define ACT_RECHARGE_XTRA 133
1296-#define ACT_LORE 134
1297-#define ACT_SHIKOFUMI 135
1298-#define ACT_PHASE_DOOR 136
1299-#define ACT_DETECT_ALL_MONS 137
1300-#define ACT_ULTIMATE_RESIST 138
1301-/* 127 -> unused */
1302-#define ACT_FALLING_STAR 246
1303-#define ACT_STRAIN_HASTE 247
1304-#define ACT_TELEPORT_LEVEL 248
1305-#define ACT_GRAND_CROSS 249
1306-#define ACT_CAST_OFF 250
1307-#define ACT_FISHING 251
1308-#define ACT_INROU 252
1309-#define ACT_MURAMASA 253
1310-#define ACT_BLOODY_MOON 254
1311-#define ACT_CRIMSON 255
13121177
13131178 /*** Object "tval" and "sval" codes ***/
13141179
--- a/src/externs.h
+++ b/src/externs.h
@@ -111,7 +111,6 @@ extern const concptr ident_info[];
111111 extern const mbe_info_type mbe_info[];
112112 extern const byte feature_action_flags[FF_FLAG_MAX];
113113 extern const dragonbreath_type dragonbreath_info[];
114-extern const activation_type activation_info[];
115114
116115 extern const option_type option_info[];
117116 extern const option_type cheat_info[CHEAT_MAX];
--- a/src/init1.c
+++ b/src/init1.c
@@ -50,6 +50,7 @@
5050 #include "trap.h"
5151 #include "monster.h"
5252 #include "artifact.h"
53+#include "cmd-activate.h"
5354
5455
5556
--- a/src/object1.c
+++ b/src/object1.c
@@ -13,6 +13,7 @@
1313
1414 #include "angband.h"
1515 #include "artifact.h"
16+#include "cmd-activate.h"
1617
1718 #if defined(MACINTOSH) || defined(MACH_O_CARBON)
1819 #ifdef verify
--- a/src/tables.c
+++ b/src/tables.c
@@ -4855,276 +4855,3 @@ const dragonbreath_type dragonbreath_info[] = {
48554855 { 0, 0, NULL }
48564856 };
48574857
4858-/*!
4859- * @brief アイテムの発動効果テーブル /
4860- * Define flags, levels, values of activations
4861- */
4862-const activation_type activation_info[] =
4863-{
4864- { "SUNLIGHT", ACT_SUNLIGHT, 10, 250, {10, 0},
4865- _("太陽光線", "beam of sunlight") },
4866- { "BO_MISS_1", ACT_BO_MISS_1, 10, 250, {2, 0},
4867- _("マジック・ミサイル(2d6)", "magic missile (2d6)") },
4868- { "BA_POIS_1", ACT_BA_POIS_1, 10, 300, {4, 0},
4869- _("悪臭雲(12)", "stinking cloud (12)") },
4870- { "BO_ELEC_1", ACT_BO_ELEC_1, 20, 250, {5, 0},
4871- _("サンダー・ボルト(4d8)", "lightning bolt (4d8)") },
4872- { "BO_ACID_1", ACT_BO_ACID_1, 20, 250, {6, 0},
4873- _("アシッド・ボルト(5d8)", "acid bolt (5d8)") },
4874- { "BO_COLD_1", ACT_BO_COLD_1, 20, 250, {7, 0},
4875- _("アイス・ボルト(6d8)", "frost bolt (6d8)") },
4876- { "BO_FIRE_1", ACT_BO_FIRE_1, 20, 250, {8, 0},
4877- _("ファイア・ボルト(9d8)", "fire bolt (9d8)") },
4878- { "BA_COLD_1", ACT_BA_COLD_1, 30, 750, {6, 0},
4879- _("アイス・ボール(48)", "ball of cold (48)") },
4880- { "BA_COLD_2", ACT_BA_COLD_2, 40, 1000, {12, 0},
4881- _("アイス・ボール(100)", "ball of cold (100)") },
4882- { "BA_COLD_3", ACT_BA_COLD_3, 70, 2500, {50, 0},
4883- _("巨大アイス・ボール(400)", "ball of cold (400)") },
4884- { "BA_FIRE_1", ACT_BA_FIRE_1, 30, 1000, {9, 0},
4885- _("ファイア・ボール(72)", "ball of fire (72)") },
4886- { "BA_FIRE_2", ACT_BA_FIRE_2, 40, 1500, {15, 0},
4887- _("巨大ファイア・ボール(120)", "large fire ball (120)") },
4888- { "BA_FIRE_3", ACT_BA_FIRE_3, 60, 1750, {40, 0},
4889- _("巨大ファイア・ボール(300)", "fire ball (300)") },
4890- { "BA_FIRE_4", ACT_BA_FIRE_4, 40, 1000, {12, 0},
4891- _("ファイア・ボール(100)", "fire ball (100)") },
4892- { "BA_ELEC_2", ACT_BA_ELEC_2, 40, 1000, {12, 0},
4893- _("サンダー・ボール(100)", "ball of lightning (100)") },
4894- { "BA_ELEC_3", ACT_BA_ELEC_3, 70, 2500, {70, 0},
4895- _("巨大サンダー・ボール(500)", "ball of lightning (500)") },
4896- { "BA_ACID_1", ACT_BA_ACID_1, 30, 1000, {12, 0},
4897- _("アシッド・ボール(100)", "ball of acid (100)") },
4898- { "BA_NUKE_1", ACT_BA_NUKE_1, 50, 1000, {12, 0},
4899- _("放射能球(100)", "ball of nuke (100)") },
4900- { "HYPODYNAMIA_1", ACT_HYPODYNAMIA_1, 30, 500, {12, 0},
4901- _("窒息攻撃(100)", "a strangling attack (100)") },
4902- { "HYPODYNAMIA_2", ACT_HYPODYNAMIA_2, 40, 750, {15, 0},
4903- _("衰弱の矢(120)", "hypodynamic bolt (120)") },
4904- { "DRAIN_1", ACT_DRAIN_1, 40, 1000, {20, 0},
4905- _("吸収の矢(3*50)", "drain bolt (3*50)") },
4906- { "BO_MISS_2", ACT_BO_MISS_2, 40, 1000, {20, 0},
4907- _("矢(150)", "arrows (150)") },
4908- { "WHIRLWIND", ACT_WHIRLWIND, 50, 7500, {25, 0},
4909- _("カマイタチ", "whirlwind attack") },
4910- { "DRAIN_2", ACT_DRAIN_2, 50, 2500, {40, 0},
4911- _("吸収の矢(3*100)", "drain bolt (3*100)") },
4912- { "CALL_CHAOS", ACT_CALL_CHAOS, 70, 5000, {35, 0},
4913- _("混沌召来", "call chaos") },
4914- { "ROCKET", ACT_ROCKET, 70, 5000, {20, 0},
4915- _("ロケット(120+レベル)", "launch rocket (120+level)") },
4916- { "DISP_EVIL", ACT_DISP_EVIL, 50, 4000, {50, 0},
4917- _("邪悪退散(x5)", "dispel evil (x5)") },
4918- { "BA_MISS_3", ACT_BA_MISS_3, 50, 1500, {50, 0},
4919- _("エレメントのブレス(300)", "elemental breath (300)") },
4920- { "DISP_GOOD", ACT_DISP_GOOD, 50, 3500, {50, 0},
4921- _("善良退散(x5)", "dispel good (x5)") },
4922- { "BO_MANA", ACT_BO_MANA, 40, 1500, {20, 0},
4923- _("魔法の矢(150)", "a magical arrow (150)") },
4924- { "BA_WATER", ACT_BA_WATER, 50, 2000, {25, 0},
4925- _("ウォーター・ボール(200)", "water ball (200)") },
4926- { "BA_STAR", ACT_BA_STAR, 50, 2200, {25, 0},
4927- _("巨大スター・ボール(200)", "large star ball (200)") },
4928- { "BA_DARK", ACT_BA_DARK, 50, 2200, {30, 0},
4929- _("暗黒の嵐(250)", "darkness storm (250)") },
4930- { "BA_MANA", ACT_BA_MANA, 70, 2500, {30, 0},
4931- _("魔力の嵐(250)", "a mana storm (250)") },
4932- { "PESTICIDE", ACT_PESTICIDE, 10, 500, {10, 0},
4933- _("害虫の駆除", "dispel small life") },
4934- { "BLINDING_LIGHT", ACT_BLINDING_LIGHT, 30, 5000, {40, 0},
4935- _("眩しい光", "blinding light") },
4936- { "BIZARRE", ACT_BIZARRE, 90, 10000, {50, 0},
4937- _("信じ難いこと", "bizarre things") },
4938- { "CAST_BA_STAR", ACT_CAST_BA_STAR, 70, 7500, {100, 0},
4939- _("スター・ボール・ダスト(150)", "cast star balls (150)") },
4940- { "BLADETURNER", ACT_BLADETURNER, 80, 20000, {80, 0},
4941- _("エレメントのブレス(300), 士気高揚、祝福、耐性", "breathe elements (300), hero, bless, and resistance") },
4942- { "BR_FIRE", ACT_BR_FIRE, 50, 5000, {-1, 0},
4943- _("火炎のブレス (200)", "fire breath (200)") },
4944- { "BR_COLD", ACT_BR_COLD, 50, 5000, {-1, 0},
4945- _("冷気のブレス (200)", "cold breath (200)") },
4946- { "BR_DRAGON", ACT_BR_DRAGON, 70, 10000, { 30, 0 },
4947- "" /* built by item_activation_dragon_breath() */ },
4948-
4949- { "CONFUSE", ACT_CONFUSE, 10, 500, {10, 0},
4950- _("パニック・モンスター", "confuse monster") },
4951- { "SLEEP", ACT_SLEEP, 10, 750, {15, 0},
4952- _("周囲のモンスターを眠らせる", "sleep nearby monsters") },
4953- { "QUAKE", ACT_QUAKE, 30, 600, {20, 0},
4954- _("地震", "earthquake") },
4955- { "TERROR", ACT_TERROR, 20, 2500, {-1, 0},
4956- _("恐慌", "terror") },
4957- { "TELE_AWAY", ACT_TELE_AWAY, 20, 2000, {15, 0},
4958- _("テレポート・アウェイ", "teleport away") },
4959- { "BANISH_EVIL", ACT_BANISH_EVIL, 40, 2000, {250, 0},
4960- _("邪悪消滅", "banish evil") },
4961- { "GENOCIDE", ACT_GENOCIDE, 50, 10000, {500, 0},
4962- _("抹殺", "genocide") },
4963- { "MASS_GENO", ACT_MASS_GENO, 50, 10000, {1000, 0},
4964- _("周辺抹殺", "mass genocide") },
4965- { "SCARE_AREA", ACT_SCARE_AREA, 20, 2500, {20, 0},
4966- _("モンスター恐慌", "frighten monsters") },
4967- { "AGGRAVATE", ACT_AGGRAVATE, 0, 100, {0, 0},
4968- _("モンスターを怒らせる", "aggravete monsters") },
4969-
4970- { "CHARM_ANIMAL", ACT_CHARM_ANIMAL, 40, 7500, {200, 0},
4971- _("動物魅了", "charm animal") },
4972- { "CHARM_UNDEAD", ACT_CHARM_UNDEAD, 40, 10000, {333, 0},
4973- _("アンデッド従属", "enslave undead") },
4974- { "CHARM_OTHER", ACT_CHARM_OTHER, 40, 10000, {400, 0},
4975- _("モンスター魅了", "charm monster") },
4976- { "CHARM_ANIMALS", ACT_CHARM_ANIMALS, 40, 12500, {500, 0},
4977- _("動物友和", "animal friendship") },
4978- { "CHARM_OTHERS", ACT_CHARM_OTHERS, 40, 17500, {750, 0},
4979- _("周辺魅了", "mass charm") },
4980- { "SUMMON_ANIMAL", ACT_SUMMON_ANIMAL, 50, 10000, {200, 300},
4981- _("動物召喚", "summon animal") },
4982- { "SUMMON_PHANTOM", ACT_SUMMON_PHANTOM, 50, 12000, {200, 200},
4983- _("幻霊召喚", "summon phantasmal servant") },
4984- { "SUMMON_ELEMENTAL", ACT_SUMMON_ELEMENTAL, 50, 15000, {750, 0},
4985- _("エレメンタル召喚", "summon elemental") },
4986- { "SUMMON_DEMON", ACT_SUMMON_DEMON, 50, 20000, {666, 0},
4987- _("悪魔召喚", "summon demon") },
4988- { "SUMMON_UNDEAD", ACT_SUMMON_UNDEAD, 50, 20000, {666, 0},
4989- _("アンデッド召喚", "summon undead") },
4990- { "SUMMON_HOUND", ACT_SUMMON_HOUND, 50, 15000, {300, 0},
4991- _("ハウンド召喚", "summon hound") },
4992- { "SUMMON_DAWN", ACT_SUMMON_DAWN, 50, 15000, {500, 0},
4993- _("暁の師団召喚", "summon the Legion of the Dawn") },
4994- { "SUMMON_OCTOPUS", ACT_SUMMON_OCTOPUS, 50, 15000, {300, 0},
4995- _("蛸の大群召喚", "summon octopus") },
4996-
4997- { "CHOIR_SINGS", ACT_CHOIR_SINGS, 60, 20000, {300, 0},
4998- _("回復(777)、癒し、士気高揚", "heal 777 hit points, curing and HEROism") },
4999- { "CURE_LW", ACT_CURE_LW, 10, 500, {10, 0},
5000- _("恐怖除去/体力回復(30)", "remove fear and heal 30 hp") },
5001- { "CURE_MW", ACT_CURE_MW, 20, 750, {3, 3},
5002- _("傷回復(4d8)", "heal 4d8 and wounds") },
5003- { "CURE_POISON", ACT_CURE_POISON, 10, 1000, {5, 0},
5004- _("恐怖除去/毒消し", "remove fear and cure poison") },
5005- { "REST_LIFE", ACT_REST_EXP, 40, 7500, {450, 0},
5006- _("経験値復活", "restore experience") },
5007- { "REST_ALL", ACT_REST_ALL, 30, 15000, {750, 0},
5008- _("全ステータスと経験値復活", "restore stats and experience") },
5009- { "CURE_700", ACT_CURE_700, 40, 10000, {250, 0},
5010- _("体力回復(700)", "heal 700 hit points") },
5011- { "CURE_1000", ACT_CURE_1000, 50, 15000, {888, 0},
5012- _("体力回復(1000)", "heal 1000 hit points") },
5013- { "CURING", ACT_CURING, 30, 5000, {100, 0},
5014- _("癒し", "curing") },
5015- { "CURE_MANA_FULL", ACT_CURE_MANA_FULL, 60, 20000, {777, 0},
5016- _("魔力復活", "restore mana") },
5017-
5018- { "ESP", ACT_ESP, 30, 1500, {100, 0},
5019- _("テレパシー(期間 25+d30)", "telepathy (dur 25+d30)") },
5020- { "BERSERK", ACT_BERSERK, 10, 800, {75, 0},
5021- _("狂戦士化(25+d25ターン)", "berserk (25+d25 turns)") },
5022- { "PROT_EVIL", ACT_PROT_EVIL, 30, 5000, {100, 0},
5023- _("対邪悪結界(期間 3*レベル+d25)", "protect evil (dur level*3 + d25)") },
5024- { "RESIST_ALL", ACT_RESIST_ALL, 30, 5000, {111, 0},
5025- _("全耐性(期間 20+d20)", "resist elements (dur 20+d20)") },
5026- { "SPEED", ACT_SPEED, 40, 15000, {250, 0},
5027- _("加速(期間 20+d20)", "speed (dur 20+d20)") },
5028- { "XTRA_SPEED", ACT_XTRA_SPEED, 40, 25000, {200, 200},
5029- _("加速(期間 75+d75)", "speed (dur 75+d75)") },
5030- { "WRAITH", ACT_WRAITH, 90, 25000, {1000, 0},
5031- _("幽体化(期間 (レベル/2)+d(レベル/2))", "wraith form (dur level/2 + d(level/2))") },
5032- { "INVULN", ACT_INVULN, 90, 25000, {1000, 0},
5033- _("無敵化(期間 8+d8)", "invulnerability (dur 8+d8)") },
5034- { "HERO", ACT_HERO, 10, 500, {30, 30},
5035- _("士気高揚", "heroism") },
5036- { "HERO_SPEED", ACT_HERO_SPEED, 30, 20000, {100, 200},
5037- _("士気高揚, スピード(期間 50+d50ターン)", "hero and +10 to speed (50)") },
5038- { "RESIST_ACID", ACT_RESIST_ACID, 20, 2000, {40, 40},
5039- _("酸への耐性(期間 20+d20)", "resist acid (dur 20+d20)") },
5040- { "RESIST_FIRE", ACT_RESIST_FIRE, 20, 2000, {40, 40},
5041- _("火炎への耐性(期間 20+d20)", "resist fire (dur 20+d20)") },
5042- { "RESIST_COLD", ACT_RESIST_COLD, 20, 2000, {40, 40},
5043- _("冷気への耐性(期間 20+d20)", "resist cold (dur 20+d20)") },
5044- { "RESIST_ELEC", ACT_RESIST_ELEC, 20, 2000, {40, 40},
5045- _("電撃への耐性(期間 20+d20)", "resist elec (dur 20+d20)") },
5046- { "RESIST_POIS", ACT_RESIST_POIS, 20, 2000, {40, 40},
5047- _("毒への耐性(期間 20+d20)", "resist poison (dur 20+d20)") },
5048-
5049- { "LIGHT", ACT_LIGHT, 10, 150, {10, 10},
5050- _("イルミネーション", "light area (dam 2d15)") },
5051- { "MAP_LIGHT", ACT_MAP_LIGHT, 30, 500, {50, 50},
5052- _("魔法の地図と光", "light (dam 2d15) & map area") },
5053- { "DETECT_ALL", ACT_DETECT_ALL, 30, 1000, {55, 55},
5054- _("全感知", "detection") },
5055- { "DETECT_XTRA", ACT_DETECT_XTRA, 50, 12500, {100, 0},
5056- _("全感知、探索、*鑑定*", "detection, probing and identify true") },
5057- { "ID_FULL", ACT_ID_FULL, 50, 10000, {75, 0},
5058- _("*鑑定*", "identify true") },
5059- { "ID_PLAIN", ACT_ID_PLAIN, 20, 1250, {10, 0},
5060- _("鑑定", "identify spell") },
5061- { "RUNE_EXPLO", ACT_RUNE_EXPLO, 40, 4000, {200, 0},
5062- _("爆発のルーン", "explosive rune") },
5063- { "RUNE_PROT", ACT_RUNE_PROT, 60, 10000, {400, 0},
5064- _("守りのルーン", "rune of protection") },
5065- { "SATIATE", ACT_SATIATE, 10, 2000, {200, 0},
5066- _("空腹充足", "satisfy hunger") },
5067- { "DEST_DOOR", ACT_DEST_DOOR, 10, 100, {10, 0},
5068- _("ドア破壊", "destroy doors") },
5069- { "STONE_MUD", ACT_STONE_MUD, 20, 1000, {3, 0},
5070- _("岩石溶解", "stone to mud") },
5071- { "RECHARGE", ACT_RECHARGE, 30, 1000, {70, 0},
5072- _("魔力充填", "recharging") },
5073- { "ALCHEMY", ACT_ALCHEMY, 50, 10000, {500, 0},
5074- _("錬金術", "alchemy") },
5075- { "DIM_DOOR", ACT_DIM_DOOR, 50, 10000, {100, 0},
5076- _("次元の扉", "dimension door") },
5077- { "TELEPORT", ACT_TELEPORT, 10, 2000, {25, 0},
5078- _("テレポート", "teleport") },
5079- { "RECALL", ACT_RECALL, 30, 7500, {200, 0},
5080- _("帰還の詔", "word of recall") },
5081- { "JUDGE", ACT_JUDGE, 90, 50000, {20, 20},
5082- _("体力と引き替えに千里眼と帰還", "a telekinesis (500 lb)") },
5083- { "TELEKINESIS", ACT_TELEKINESIS, 20, 5500, {25, 25},
5084- _("物体を引き寄せる(重量25kgまで)", "clairvoyance and recall, draining you") },
5085- { "DETECT_UNIQUE", ACT_DETECT_UNIQUE, 40, 10000, {200, 0},
5086- _("この階にいるユニークモンスターを表示", "list of the uniques on the level") },
5087- { "ESCAPE", ACT_ESCAPE, 10, 3000, {35, 0},
5088- _("逃走", "a getaway") },
5089- { "DISP_CURSE_XTRA", ACT_DISP_CURSE_XTRA, 40, 30000, {0, 0},
5090- _("*解呪*と調査", "dispel curse and probing") },
5091- { "BRAND_FIRE_BOLTS", ACT_BRAND_FIRE_BOLTS, 40, 20000, {999, 0},
5092- _("刃先のファイア・ボルト", "fire branding of bolts") },
5093- { "RECHARGE_XTRA", ACT_RECHARGE_XTRA, 70, 30000, {200, 0},
5094- _("魔力充填", "recharge item") },
5095- { "LORE", ACT_LORE, 10, 30000, {0, 0},
5096- _("危険を伴う鑑定", "perilous identify") },
5097- { "SHIKOFUMI", ACT_SHIKOFUMI, 10, 10000, {100, 100},
5098- _("四股踏み", "shiko") },
5099- { "PHASE_DOOR", ACT_PHASE_DOOR, 10, 1500, {10, 0},
5100- _("ショート・テレポート", "blink") },
5101- { "DETECT_ALL_MONS", ACT_DETECT_ALL_MONS, 30, 3000, {150, 0},
5102- _("全モンスター感知", "detect all monsters") },
5103- { "ULTIMATE_RESIST", ACT_ULTIMATE_RESIST, 90, 20000, {777, 0},
5104- _("士気高揚、祝福、究極の耐性", "hero, bless, and ultimate resistance") },
5105-
5106- { "CAST_OFF", ACT_CAST_OFF, 30, 15000, {100, 0},
5107- _("脱衣と小宇宙燃焼", "cast it off and cosmic heroism") },
5108- { "FISHING", ACT_FISHING, 0, 100, {0, 0},
5109- _("釣りをする", "fishing") },
5110- { "INROU", ACT_INROU, 40, 15000, {150, 150},
5111- _("例のアレ", "reveal your identity") },
5112- { "MURAMASA", ACT_MURAMASA, 0, 0, {-1, 0},
5113- _("腕力の上昇", "increase STR") },
5114- { "BLOODY_MOON", ACT_BLOODY_MOON, 0, 0, {3333, 0},
5115- _("属性変更", "change zokusei") },
5116- { "CRIMSON", ACT_CRIMSON, 0, 50000, {15, 0},
5117- _("ファイア!", "fire!") },
5118-
5119- { "STRAIN_HASTE", ACT_STRAIN_HASTE, 10, 1000, {120, 100},
5120- _("体力と引き換えに加速", "haste with strain") },
5121- { "GRAND_CROSS", ACT_GRAND_CROSS, 30, 15000, {250, 200},
5122- _("グランド・クロス", "grand cross") },
5123- { "TELEPORT_LEVEL", ACT_TELEPORT_LEVEL, 10, 1500, {100, 200},
5124- _("テレポート・レベル", "teleort level") },
5125- { "ARTS_FALLING_STAR", ACT_FALLING_STAR, 20, 5500, {30, 50},
5126- _("魔剣・流れ星", "blade arts 'falling star'") },
5127- { NULL, 0, 0, 0, {0, 0},
5128- "" }
5129-};
5130-
Show on old repository browser