OSDN Git Service

[Refactor] #37353 chest_traps を trap.c へ移動。
[hengband/hengband.git] / src / tables.c
1 /*!
2  * @file tables.c
3  * @brief ゲーム情報テーブル / Angband Tables
4  * @date 2014/07/23
5  * @author
6  * <pre>
7  * Copyright (c) 1997 Ben Harrison, James E. Wilson, Robert A. Koeneke
8  * This software may be copied and distributed for educational, research,
9  * and not for profit purposes provided that this copyright and statement
10  * are included in all such copies.  Other copyrights may also apply.
11  * </pre>
12  */
13
14
15 #include "angband.h"
16
17 /*!
18  * キーパッドの方向を南から反時計回り順に列挙 / Global array for looping through the "keypad directions"
19  */
20 const POSITION ddd[9] =
21 { 2, 8, 6, 4, 3, 1, 9, 7, 5 };
22
23 /*!
24  * dddで定義した順にベクトルのX軸成分を定義 / Global arrays for converting "keypad direction" into offsets
25  */
26 const POSITION ddx[10] =
27 { 0, -1, 0, 1, -1, 0, 1, -1, 0, 1 };
28
29 /*!
30  * dddで定義した順にベクトルのY軸成分を定義 / Global arrays for converting "keypad direction" into offsets
31  */
32 const POSITION ddy[10] =
33 { 0, 1, 1, 1, 0, 0, 0, -1, -1, -1 };
34
35 /*!
36  * ddd越しにベクトルのX軸成分を定義 / Global arrays for optimizing "ddx[ddd[i]]" and "ddy[ddd[i]]"
37  */
38 const POSITION ddx_ddd[9] =
39 { 0, 0, 1, -1, 1, -1, 1, -1, 0 };
40
41 /*!
42  * ddd越しにベクトルのY軸成分を定義 / Global arrays for optimizing "ddx[ddd[i]]" and "ddy[ddd[i]]"
43  */
44 const POSITION ddy_ddd[9] =
45 { 1, -1, 0, 0, 1, 1, -1, -1, 0 };
46
47
48 /*!
49  * キーパッドの円環状方向配列 / Circular keypad direction array
50  */
51 const POSITION cdd[8] =
52 { 2, 3, 6, 9, 8, 7, 4, 1 };
53
54 /*!
55  * cdd越しにベクトルのX軸成分を定義 / Global arrays for optimizing "ddx[cdd[i]]" and "ddy[cdd[i]]"
56  */
57 const POSITION ddx_cdd[8] =
58 { 0, 1, 1, 1, 0, -1, -1, -1 };
59
60 /*!
61  * cdd越しにベクトルのY軸成分を定義 / Global arrays for optimizing "ddx[cdd[i]]" and "ddy[cdd[i]]"
62  */
63 const POSITION ddy_cdd[8] =
64 { 1, 1, 0, -1, -1, -1, 0, 1 };
65
66
67
68 /*!
69  * 10進数から16進数への変換テーブル /
70  * Global array for converting numbers to uppercase hecidecimal digit
71  * This array can also be used to convert a number to an octal digit
72  */
73 const char hexsym[16] =
74 {
75         '0', '1', '2', '3', '4', '5', '6', '7',
76         '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'
77 };
78
79
80 /*!
81  * 選択処理用キーコード /
82  * Global array for converting numbers to a logical list symbol
83  */
84 const char listsym[] =
85 {
86         '0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
87         'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm',
88         'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z',
89         'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M',
90         'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z',
91         '\0'
92 };
93
94
95 /*!
96  * スクリーン表示色キャラクタ /
97  * Encode the screen colors
98  */
99 const concptr color_char = "dwsorgbuDWvyRGBU";
100
101
102 /*!
103  * 知力/賢さによるレベル毎の習得可能魔法数テーブル
104  * Stat Table (INT/WIS) -- Number of half-spells per level
105  */
106 const byte adj_mag_study[] =
107 {
108         0       /* 3 */,
109         0       /* 4 */,
110         0       /* 5 */,
111         0       /* 6 */,
112         0       /* 7 */,
113         1       /* 8 */,
114         1       /* 9 */,
115         1       /* 10 */,
116         1       /* 11 */,
117         2       /* 12 */,
118         2       /* 13 */,
119         2       /* 14 */,
120         2       /* 15 */,
121         2       /* 16 */,
122         2       /* 17 */,
123         2       /* 18/00-18/09 */,
124         2       /* 18/10-18/19 */,
125         2       /* 18/20-18/29 */,
126         2       /* 18/30-18/39 */,
127         2       /* 18/40-18/49 */,
128         3       /* 18/50-18/59 */,
129         3       /* 18/60-18/69 */,
130         3       /* 18/70-18/79 */,
131         3       /* 18/80-18/89 */,
132         4       /* 18/90-18/99 */,
133         4       /* 18/100-18/109 */,
134         4       /* 18/110-18/119 */,
135         5       /* 18/120-18/129 */,
136         5       /* 18/130-18/139 */,
137         5       /* 18/140-18/149 */,
138         5       /* 18/150-18/159 */,
139         5       /* 18/160-18/169 */,
140         5       /* 18/170-18/179 */,
141         5       /* 18/180-18/189 */,
142         5       /* 18/190-18/199 */,
143         5       /* 18/200-18/209 */,
144         6       /* 18/210-18/219 */,
145         6       /* 18/220+ */
146 };
147
148
149 /*!
150  * 知力/賢さによるMP修正テーブル
151  * Stat Table (INT/WIS) -- extra 1/4-mana-points per level
152  */
153 const byte adj_mag_mana[] =
154 {
155         0       /* 3 */,
156         0       /* 4 */,
157         0       /* 5 */,
158         0       /* 6 */,
159         0       /* 7 */,
160         1       /* 8 */,
161         2       /* 9 */,
162         3       /* 10 */,
163         4       /* 11 */,
164         5       /* 12 */,
165         5       /* 13 */,
166         6       /* 14 */,
167         7       /* 15 */,
168         8       /* 16 */,
169         9       /* 17 */,
170         10      /* 18/00-18/09 */,
171         11      /* 18/10-18/19 */,
172         11      /* 18/20-18/29 */,
173         12      /* 18/30-18/39 */,
174         12      /* 18/40-18/49 */,
175         13      /* 18/50-18/59 */,
176         14      /* 18/60-18/69 */,
177         15      /* 18/70-18/79 */,
178         16      /* 18/80-18/89 */,
179         17      /* 18/90-18/99 */,
180         18      /* 18/100-18/109 */,
181         19      /* 18/110-18/119 */,
182         20      /* 18/120-18/129 */,
183         21      /* 18/130-18/139 */,
184         22      /* 18/140-18/149 */,
185         23      /* 18/150-18/159 */,
186         24      /* 18/160-18/169 */,
187         25      /* 18/170-18/179 */,
188         26      /* 18/180-18/189 */,
189         27      /* 18/190-18/199 */,
190         28      /* 18/200-18/209 */,
191         29      /* 18/210-18/219 */,
192         30      /* 18/220+ */
193 };
194
195
196 /*!
197  * 知力/賢さによる最低魔法失敗率テーブル
198  * Stat Table (INT/WIS) -- Minimum failure rate (percentage)
199  */
200 const byte adj_mag_fail[] =
201 {
202         99      /* 3 */,
203         99      /* 4 */,
204         99      /* 5 */,
205         99      /* 6 */,
206         99      /* 7 */,
207         50      /* 8 */,
208         30      /* 9 */,
209         20      /* 10 */,
210         15      /* 11 */,
211         12      /* 12 */,
212         11      /* 13 */,
213         10      /* 14 */,
214         9       /* 15 */,
215         8       /* 16 */,
216         7       /* 17 */,
217         6       /* 18/00-18/09 */,
218         6       /* 18/10-18/19 */,
219         5       /* 18/20-18/29 */,
220         5       /* 18/30-18/39 */,
221         5       /* 18/40-18/49 */,
222         4       /* 18/50-18/59 */,
223         4       /* 18/60-18/69 */,
224         4       /* 18/70-18/79 */,
225         4       /* 18/80-18/89 */,
226         3       /* 18/90-18/99 */,
227         3       /* 18/100-18/109 */,
228         2       /* 18/110-18/119 */,
229         2       /* 18/120-18/129 */,
230         2       /* 18/130-18/139 */,
231         2       /* 18/140-18/149 */,
232         1       /* 18/150-18/159 */,
233         1       /* 18/160-18/169 */,
234         1       /* 18/170-18/179 */,
235         1       /* 18/180-18/189 */,
236         1       /* 18/190-18/199 */,
237         0       /* 18/200-18/209 */,
238         0       /* 18/210-18/219 */,
239         0       /* 18/220+ */
240 };
241
242
243 /*!
244  * 知力/賢さによる魔法失敗率修正テーブル
245  * Stat Table (INT/WIS) -- Various things
246  */
247 const byte adj_mag_stat[] =
248 {
249         0       /* 3 */,
250         0       /* 4 */,
251         0       /* 5 */,
252         0       /* 6 */,
253         0       /* 7 */,
254         1       /* 8 */,
255         1       /* 9 */,
256         1       /* 10 */,
257         1       /* 11 */,
258         1       /* 12 */,
259         1       /* 13 */,
260         1       /* 14 */,
261         2       /* 15 */,
262         2       /* 16 */,
263         2       /* 17 */,
264         3       /* 18/00-18/09 */,
265         3       /* 18/10-18/19 */,
266         3       /* 18/20-18/29 */,
267         3       /* 18/30-18/39 */,
268         3       /* 18/40-18/49 */,
269         4       /* 18/50-18/59 */,
270         4       /* 18/60-18/69 */,
271         5       /* 18/70-18/79 */,
272         6       /* 18/80-18/89 */,
273         7       /* 18/90-18/99 */,
274         8       /* 18/100-18/109 */,
275         9       /* 18/110-18/119 */,
276         10      /* 18/120-18/129 */,
277         11      /* 18/130-18/139 */,
278         12      /* 18/140-18/149 */,
279         13      /* 18/150-18/159 */,
280         14      /* 18/160-18/169 */,
281         15      /* 18/170-18/179 */,
282         16      /* 18/180-18/189 */,
283         17      /* 18/190-18/199 */,
284         18      /* 18/200-18/209 */,
285         19      /* 18/210-18/219 */,
286         20      /* 18/220+ */
287 };
288
289
290 /*!
291  * 魅力による店での取引修正テーブル
292  * Stat Table (CHR) -- payment percentages
293  */
294 const byte adj_chr_gold[] =
295 {
296         130     /* 3 */,
297         125     /* 4 */,
298         122     /* 5 */,
299         120     /* 6 */,
300         118     /* 7 */,
301         116     /* 8 */,
302         114     /* 9 */,
303         112     /* 10 */,
304         110     /* 11 */,
305         108     /* 12 */,
306         106     /* 13 */,
307         104     /* 14 */,
308         103     /* 15 */,
309         102     /* 16 */,
310         101     /* 17 */,
311         100     /* 18/00-18/09 */,
312         99      /* 18/10-18/19 */,
313         98      /* 18/20-18/29 */,
314         97      /* 18/30-18/39 */,
315         96      /* 18/40-18/49 */,
316         95      /* 18/50-18/59 */,
317         94      /* 18/60-18/69 */,
318         93      /* 18/70-18/79 */,
319         92      /* 18/80-18/89 */,
320         91      /* 18/90-18/99 */,
321         90      /* 18/100-18/109 */,
322         89      /* 18/110-18/119 */,
323         88      /* 18/120-18/129 */,
324         87      /* 18/130-18/139 */,
325         86      /* 18/140-18/149 */,
326         85      /* 18/150-18/159 */,
327         84      /* 18/160-18/169 */,
328         83      /* 18/170-18/179 */,
329         82      /* 18/180-18/189 */,
330         81      /* 18/190-18/199 */,
331         80      /* 18/200-18/209 */,
332         79      /* 18/210-18/219 */,
333         78      /* 18/220+ */
334 };
335
336
337 /*!
338  * 知力による魔道具使用修正テーブル
339  * Stat Table (INT) -- Magic devices
340  */
341 const byte adj_int_dev[] =
342 {
343         0       /* 3 */,
344         0       /* 4 */,
345         0       /* 5 */,
346         0       /* 6 */,
347         0       /* 7 */,
348         1       /* 8 */,
349         1       /* 9 */,
350         1       /* 10 */,
351         1       /* 11 */,
352         1       /* 12 */,
353         1       /* 13 */,
354         1       /* 14 */,
355         2       /* 15 */,
356         2       /* 16 */,
357         2       /* 17 */,
358         3       /* 18/00-18/09 */,
359         3       /* 18/10-18/19 */,
360         4       /* 18/20-18/29 */,
361         4       /* 18/30-18/39 */,
362         5       /* 18/40-18/49 */,
363         5       /* 18/50-18/59 */,
364         6       /* 18/60-18/69 */,
365         6       /* 18/70-18/79 */,
366         7       /* 18/80-18/89 */,
367         7       /* 18/90-18/99 */,
368         8       /* 18/100-18/109 */,
369         9       /* 18/110-18/119 */,
370         10      /* 18/120-18/129 */,
371         11      /* 18/130-18/139 */,
372         12      /* 18/140-18/149 */,
373         13      /* 18/150-18/159 */,
374         14      /* 18/160-18/169 */,
375         15      /* 18/170-18/179 */,
376         16      /* 18/180-18/189 */,
377         17      /* 18/190-18/199 */,
378         18      /* 18/200-18/209 */,
379         19      /* 18/210-18/219 */,
380         20      /* 18/220+ */
381 };
382
383
384 /*!
385  * 賢さによる魔法防御修正テーブル
386  * Stat Table (WIS) -- Saving throw
387  */
388 const byte adj_wis_sav[] =
389 {
390         0       /* 3 */,
391         0       /* 4 */,
392         0       /* 5 */,
393         0       /* 6 */,
394         0       /* 7 */,
395         1       /* 8 */,
396         1       /* 9 */,
397         1       /* 10 */,
398         1       /* 11 */,
399         1       /* 12 */,
400         1       /* 13 */,
401         1       /* 14 */,
402         2       /* 15 */,
403         2       /* 16 */,
404         2       /* 17 */,
405         3       /* 18/00-18/09 */,
406         3       /* 18/10-18/19 */,
407         3       /* 18/20-18/29 */,
408         3       /* 18/30-18/39 */,
409         3       /* 18/40-18/49 */,
410         4       /* 18/50-18/59 */,
411         4       /* 18/60-18/69 */,
412         5       /* 18/70-18/79 */,
413         5       /* 18/80-18/89 */,
414         6       /* 18/90-18/99 */,
415         7       /* 18/100-18/109 */,
416         8       /* 18/110-18/119 */,
417         9       /* 18/120-18/129 */,
418         10      /* 18/130-18/139 */,
419         11      /* 18/140-18/149 */,
420         12      /* 18/150-18/159 */,
421         13      /* 18/160-18/169 */,
422         14      /* 18/170-18/179 */,
423         15      /* 18/180-18/189 */,
424         16      /* 18/190-18/199 */,
425         17      /* 18/200-18/209 */,
426         18      /* 18/210-18/219 */,
427         19      /* 18/220+ */
428 };
429
430
431 /*!
432  * 器用さによるトラップ解除修正テーブル
433  * Stat Table (DEX) -- disarming
434  */
435 const byte adj_dex_dis[] =
436 {
437         0       /* 3 */,
438         0       /* 4 */,
439         0       /* 5 */,
440         0       /* 6 */,
441         0       /* 7 */,
442         0       /* 8 */,
443         0       /* 9 */,
444         0       /* 10 */,
445         0       /* 11 */,
446         0       /* 12 */,
447         1       /* 13 */,
448         1       /* 14 */,
449         1       /* 15 */,
450         2       /* 16 */,
451         2       /* 17 */,
452         4       /* 18/00-18/09 */,
453         4       /* 18/10-18/19 */,
454         4       /* 18/20-18/29 */,
455         4       /* 18/30-18/39 */,
456         5       /* 18/40-18/49 */,
457         5       /* 18/50-18/59 */,
458         5       /* 18/60-18/69 */,
459         6       /* 18/70-18/79 */,
460         6       /* 18/80-18/89 */,
461         7       /* 18/90-18/99 */,
462         8       /* 18/100-18/109 */,
463         8       /* 18/110-18/119 */,
464         8       /* 18/120-18/129 */,
465         8       /* 18/130-18/139 */,
466         8       /* 18/140-18/149 */,
467         9       /* 18/150-18/159 */,
468         9       /* 18/160-18/169 */,
469         9       /* 18/170-18/179 */,
470         9       /* 18/180-18/189 */,
471         9       /* 18/190-18/199 */,
472         10      /* 18/200-18/209 */,
473         10      /* 18/210-18/219 */,
474         10      /* 18/220+ */
475 };
476
477
478 /*!
479  * 知力によるトラップ解除修正テーブル
480  * Stat Table (INT) -- disarming
481  */
482 const byte adj_int_dis[] =
483 {
484         0       /* 3 */,
485         0       /* 4 */,
486         0       /* 5 */,
487         0       /* 6 */,
488         0       /* 7 */,
489         1       /* 8 */,
490         1       /* 9 */,
491         1       /* 10 */,
492         1       /* 11 */,
493         1       /* 12 */,
494         1       /* 13 */,
495         1       /* 14 */,
496         2       /* 15 */,
497         2       /* 16 */,
498         2       /* 17 */,
499         3       /* 18/00-18/09 */,
500         3       /* 18/10-18/19 */,
501         3       /* 18/20-18/29 */,
502         4       /* 18/30-18/39 */,
503         4       /* 18/40-18/49 */,
504         5       /* 18/50-18/59 */,
505         6       /* 18/60-18/69 */,
506         7       /* 18/70-18/79 */,
507         8       /* 18/80-18/89 */,
508         9       /* 18/90-18/99 */,
509         10      /* 18/100-18/109 */,
510         10      /* 18/110-18/119 */,
511         11      /* 18/120-18/129 */,
512         12      /* 18/130-18/139 */,
513         13      /* 18/140-18/149 */,
514         14      /* 18/150-18/159 */,
515         15      /* 18/160-18/169 */,
516         16      /* 18/170-18/179 */,
517         17      /* 18/180-18/189 */,
518         18      /* 18/190-18/199 */,
519         19      /* 18/200-18/209 */,
520         19      /* 18/210-18/219 */,
521         20      /* 18/220+ */
522 };
523
524
525 /*!
526  * 器用さによるAC修正テーブル
527  * Stat Table (DEX) -- bonus to ac (plus 128)
528  */
529 const byte adj_dex_ta[] =
530 {
531         128 + -4    /*  3 */,
532         128 + -3    /*  4 */,
533         128 + -2    /*  5 */,
534         128 + -1    /*  6 */,
535         128 + 0     /*  7 */,
536         128 + 0     /*  8 */,
537         128 + 0     /*  9 */,
538         128 + 0     /* 10 */,
539         128 + 0     /* 11 */,
540         128 + 0     /* 12 */,
541         128 + 0     /* 13 */,
542         128 + 0     /* 14 */,
543         128 + 1     /* 15 */,
544         128 + 1     /* 16 */,
545         128 + 1     /* 17 */,
546         128 + 2     /* 18/00-18/09 */,
547         128 + 2     /* 18/10-18/19 */,
548         128 + 2     /* 18/20-18/29 */,
549         128 + 2     /* 18/30-18/39 */,
550         128 + 2     /* 18/40-18/49 */,
551         128 + 3     /* 18/50-18/59 */,
552         128 + 3     /* 18/60-18/69 */,
553         128 + 3     /* 18/70-18/79 */,
554         128 + 4     /* 18/80-18/89 */,
555         128 + 5     /* 18/90-18/99 */,
556         128 + 6     /* 18/100-18/109 */,
557         128 + 7     /* 18/110-18/119 */,
558         128 + 8     /* 18/120-18/129 */,
559         128 + 9     /* 18/130-18/139 */,
560         128 + 9     /* 18/140-18/149 */,
561         128 + 10    /* 18/150-18/159 */,
562         128 + 11    /* 18/160-18/169 */,
563         128 + 12    /* 18/170-18/179 */,
564         128 + 13    /* 18/180-18/189 */,
565         128 + 14    /* 18/190-18/199 */,
566         128 + 15    /* 18/200-18/209 */,
567         128 + 15    /* 18/210-18/219 */,
568         128 + 16    /* 18/220+ */
569 };
570
571
572 /*!
573  * 腕力によるダメージ修正テーブル
574  * Stat Table (STR) -- bonus to dam (plus 128)
575  */
576 const byte adj_str_td[] =
577 {
578         128 + -2    /*  3 */,
579         128 + -2    /*  4 */,
580         128 + -1    /*  5 */,
581         128 + -1    /*  6 */,
582         128 + 0     /*  7 */,
583         128 + 0     /*  8 */,
584         128 + 0     /*  9 */,
585         128 + 0     /* 10 */,
586         128 + 0     /* 11 */,
587         128 + 0     /* 12 */,
588         128 + 0     /* 13 */,
589         128 + 0     /* 14 */,
590         128 + 0     /* 15 */,
591         128 + 1     /* 16 */,
592         128 + 2     /* 17 */,
593         128 + 2     /* 18/00-18/09 */,
594         128 + 2     /* 18/10-18/19 */,
595         128 + 3     /* 18/20-18/29 */,
596         128 + 3     /* 18/30-18/39 */,
597         128 + 3     /* 18/40-18/49 */,
598         128 + 3     /* 18/50-18/59 */,
599         128 + 3     /* 18/60-18/69 */,
600         128 + 4     /* 18/70-18/79 */,
601         128 + 5     /* 18/80-18/89 */,
602         128 + 5     /* 18/90-18/99 */,
603         128 + 6     /* 18/100-18/109 */,
604         128 + 7     /* 18/110-18/119 */,
605         128 + 8     /* 18/120-18/129 */,
606         128 + 9     /* 18/130-18/139 */,
607         128 + 10    /* 18/140-18/149 */,
608         128 + 11    /* 18/150-18/159 */,
609         128 + 12    /* 18/160-18/169 */,
610         128 + 13    /* 18/170-18/179 */,
611         128 + 14    /* 18/180-18/189 */,
612         128 + 15    /* 18/190-18/199 */,
613         128 + 16    /* 18/200-18/209 */,
614         128 + 18    /* 18/210-18/219 */,
615         128 + 20    /* 18/220+ */
616 };
617
618
619 /*!
620  * 器用度による命中修正テーブル
621  * Stat Table (DEX) -- bonus to hit (plus 128)
622  */
623 const byte adj_dex_th[] =
624 {
625         128 + -3        /* 3 */,
626         128 + -2        /* 4 */,
627         128 + -2        /* 5 */,
628         128 + -1        /* 6 */,
629         128 + -1        /* 7 */,
630         128 + 0 /* 8 */,
631         128 + 0 /* 9 */,
632         128 + 0 /* 10 */,
633         128 + 0 /* 11 */,
634         128 + 0 /* 12 */,
635         128 + 0 /* 13 */,
636         128 + 0 /* 14 */,
637         128 + 0 /* 15 */,
638         128 + 1 /* 16 */,
639         128 + 2 /* 17 */,
640         128 + 3 /* 18/00-18/09 */,
641         128 + 3 /* 18/10-18/19 */,
642         128 + 3 /* 18/20-18/29 */,
643         128 + 3 /* 18/30-18/39 */,
644         128 + 3 /* 18/40-18/49 */,
645         128 + 4 /* 18/50-18/59 */,
646         128 + 4 /* 18/60-18/69 */,
647         128 + 4 /* 18/70-18/79 */,
648         128 + 4 /* 18/80-18/89 */,
649         128 + 5 /* 18/90-18/99 */,
650         128 + 6 /* 18/100-18/109 */,
651         128 + 7 /* 18/110-18/119 */,
652         128 + 8 /* 18/120-18/129 */,
653         128 + 9 /* 18/130-18/139 */,
654         128 + 9 /* 18/140-18/149 */,
655         128 + 10        /* 18/150-18/159 */,
656         128 + 11        /* 18/160-18/169 */,
657         128 + 12        /* 18/170-18/179 */,
658         128 + 13        /* 18/180-18/189 */,
659         128 + 14        /* 18/190-18/199 */,
660         128 + 15        /* 18/200-18/209 */,
661         128 + 15        /* 18/210-18/219 */,
662         128 + 16        /* 18/220+ */
663 };
664
665
666 /*!
667  * 腕力による命中修正テーブル
668  * Stat Table (STR) -- bonus to hit (plus 128)
669  */
670 const byte adj_str_th[] =
671 {
672         128 + -3        /* 3 */,
673         128 + -2        /* 4 */,
674         128 + -1        /* 5 */,
675         128 + -1        /* 6 */,
676         128 + 0 /* 7 */,
677         128 + 0 /* 8 */,
678         128 + 0 /* 9 */,
679         128 + 0 /* 10 */,
680         128 + 0 /* 11 */,
681         128 + 0 /* 12 */,
682         128 + 0 /* 13 */,
683         128 + 0 /* 14 */,
684         128 + 0 /* 15 */,
685         128 + 0 /* 16 */,
686         128 + 0 /* 17 */,
687         128 + 1 /* 18/00-18/09 */,
688         128 + 1 /* 18/10-18/19 */,
689         128 + 1 /* 18/20-18/29 */,
690         128 + 1 /* 18/30-18/39 */,
691         128 + 1 /* 18/40-18/49 */,
692         128 + 1 /* 18/50-18/59 */,
693         128 + 1 /* 18/60-18/69 */,
694         128 + 2 /* 18/70-18/79 */,
695         128 + 3 /* 18/80-18/89 */,
696         128 + 4 /* 18/90-18/99 */,
697         128 + 5 /* 18/100-18/109 */,
698         128 + 6 /* 18/110-18/119 */,
699         128 + 7 /* 18/120-18/129 */,
700         128 + 8 /* 18/130-18/139 */,
701         128 + 9 /* 18/140-18/149 */,
702         128 + 10        /* 18/150-18/159 */,
703         128 + 11        /* 18/160-18/169 */,
704         128 + 12        /* 18/170-18/179 */,
705         128 + 13        /* 18/180-18/189 */,
706         128 + 14        /* 18/190-18/199 */,
707         128 + 15        /* 18/200-18/209 */,
708         128 + 15        /* 18/210-18/219 */,
709         128 + 16        /* 18/220+ */
710 };
711
712
713 /*!
714  * 腕力による基本所持重量値テーブル
715  * Stat Table (STR) -- weight limit in deca-pounds
716  */
717 const byte adj_str_wgt[] =
718 {
719         10      /* 3 */,
720         11      /* 4 */,
721         12      /* 5 */,
722         13      /* 6 */,
723         14      /* 7 */,
724         15      /* 8 */,
725         16      /* 9 */,
726         17      /* 10 */,
727         18      /* 11 */,
728         19      /* 12 */,
729         20      /* 13 */,
730         21      /* 14 */,
731         22      /* 15 */,
732         23      /* 16 */,
733         24      /* 17 */,
734         25      /* 18/00-18/09 */,
735         26      /* 18/10-18/19 */,
736         27      /* 18/20-18/29 */,
737         28      /* 18/30-18/39 */,
738         29      /* 18/40-18/49 */,
739         30      /* 18/50-18/59 */,
740         31      /* 18/60-18/69 */,
741         31      /* 18/70-18/79 */,
742         32      /* 18/80-18/89 */,
743         32      /* 18/90-18/99 */,
744         33      /* 18/100-18/109 */,
745         33      /* 18/110-18/119 */,
746         34      /* 18/120-18/129 */,
747         34      /* 18/130-18/139 */,
748         35      /* 18/140-18/149 */,
749         35      /* 18/150-18/159 */,
750         36      /* 18/160-18/169 */,
751         36      /* 18/170-18/179 */,
752         37      /* 18/180-18/189 */,
753         37      /* 18/190-18/199 */,
754         38      /* 18/200-18/209 */,
755         38      /* 18/210-18/219 */,
756         39      /* 18/220+ */
757 };
758
759
760 /*!
761  * 腕力による武器重量限界値テーブル
762  * Stat Table (STR) -- weapon weight limit in pounds
763  */
764 const byte adj_str_hold[] =
765 {
766         4       /* 3 */,
767         5       /* 4 */,
768         6       /* 5 */,
769         7       /* 6 */,
770         8       /* 7 */,
771         9       /* 8 */,
772         10      /* 9 */,
773         11      /* 10 */,
774         12      /* 11 */,
775         13      /* 12 */,
776         14      /* 13 */,
777         15      /* 14 */,
778         16      /* 15 */,
779         17      /* 16 */,
780         18      /* 17 */,
781         19      /* 18/00-18/09 */,
782         20      /* 18/10-18/19 */,
783         21      /* 18/20-18/29 */,
784         22      /* 18/30-18/39 */,
785         23      /* 18/40-18/49 */,
786         24      /* 18/50-18/59 */,
787         25      /* 18/60-18/69 */,
788         26      /* 18/70-18/79 */,
789         27      /* 18/80-18/89 */,
790         28      /* 18/90-18/99 */,
791         30      /* 18/100-18/109 */,
792         31      /* 18/110-18/119 */,
793         32      /* 18/120-18/129 */,
794         33      /* 18/130-18/139 */,
795         34      /* 18/140-18/149 */,
796         35      /* 18/150-18/159 */,
797         37      /* 18/160-18/169 */,
798         40      /* 18/170-18/179 */,
799         44      /* 18/180-18/189 */,
800         48      /* 18/190-18/199 */,
801         50     /* 18/200-18/209 */,
802         50     /* 18/210-18/219 */,
803         50     /* 18/220+ */
804 };
805
806
807 /*!
808  * 腕力による採掘能力修正値テーブル
809  * Stat Table (STR) -- digging value
810  */
811 const byte adj_str_dig[] =
812 {
813         0       /* 3 */,
814         0       /* 4 */,
815         1       /* 5 */,
816         2       /* 6 */,
817         3       /* 7 */,
818         4       /* 8 */,
819         4       /* 9 */,
820         5       /* 10 */,
821         5       /* 11 */,
822         6       /* 12 */,
823         6       /* 13 */,
824         7       /* 14 */,
825         7       /* 15 */,
826         8       /* 16 */,
827         8       /* 17 */,
828         9       /* 18/00-18/09 */,
829         10      /* 18/10-18/19 */,
830         12      /* 18/20-18/29 */,
831         15      /* 18/30-18/39 */,
832         20      /* 18/40-18/49 */,
833         25      /* 18/50-18/59 */,
834         30      /* 18/60-18/69 */,
835         35      /* 18/70-18/79 */,
836         40      /* 18/80-18/89 */,
837         45      /* 18/90-18/99 */,
838         50      /* 18/100-18/109 */,
839         55      /* 18/110-18/119 */,
840         60      /* 18/120-18/129 */,
841         65      /* 18/130-18/139 */,
842         70      /* 18/140-18/149 */,
843         75      /* 18/150-18/159 */,
844         80      /* 18/160-18/169 */,
845         85      /* 18/170-18/179 */,
846         90      /* 18/180-18/189 */,
847         95      /* 18/190-18/199 */,
848         100     /* 18/200-18/209 */,
849         100     /* 18/210-18/219 */,
850         100     /* 18/220+ */
851 };
852
853
854 /*!
855  * 腕力による攻撃回数算定値テーブル
856  * Stat Table (STR) -- help index into the "blow" table
857  */
858 const byte adj_str_blow[] =
859 {
860         3       /* 3 */,
861         4       /* 4 */,
862         5       /* 5 */,
863         6       /* 6 */,
864         7       /* 7 */,
865         8       /* 8 */,
866         9       /* 9 */,
867         10      /* 10 */,
868         11      /* 11 */,
869         12      /* 12 */,
870         13      /* 13 */,
871         14      /* 14 */,
872         15      /* 15 */,
873         16      /* 16 */,
874         17      /* 17 */,
875         20 /* 18/00-18/09 */,
876         30 /* 18/10-18/19 */,
877         40 /* 18/20-18/29 */,
878         50 /* 18/30-18/39 */,
879         60 /* 18/40-18/49 */,
880         70 /* 18/50-18/59 */,
881         80 /* 18/60-18/69 */,
882         90 /* 18/70-18/79 */,
883         100 /* 18/80-18/89 */,
884         110 /* 18/90-18/99 */,
885         120 /* 18/100-18/109 */,
886         130 /* 18/110-18/119 */,
887         140 /* 18/120-18/129 */,
888         150 /* 18/130-18/139 */,
889         160 /* 18/140-18/149 */,
890         170 /* 18/150-18/159 */,
891         180 /* 18/160-18/169 */,
892         190 /* 18/170-18/179 */,
893         200 /* 18/180-18/189 */,
894         210 /* 18/190-18/199 */,
895         220 /* 18/200-18/209 */,
896         230 /* 18/210-18/219 */,
897         240 /* 18/220+ */
898 };
899
900
901 /*!
902  * 器用さによる攻撃回数インデックステーブル
903  * Stat Table (DEX) -- index into the "blow" table
904  */
905 const byte adj_dex_blow[] =
906 {
907         0       /* 3 */,
908         0       /* 4 */,
909         0       /* 5 */,
910         0       /* 6 */,
911         0       /* 7 */,
912         0       /* 8 */,
913         0       /* 9 */,
914         1       /* 10 */,
915         1       /* 11 */,
916         1       /* 12 */,
917         1       /* 13 */,
918         1       /* 14 */,
919         2       /* 15 */,
920         2       /* 16 */,
921         2       /* 17 */,
922         2       /* 18/00-18/09 */,
923         3       /* 18/10-18/19 */,
924         3       /* 18/20-18/29 */,
925         3       /* 18/30-18/39 */,
926         4       /* 18/40-18/49 */,
927         4       /* 18/50-18/59 */,
928         5       /* 18/60-18/69 */,
929         5       /* 18/70-18/79 */,
930         6       /* 18/80-18/89 */,
931         6       /* 18/90-18/99 */,
932         7       /* 18/100-18/109 */,
933         7       /* 18/110-18/119 */,
934         8       /* 18/120-18/129 */,
935         8       /* 18/130-18/139 */,
936         9      /* 18/140-18/149 */,
937         9      /* 18/150-18/159 */,
938         10      /* 18/160-18/169 */,
939         10      /* 18/170-18/179 */,
940         11      /* 18/180-18/189 */,
941         11      /* 18/190-18/199 */,
942         12      /* 18/200-18/209 */,
943         12      /* 18/210-18/219 */,
944         13      /* 18/220+ */
945 };
946
947
948 /*!
949  * 器用さによる盗難防止&体当たり成功判定修正テーブル
950  * Stat Table (DEX) -- chance of avoiding "theft" and "falling"
951  */
952 const byte adj_dex_safe[] =
953 {
954         0       /* 3 */,
955         1       /* 4 */,
956         2       /* 5 */,
957         3       /* 6 */,
958         4       /* 7 */,
959         5       /* 8 */,
960         5       /* 9 */,
961         6       /* 10 */,
962         6       /* 11 */,
963         7       /* 12 */,
964         7       /* 13 */,
965         8       /* 14 */,
966         8       /* 15 */,
967         9       /* 16 */,
968         9       /* 17 */,
969         10      /* 18/00-18/09 */,
970         10      /* 18/10-18/19 */,
971         15      /* 18/20-18/29 */,
972         15      /* 18/30-18/39 */,
973         20      /* 18/40-18/49 */,
974         25      /* 18/50-18/59 */,
975         30      /* 18/60-18/69 */,
976         35      /* 18/70-18/79 */,
977         40      /* 18/80-18/89 */,
978         45      /* 18/90-18/99 */,
979         50      /* 18/100-18/109 */,
980         60      /* 18/110-18/119 */,
981         70      /* 18/120-18/129 */,
982         80      /* 18/130-18/139 */,
983         90      /* 18/140-18/149 */,
984         100     /* 18/150-18/159 */,
985         100     /* 18/160-18/169 */,
986         100     /* 18/170-18/179 */,
987         100     /* 18/180-18/189 */,
988         100     /* 18/190-18/199 */,
989         100     /* 18/200-18/209 */,
990         100     /* 18/210-18/219 */,
991         100     /* 18/220+ */
992 };
993
994
995 /*!
996  * 耐久による基本HP自然治癒値テーブル /
997  * Stat Table (CON) -- base regeneration rate
998  */
999 const byte adj_con_fix[] =
1000 {
1001         0       /* 3 */,
1002         0       /* 4 */,
1003         0       /* 5 */,
1004         0       /* 6 */,
1005         0       /* 7 */,
1006         0       /* 8 */,
1007         0       /* 9 */,
1008         0       /* 10 */,
1009         0       /* 11 */,
1010         0       /* 12 */,
1011         0       /* 13 */,
1012         1       /* 14 */,
1013         1       /* 15 */,
1014         1       /* 16 */,
1015         1       /* 17 */,
1016         2       /* 18/00-18/09 */,
1017         2       /* 18/10-18/19 */,
1018         2       /* 18/20-18/29 */,
1019         2       /* 18/30-18/39 */,
1020         2       /* 18/40-18/49 */,
1021         3       /* 18/50-18/59 */,
1022         3       /* 18/60-18/69 */,
1023         3       /* 18/70-18/79 */,
1024         3       /* 18/80-18/89 */,
1025         3       /* 18/90-18/99 */,
1026         4       /* 18/100-18/109 */,
1027         4       /* 18/110-18/119 */,
1028         5       /* 18/120-18/129 */,
1029         6       /* 18/130-18/139 */,
1030         6       /* 18/140-18/149 */,
1031         7       /* 18/150-18/159 */,
1032         7       /* 18/160-18/169 */,
1033         8       /* 18/170-18/179 */,
1034         8       /* 18/180-18/189 */,
1035         8       /* 18/190-18/199 */,
1036         9       /* 18/200-18/209 */,
1037         9       /* 18/210-18/219 */,
1038         9       /* 18/220+ */
1039 };
1040
1041
1042 /*!
1043  * 耐久による基本HP自然治癒値テーブル /
1044  * Stat Table (CON) -- extra 1/4-hitpoints per level (plus 128)
1045  */
1046 const byte adj_con_mhp[] =
1047 {
1048         128 + -8        /* 3 */,
1049         128 + -6        /* 4 */,
1050         128 + -4        /* 5 */,
1051         128 + -2        /* 6 */,
1052         128 + -1 /* 7 */,
1053         128 + 0 /* 8 */,
1054         128 + 0 /* 9 */,
1055         128 + 0 /* 10 */,
1056         128 + 0 /* 11 */,
1057         128 + 0 /* 12 */,
1058         128 + 0 /* 13 */,
1059         128 + 1 /* 14 */,
1060         128 + 1 /* 15 */,
1061         128 + 2 /* 16 */,
1062         128 + 3 /* 17 */,
1063         128 + 4 /* 18/00-18/09 */,
1064         128 + 5 /* 18/10-18/19 */,
1065         128 + 6 /* 18/20-18/29 */,
1066         128 + 7 /* 18/30-18/39 */,
1067         128 + 8 /* 18/40-18/49 */,
1068         128 + 9 /* 18/50-18/59 */,
1069         128 + 10  /* 18/60-18/69 */,
1070         128 + 11 /* 18/70-18/79 */,
1071         128 + 12 /* 18/80-18/89 */,
1072         128 + 14 /* 18/90-18/99 */,
1073         128 + 17         /* 18/100-18/109 */,
1074         128 + 20        /* 18/110-18/119 */,
1075         128 + 23        /* 18/120-18/129 */,
1076         128 + 26        /* 18/130-18/139 */,
1077         128 + 29        /* 18/140-18/149 */,
1078         128 + 32        /* 18/150-18/159 */,
1079         128 + 35        /* 18/160-18/169 */,
1080         128 + 38        /* 18/170-18/179 */,
1081         128 + 40        /* 18/180-18/189 */,
1082         128 + 42        /* 18/190-18/199 */,
1083         128 + 44        /* 18/200-18/209 */,
1084         128 + 46        /* 18/210-18/219 */,
1085         128 + 48        /* 18/220+ */
1086 };
1087
1088
1089 /*!
1090  * 魅力による魅了能力修正テーブル /
1091  * Stat Table (CHR) -- charm
1092  */
1093 const byte adj_chr_chm[] =
1094 {
1095         0       /* 3 */,
1096         0       /* 4 */,
1097         1       /* 5 */,
1098         2       /* 6 */,
1099         3       /* 7 */,
1100         4       /* 8 */,
1101         4       /* 9 */,
1102         5       /* 10 */,
1103         5       /* 11 */,
1104         6       /* 12 */,
1105         6       /* 13 */,
1106         7       /* 14 */,
1107         7       /* 15 */,
1108         8       /* 16 */,
1109         8       /* 17 */,
1110         9       /* 18/00-18/09 */,
1111         10      /* 18/10-18/19 */,
1112         12      /* 18/20-18/29 */,
1113         15      /* 18/30-18/39 */,
1114         18      /* 18/40-18/49 */,
1115         21      /* 18/50-18/59 */,
1116         24      /* 18/60-18/69 */,
1117         28      /* 18/70-18/79 */,
1118         32      /* 18/80-18/89 */,
1119         36      /* 18/90-18/99 */,
1120         39      /* 18/100-18/109 */,
1121         42      /* 18/110-18/119 */,
1122         45      /* 18/120-18/129 */,
1123         49      /* 18/130-18/139 */,
1124         53      /* 18/140-18/149 */,
1125         57      /* 18/150-18/159 */,
1126         61      /* 18/160-18/169 */,
1127         65      /* 18/170-18/179 */,
1128         69      /* 18/180-18/189 */,
1129         73      /* 18/190-18/199 */,
1130         77      /* 18/200-18/209 */,
1131         81      /* 18/210-18/219 */,
1132         85      /* 18/220+ */
1133 };
1134
1135
1136 /*!
1137  * @brief
1138  * 魅力による魅了能力修正テーブル /
1139  * This table is used to help calculate the number of blows the player can
1140  * make in a single round of attacks (one player current_world_ptr->game_turn) with a normal weapon.
1141  * @details
1142  * <pre>
1143  * This number ranges from a single blow/round for weak players to up to six
1144  * blows/round for powerful warriors.
1145  *
1146  * Note that certain artifacts and ego-items give "bonus" blows/round.
1147  *
1148  * First, from the player class, we extract some values:
1149  *
1150  * Warrior       num = 6; mul = 5; div = MAX(70, weapon_weight);
1151  * Berserker     num = 6; mul = 7; div = MAX(70, weapon_weight);
1152  * Mage          num = 3; mul = 2; div = MAX(100, weapon_weight);
1153  * Priest        num = 5; mul = 3; div = MAX(100, weapon_weight);
1154  * Mindcrafter   num = 5; mul = 3; div = MAX(100, weapon_weight);
1155  * Rogue         num = 5; mul = 3; div = MAX(40, weapon_weight);
1156  * Ranger        num = 5; mul = 4; div = MAX(70, weapon_weight);
1157  * Paladin       num = 5; mul = 4; div = MAX(70, weapon_weight);
1158  * Weaponsmith   num = 5; mul = 5; div = MAX(150, weapon_weight);
1159  * Warrior-Mage  num = 5; mul = 3; div = MAX(70, weapon_weight);
1160  * Chaos Warrior num = 5; mul = 4; div = MAX(70, weapon_weight);
1161  * Monk          num = 5; mul = 3; div = MAX(60, weapon_weight);
1162  * Tourist       num = 4; mul = 3; div = MAX(100, weapon_weight);
1163  * Imitator      num = 5; mul = 4; div = MAX(70, weapon_weight);
1164  * Beastmaster   num = 5; mul = 3; div = MAX(70, weapon_weight);
1165  * Cavalry(Ride) num = 5; mul = 4; div = MAX(70, weapon_weight);
1166  * Cavalry(Walk) num = 5; mul = 3; div = MAX(100, weapon_weight);
1167  * Sorcerer      num = 1; mul = 1; div = MAX(1, weapon_weight);
1168  * Archer        num = 4; mul = 2; div = MAX(70, weapon_weight);
1169  * Magic eater   num = 4; mul = 2; div = MAX(70, weapon_weight);
1170  * ForceTrainer  num = 4; mul = 2; div = MAX(60, weapon_weight);
1171  * Mirror Master num = 3; mul = 3; div = MAX(100, weapon_weight);
1172  * Ninja         num = 4; mul = 1; div = MAX(20, weapon_weight);
1173  *
1174  * To get "P", we look up the relevant "adj_str_blow[]" (see above),
1175  * multiply it by "mul", and then divide it by "div".
1176  * Increase P by 1 if you wield a weapon two-handed.
1177  * Decrease P by 1 if you are a Ninja.
1178  *
1179  * To get "D", we look up the relevant "adj_dex_blow[]" (see above),
1180  *
1181  * The player gets "blows_table[P][D]" blows/round, as shown below,
1182  * up to a maximum of "num" blows/round, plus any "bonus" blows/round.
1183  * </pre>
1184  */
1185 const byte blows_table[12][12] =
1186 {
1187         /* P/D */
1188         /*      0,   1,   2,   3,   4,   5,   6,   7,   8,   9,  10,  11+ */
1189         /*      3   10   15  /10  /40  /60  /80 /100 /120 /140 /160 /180  */
1190 /* 0 */{        1,   1,   1,   1,   1,   2,   2,   2,   2,   3,   3,   4 },
1191 /* 1 */{        1,   1,   1,   2,   2,   2,   3,   3,   3,   4,   4,   4 },
1192 /* 2 */{        1,   1,   2,   2,   3,   3,   4,   4,   4,   5,   5,   5 },
1193 /* 3 */{        1,   1,   2,   3,   3,   4,   4,   4,   5,   5,   5,   5 },
1194 /* 4 */{        1,   1,   2,   3,   3,   4,   4,   5,   5,   5,   5,   5 },
1195 /* 5 */{        1,   1,   2,   3,   4,   4,   4,   5,   5,   5,   5,   6 },
1196 /* 6 */{        1,   1,   2,   3,   4,   4,   4,   5,   5,   5,   5,   6 },
1197 /* 7 */{        1,   2,   2,   3,   4,   4,   4,   5,   5,   5,   5,   6 },
1198 /* 8 */{        1,   2,   3,   3,   4,   4,   4,   5,   5,   5,   6,   6 },
1199 /* 9 */{        1,   2,   3,   4,   4,   4,   5,   5,   5,   5,   6,   6 },
1200 /* 10*/{        2,   2,   3,   4,   4,   4,   5,   5,   5,   6,   6,   6 },
1201 /*11+*/{        2,   2,   3,   4,   4,   4,   5,   5,   6,   6,   6,   6 },
1202
1203 };
1204
1205 /*!
1206  * @brief 闘技場のモンスターID及び報酬アイテムテーブル
1207  */
1208 const arena_type arena_info[MAX_ARENA_MONS + 2] =
1209 {
1210         { MON_NOBORTA,       TV_AMULET, SV_AMULET_ADORNMENT           },
1211         { MON_MORI_TROLL,    TV_FOOD,   SV_FOOD_PINT_OF_WINE          },
1212         { MON_IMP,           TV_POTION, SV_POTION_SPEED               },
1213         { MON_LION_HEART,    0,         0                             },
1214         { MON_MASTER_YEEK,   TV_POTION, SV_POTION_CURING              },
1215         { MON_SABRE_TIGER,   TV_WAND,   SV_WAND_STONE_TO_MUD          },
1216         { MON_LIZARD_KING,   TV_WAND,   SV_WAND_TELEPORT_AWAY         },
1217         { MON_WYVERN,        TV_POTION, SV_POTION_HEALING             },
1218         { MON_ARCH_VILE,     TV_POTION, SV_POTION_RESISTANCE          },
1219         { MON_ELF_LORD   ,   TV_POTION, SV_POTION_ENLIGHTENMENT       },
1220         { MON_GHOUL_KING,    TV_FOOD,   SV_FOOD_RESTORING             },
1221         { MON_COLBRAN,       TV_RING,   SV_RING_ELEC                  },
1222         { MON_BICLOPS,       TV_WAND,   SV_WAND_ACID_BALL             },
1223         { MON_M_MINDCRAFTER, TV_POTION, SV_POTION_SELF_KNOWLEDGE      },
1224         { MON_GROO,          TV_SCROLL, SV_SCROLL_ACQUIREMENT         },
1225         { MON_RAAL,          TV_SCROLL, SV_SCROLL_STAR_DESTRUCTION    },
1226         { MON_DREADMASTER,   TV_WAND,   SV_WAND_HYPODYNAMIA            },
1227         { MON_ULTRA_PALADIN, TV_STAFF,  SV_STAFF_DISPEL_EVIL          },
1228         { MON_BARNEY,        TV_RING,   SV_RING_RES_CHAOS             },
1229         { MON_TROLL_KING,    TV_SCROLL, SV_SCROLL_MASS_GENOCIDE       },
1230         { MON_BARON_HELL,    TV_POTION, SV_POTION_AUGMENTATION        },
1231         { MON_F_ANGEL,       TV_SCROLL, SV_SCROLL_RUNE_OF_PROTECTION  },
1232         { MON_G_C_DRAKE,     TV_WAND,   SV_WAND_DRAGON_FIRE           },
1233         { MON_IRON_LICH,     TV_STAFF,  SV_STAFF_DESTRUCTION          },
1234         { MON_DROLEM,        TV_POTION, SV_POTION_STAR_HEALING        },
1235         { MON_G_TITAN,       TV_WAND,   SV_WAND_GENOCIDE              },
1236         { MON_G_BALROG,      TV_POTION, SV_POTION_EXPERIENCE          },
1237         { MON_ELDER_VAMPIRE, TV_RING,   SV_RING_SUSTAIN               },
1238         { MON_NIGHTWALKER,   TV_WAND,   SV_WAND_STRIKING              },
1239         { MON_S_TYRANNO,     TV_SCROLL, SV_SCROLL_STAR_ACQUIREMENT    },
1240         { MON_G_MASTER_MYS,  TV_ROD,    SV_ROD_IDENTIFY               },
1241         { MON_LORD_CHAOS,    TV_POTION, SV_POTION_LIFE                },
1242         { MON_SHADOWLORD,    TV_POTION, SV_POTION_STAR_ENLIGHTENMENT  },
1243         { MON_ULT_BEHOLDER,  TV_AMULET, SV_AMULET_REFLECTION          },
1244         { MON_JABBERWOCK,    TV_ROD,    SV_ROD_HEALING                },
1245         { MON_LOCKE_CLONE,   TV_WAND,   SV_WAND_DISINTEGRATE          },
1246         { MON_WYRM_SPACE,    TV_ROD,    SV_ROD_RESTORATION            },
1247         { MON_SHAMBLER,      TV_SCROLL, SV_SCROLL_STAR_ACQUIREMENT    },
1248         { MON_BLACK_REAVER,  TV_RING,   SV_RING_LORDLY                },
1249         { MON_FENGHUANG,     TV_STAFF,  SV_STAFF_THE_MAGI             },
1250         { MON_WYRM_POWER,    TV_SCROLL, SV_SCROLL_ARTIFACT            },
1251         { 0,                 0,         0                             }, /* Victory prizing */
1252         { MON_HAGURE,        TV_SCROLL, SV_SCROLL_ARTIFACT            },
1253 };
1254
1255
1256
1257
1258 /*!
1259  * @brief 加速値による実質速度修正倍率テーブル /
1260  * This table allows quick conversion from "speed" to "energy"
1261  * @details
1262  * <pre>
1263  * The basic function WAS ((S>=110) ? (S-110) : (100 / (120-S)))
1264  * Note that table access is *much* quicker than computation.
1265  *
1266  * Note that the table has been changed at high speeds.  From
1267  * "Slow (-40)" to "Fast (+30)" is pretty much unchanged, but
1268  * at speeds above "Fast (+30)", one approaches an asymptotic
1269  * effective limit of 50 energy per current_world_ptr->game_turn.  This means that it
1270  * is relatively easy to reach "Fast (+30)" and get about 40
1271  * energy per current_world_ptr->game_turn, but then speed becomes very "expensive",
1272  * and you must get all the way to "Fast (+50)" to reach the
1273  * point of getting 45 energy per current_world_ptr->game_turn.  After that point,
1274  * furthur increases in speed are more or less pointless,
1275  * except to balance out heavy inventory.
1276  *
1277  * Note that currently the fastest monster is "Fast (+30)".
1278  *
1279  * It should be possible to lower the energy threshhold from
1280  * 100 units to 50 units, though this may interact badly with
1281  * the (compiled out) small random energy boost code.  It may
1282  * also tend to cause more "clumping" at high speeds.
1283  * </pre>
1284  */
1285 const byte extract_energy[200] =
1286 {
1287         /* Slow */     1,  1,  1,  1,  1,  1,  1,  1,  1,  1,
1288         /* Slow */     1,  1,  1,  1,  1,  1,  1,  1,  1,  1,
1289         /* Slow */     1,  1,  1,  1,  1,  1,  1,  1,  1,  1,
1290         /* Slow */     1,  1,  1,  1,  1,  1,  1,  1,  1,  1,
1291         /* Slow */     1,  1,  1,  1,  1,  1,  1,  1,  1,  1,
1292         /* Slow */     1,  1,  1,  1,  1,  1,  1,  1,  1,  1,
1293         /* S-50 */     1,  1,  1,  1,  1,  1,  1,  1,  1,  1,
1294         /* S-40 */     2,  2,  2,  2,  2,  2,  2,  2,  2,  2,
1295         /* S-30 */     2,  2,  2,  2,  2,  2,  2,  3,  3,  3,
1296         /* S-20 */     3,  3,  3,  3,  3,  4,  4,  4,  4,  4,
1297         /* S-10 */     5,  5,  5,  5,  6,  6,  7,  7,  8,  9,
1298         /* Norm */    10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
1299         /* F+10 */    20, 21, 22, 23, 24, 25, 26, 27, 28, 29,
1300         /* F+20 */    30, 31, 32, 33, 34, 35, 36, 36, 37, 37,
1301         /* F+30 */    38, 38, 39, 39, 40, 40, 40, 41, 41, 41,
1302         /* F+40 */    42, 42, 42, 43, 43, 43, 44, 44, 44, 44,
1303         /* F+50 */    45, 45, 45, 45, 45, 46, 46, 46, 46, 46,
1304         /* F+60 */    47, 47, 47, 47, 47, 48, 48, 48, 48, 48,
1305         /* F+70 */    49, 49, 49, 49, 49, 49, 49, 49, 49, 49,
1306         /* Fast */    49, 49, 49, 49, 49, 49, 49, 49, 49, 49,
1307 };
1308
1309
1310
1311 /*!
1312  * @brief 基本必要経験値テーブル /
1313  * Base experience levels, may be adjusted up for race and/or class
1314  */
1315 const s32b player_exp[PY_MAX_LEVEL] =
1316 {
1317         10,
1318         25,
1319         45,
1320         70,
1321         100,
1322         140,
1323         200,
1324         280,
1325         380,/*10*/
1326         500,
1327         650,
1328         850,
1329         1100,
1330         1400,
1331         1800,
1332         2300,
1333         2900,
1334         3600,
1335         4400,/*20*/
1336         5400,
1337         6800,
1338         8400,
1339         10200,
1340         12500,
1341         17500,
1342         25000,
1343         35000L,
1344         50000L,
1345         75000L,/*30*/
1346         100000L,
1347         150000L,
1348         200000L,
1349         275000L,
1350         350000L,
1351         450000L,
1352         550000L,
1353         700000L,
1354         850000L,
1355         1000000L,/*40*/
1356         1250000L,
1357         1500000L,
1358         1800000L,
1359         2100000L,
1360         2400000L,
1361         2700000L,
1362         3000000L,
1363         3500000L,
1364         4000000L,
1365         4500000L,/*50*/
1366         5000000L
1367 };
1368
1369
1370 /*!
1371  * @brief 基本必要強化値テーブル(アンドロイド専用)
1372  */
1373 const s32b player_exp_a[PY_MAX_LEVEL] =
1374 {
1375         20,
1376         50,
1377         100,
1378         170,
1379         280,
1380         430,
1381         650,
1382         950,
1383         1400,/*10*/
1384         1850,
1385         2300,
1386         2900,
1387         3600,
1388         4400,
1389         5400,
1390         6800,
1391         8400,
1392         10400,
1393         12500,/*20*/
1394         17500,
1395         25000,
1396         35000,
1397         50000L,
1398         75000L,
1399         100000L,
1400         150000L,
1401         200000L,
1402         275000L,
1403         350000L,/*30*/
1404         450000L,
1405         550000L,
1406         650000L,
1407         800000L,
1408         950000L,
1409         1100000L,
1410         1250000L,
1411         1400000L,
1412         1550000L,
1413         1700000L,/*40*/
1414         1900000L,
1415         2100000L,
1416         2300000L,
1417         2550000L,
1418         2800000L,
1419         3050000L,
1420         3300000L,
1421         3700000L,
1422         4100000L,
1423         4500000L,/*50*/
1424         5000000L
1425 };
1426
1427
1428 /*!
1429  * @brief 性別表記 /
1430  * Player Sexes
1431  * @details
1432  * <pre>
1433  *      Title,
1434  *      Winner
1435  * </pre>
1436  */
1437 const player_sex sex_info[MAX_SEXES] =
1438 {
1439         {
1440 #ifdef JP
1441                 "女性",
1442                 "クイーン",
1443 #endif
1444                 "Female",
1445                 "Queen"
1446         },
1447         {
1448 #ifdef JP
1449                 "男性",
1450                 "キング",
1451 #endif
1452                 "Male",
1453                 "King"
1454         }
1455 };
1456
1457
1458 /*!
1459  * @brief 種族情報 /
1460  * Player Races
1461  * @details
1462  * <pre>
1463  *      Title,
1464  *      {STR,INT,WIS,DEX,CON,CHR},
1465  *      r_dis, r_dev, r_sav, r_stl, r_srh, r_fos, r_thn, r_thb,
1466  *      hitdie, exp base,
1467  *      Age (Base, Mod),
1468  *      Male (Hgt, Wgt),
1469  *      Female (Hgt, Wgt)
1470  *      infra,
1471  *      class-choices
1472  * </pre>
1473  */
1474 const player_race race_info[MAX_RACES] =
1475 {
1476         {
1477 #ifdef JP
1478                 "人間",
1479 #endif
1480                 "Human",
1481
1482                 {  0,  0,  0,  0,  0,  0 },
1483                 0,  0,  0,  0,  0,  10,  0,  0,
1484                 10,  100,
1485                 14,  6,
1486                 72,  6, 180, 25,
1487                 66,  4, 150, 20,
1488                 0,
1489                 0xFFFFFFF,
1490         },
1491         {
1492 #ifdef JP
1493                 "ハーフエルフ",
1494 #endif
1495                 "Half-Elf",
1496
1497                 { -1,  1,  1,  1, -1,  1 },
1498                 2,  3,  2,  1, 6,  11, -1,  5,
1499                 9,  110,
1500                 24, 16,
1501                 66,  6, 130, 15,
1502                 62,  6, 100, 10,
1503                 2,
1504                 0xE77E7FF,
1505         },
1506         {
1507 #ifdef JP
1508                 "エルフ",
1509 #endif
1510                 "Elf",
1511
1512                 { -1,  2,  0,  1, -2,  2 },
1513                 5,  6,  4,  2, 8,  12, -5, 15,
1514                 8,  120,
1515                 75, 75,
1516                 60,  4, 100,  6,
1517                 54,  4, 80,  6,
1518                 3,
1519                 0xE77E75B,
1520
1521         },
1522         {
1523 #ifdef JP
1524                 "ホビット",
1525 #endif
1526                 "Hobbit",
1527
1528                 { -2,  1,  1,  3,  2,  1 },
1529                 15, 12, 10, 5, 12,  15, -10, 20,
1530                 7,  110,
1531                 21, 12,
1532                 36,  3, 60,  3,
1533                 33,  3, 50,  3,
1534                 4,
1535                 0xF6FFC0B,
1536         },
1537         {
1538 #ifdef JP
1539                 "ノーム",
1540 #endif
1541                 "Gnome",
1542
1543                 { -1,  2,  0,  2,  1, -1 },
1544                 10, 8, 7,  3, 6,  13, -8, 12,
1545                 8,  120,
1546                 50, 40,
1547                 42,  3, 90,  6,
1548                 39,  3, 75,  3,
1549                 4,
1550                 0xF67D60F,
1551         },
1552         {
1553 #ifdef JP
1554                 "ドワーフ",
1555 #endif
1556                 "Dwarf",
1557
1558                 {  2, -2,  2, -2,  2, -1 },
1559                 2,  7,  6,  -1,  7,  10, 15,  0,
1560                 11,  125,
1561                 35, 15,
1562                 48,  3, 150, 10,
1563                 46,  3, 120, 10,
1564                 5,
1565                 0x1890005,
1566         },
1567         {
1568 #ifdef JP
1569                 "ハーフオーク",
1570 #endif
1571                 "Half-Orc",
1572
1573                 {  2, -1,  0,  0,  1, -2 },
1574                 -3, -3, -2,  -1,  0, 7, 12, -5,
1575                 10,  110,
1576                 11,  4,
1577                 66,  1, 150,  5,
1578                 62,  1, 120,  5,
1579                 3,
1580                 0xDD8818D,
1581         },
1582         {
1583 #ifdef JP
1584                 "ハーフトロル",
1585 #endif
1586                 "Half-Troll",
1587
1588                 { 4, -4, -1, -3,  3, -3 },
1589                 -5, -8, -5, -2,  -1, 5, 20, -10,
1590                 12,  125,
1591                 20, 10,
1592                 96, 10, 250, 50,
1593                 84,  8, 225, 40,
1594                 3,
1595                 0x0880005,
1596         },
1597         {
1598 #ifdef JP
1599                 "アンバライト",
1600 #endif
1601                 "Amberite",
1602
1603                 {  1,  2,  2,  2,  3,  2 },
1604                 4,  5,  3,  2, 3, 13, 15, 10,
1605                 10,  225,
1606                 50, 50,
1607                 82, 5, 190, 20,
1608                 78,  6, 180, 15,
1609                 0,
1610                 0xFFFF7FF,
1611         },
1612         {
1613 #ifdef JP
1614                 "ハイエルフ",
1615 #endif
1616                 "High-Elf",
1617
1618                 {  1,  3,  -1,  3,  1,  3 },
1619                 4,  13, 12,  4,  3, 14, 10, 25,
1620                 10,  200,
1621                 100, 30,
1622                 90, 10, 190, 20,
1623                 82, 10, 180, 15,
1624                 4,
1625                 0xF77E75B,
1626         },
1627         {
1628 #ifdef JP
1629                 "野蛮人",
1630 #endif
1631                 "Barbarian",
1632
1633                 { 3, -2,  -1,  1,  2, 0 },
1634                 -2, -10, 2,  -1,  1, 7, 12, 10,
1635                 11, 120,
1636                 14, 8,
1637                 82, 5, 200, 20,
1638                 78,  6, 190, 15,
1639                 0,
1640                 0x5C0A09D,
1641         },
1642         {
1643 #ifdef JP
1644                 "ハーフオーガ",
1645 #endif
1646                 "Half-Ogre",
1647
1648                 { 3, -2, 0, -1, 3, -2 },
1649                 -3, -5, -3, -2, -1, 5, 20, 0,
1650                 12,  145,
1651                 40, 10,
1652                 92, 10, 255, 60,
1653                 80,  8, 235, 60,
1654                 3,
1655                 0x0A80407,
1656         },
1657         {
1658 #ifdef JP
1659                 "半巨人",
1660 #endif
1661                 "Half-Giant",
1662
1663                 { 4, -2, -2, -2, 3, -2 },
1664                 -6, -8, -3, -2, -1, 5, 25, 5,
1665                 13, 160,
1666                 40, 10,
1667                 100,10, 255, 65,
1668                 80, 10, 240, 64,
1669                 3,
1670                 0x8880011,
1671         },
1672         {
1673 #ifdef JP
1674                 "半タイタン",
1675 #endif
1676                 "Half-Titan",
1677
1678                 { 5, 1, 2, -2, 3, 1 },
1679                 -5, 5, 1, -2, 1, 8, 25, 0,
1680                 14, 255,
1681                 100,30,
1682                 111, 11, 255, 86,
1683                 99, 11, 250, 86,
1684                 0,
1685                 0x23D4727,
1686         },
1687         {
1688 #ifdef JP
1689                 "サイクロプス",
1690 #endif
1691                 "Cyclops",
1692
1693                 { 4, -3, -2, -3, 4, -3 },
1694                 -4, -5, -3, -2, -2, 5, 20, 12,
1695                 13, 150,
1696                 50, 24,
1697                 92, 10, 255, 60,
1698                 80,  8, 235, 60,
1699                 1,
1700                 0x0888005,
1701         },
1702         {
1703 #ifdef JP
1704                 "イーク",
1705 #endif
1706                 "Yeek",
1707
1708                 { -2, 1, 1, 1, -2, -4 },
1709                 2, 4, 6, 3, 5, 15, -5, -5,
1710                 7, 100,
1711                 14, 3,
1712                 50,  3, 90,  6,
1713                 50,  3, 75,  3,
1714                 2,
1715                 0x667360F,
1716         },
1717         {
1718 #ifdef JP
1719                 "クラッコン",
1720 #endif
1721                 "Klackon",
1722
1723                 { 2, -1, -1, 1, 2, -1 },
1724                 10, 5, 3, 0, -1, 10, 5, 5,
1725                 12, 190,
1726                 20, 3,
1727                 60,  3, 80,  4,
1728                 54,  3, 70,  4,
1729                 2,
1730                 0x04D8011,
1731         },
1732         {
1733 #ifdef JP
1734                 "コボルド",
1735 #endif
1736                 "Kobold",
1737
1738                 { 1, -1, 0, 1, 0, -2 },
1739                 -2, -3, -1, -1, 1, 8, 10, -8,
1740                 9, 125,
1741                 11,  3,
1742                 60,  1, 130,  5,
1743                 55,  1, 100,  5,
1744                 3,
1745                 0x444A009,
1746         },
1747         {
1748 #ifdef JP
1749                 "ニーベルング",
1750 #endif
1751                 "Nibelung",
1752
1753                 { 1, -1, 2, 0, 2, -2 },
1754                 3, 5, 6, 1, 5, 10, 9, 0,
1755                 11, 170,
1756                 40, 12,
1757                 43,  3, 92,  6,
1758                 40,  3, 78,  3,
1759                 5,
1760                 0x569040F,
1761         },
1762         {
1763 #ifdef JP
1764                 "ダークエルフ",
1765 #endif
1766                 "Dark-Elf",
1767
1768                 { -1, 3, 2, 2, -2, 1 },
1769                 5, 10, 12, 3, 8, 12, -5, 10,
1770                 9, 150,
1771                 75, 75,
1772                 60,  4, 100,  6,
1773                 54,  4, 80,  6,
1774                 5,
1775                 0xE77C7DF,
1776         },
1777         {
1778 #ifdef JP
1779                 "ドラコニアン",
1780 #endif
1781                 "Draconian",
1782
1783                 { 2, 1, 1, 1, 2, -1 },
1784                 -2, 5, 2, 0, 1, 10, 5, 5,
1785                 11, 220,
1786                 75, 33,
1787                 76,  1, 160,  5,
1788                 72,  1, 130,  5,
1789                 2,
1790                 0x7FFE757,
1791         },
1792         {
1793 #ifdef JP
1794                 "マインドフレア",
1795 #endif
1796                 "Mindflayer",
1797
1798                 { -3, 4, 4, 0, -2, -3 },
1799                 10, 15, 9, 2, 5, 12, -10, -5,
1800                 9, 140,
1801                 100, 25,
1802                 68,  6, 142, 15,
1803                 63,  6, 112, 10,
1804                 4,
1805                 0x2334746,
1806         },
1807         {
1808 #ifdef JP
1809                 "インプ",
1810 #endif
1811                 "Imp",
1812
1813                 { 0, -1, -1, 1, 2, -1 },
1814                 -3, 2, -1, 1, -1, 10, 5, -5,
1815                 10, 115,
1816                 13,  4,
1817                 68,  1, 150,  5,
1818                 64,  1, 120,  5,
1819                 3,
1820                 0xDB537CB,
1821         },
1822         {
1823 #ifdef JP
1824                 "ゴーレム",
1825 #endif
1826                 "Golem",
1827
1828                 { 4, -5, -5, -2, 4, -2 },
1829                 -5, -5, 6, -1, -1, 8, 20, 0,
1830                 12, 200,
1831                 1, 100,
1832                 66,  1, 200,  6,
1833                 62,  1, 180,  6,
1834                 4,
1835                 0x0800001,
1836         },
1837         {
1838 #ifdef JP
1839                 "骸骨",
1840 #endif
1841                 "Skeleton",
1842
1843                 { 0, 1, -2, 0, 1, -2 },
1844                 -5, 0, 3, -1, -1, 8, 10, 0,
1845                 10, 145,
1846                 100, 35,
1847                 72,  6, 50, 5,
1848                 66,  4, 50, 5,
1849                 2,
1850                 0x234070F,
1851         },
1852         {
1853 #ifdef JP
1854                 "ゾンビ",
1855 #endif
1856                 "Zombie",
1857
1858                 { 2, -6, -6, 1, 4, -3 },
1859                 -5, -5, 5, -1, -1, 5, 15, 0,
1860                 13, 150,
1861                 100, 30,
1862                 72, 6, 100, 25,
1863                 66, 4, 100, 20,
1864                 2,
1865                 0x0800001,
1866         },
1867         {
1868 #ifdef JP
1869                 "吸血鬼",
1870 #endif
1871                 "Vampire",
1872
1873                 { 3, 3, -1, -1, 1, 2 },
1874                 4, 8, 6, 4, 1, 8, 5, 0,
1875                 11, 200,
1876                 100, 30,
1877                 72,  6, 180, 25,
1878                 66,  4, 150, 20,
1879                 5,
1880                 0x67DC7FF,
1881         },
1882         {
1883 #ifdef JP
1884                 "幽霊",
1885 #endif
1886                 "Spectre",
1887
1888                 { -5, 4, -1, 2, 0, -3 },
1889                 10, 15, 12, 5, 5, 14, -15, -5,
1890                 7, 210,
1891                 100, 30,
1892                 72, 6, 100, 25,
1893                 66, 4, 100, 20,
1894                 5,
1895                 0x631474A,
1896         },
1897         {
1898 #ifdef JP
1899                 "妖精",
1900 #endif
1901                 "Sprite",
1902
1903                 { -4, 3, 3, 3, -2, 2 },
1904                 10, 8, 6, 4, 10, 10, -12, 0,
1905                 7, 145,
1906                 50, 25,
1907                 32,  2, 75,  2,
1908                 29,  2, 65,  2,
1909                 4,
1910                 0x623F65E,
1911         },
1912         {
1913 #ifdef JP
1914                 "獣人",  
1915 #endif
1916                 "Beastman",
1917
1918                 { 2, -2, -1, -1, 2, -2 },
1919                 -5, -2, -1, -1, -1, 5, 12, 5,
1920                 11, 140,
1921                 14, 6,
1922                 65,  6, 150, 20,
1923                 61,  6, 120, 15,
1924                 0,
1925                 0x57887CF,
1926         },
1927         {
1928 #ifdef JP
1929                 "エント",
1930 #endif
1931                 "Ent",
1932                 { 2,  0,  2, -3,  2,  0 },
1933                  -5,  2,  5,  -1, 0, 9,  15, -5,
1934                  12, 140,
1935                 120,  60,
1936                 111, 11, 255, 50,
1937                 99, 11, 250, 45,
1938                   0,
1939                 0x0010005,
1940         },
1941         {
1942 #ifdef JP
1943                 "アルコン",
1944 #endif
1945                 "Archon",
1946
1947                 {  2,  0,  4,  1,  2,  3 },
1948                 0,  12,  8,  2, 2, 11, 10, 10,
1949                 11,  235,
1950                 150, 150,
1951                 82, 5, 190, 20,
1952                 78,  6, 180, 15,
1953                 3,
1954                 0x779F777,
1955         },
1956         {
1957 #ifdef JP
1958                 "バルログ",
1959                 "Balrog",
1960 #else
1961                 "Balrog",
1962 #endif
1963
1964                 {  4,  2,  -10,  2,  3,  -5 },
1965                 -3,  12, 15,  -2,  1, 8, 20, 0,
1966                 12,  250,
1967                 255, 255,
1968                 100,10, 255, 65,
1969                 80, 10, 240, 64,
1970                 5,
1971                 0x7EDC4DB,
1972         },
1973         {
1974 #ifdef JP
1975                 "ドゥナダン",
1976 #endif
1977                 "Dunadan",
1978
1979                 {  1,  2,  2,  2,  3,  2 },
1980                 4,  5,  3,  2, 3, 13, 15, 10,
1981                 10,  180,
1982                 50, 20,
1983                 82, 5, 190, 20,
1984                 78,  6, 180, 15,
1985                 0,
1986                 0xFFFF7FF,
1987         },
1988         {
1989 #ifdef JP
1990                 "影フェアリー",
1991 #endif
1992                 "Shadow-Fairy",
1993                 {-2,  2,  2,  1, -1,  0 },
1994                   7,  8,  0,  6, 12, 15, -10, -5,
1995                   7, 120,
1996                 200, 100,
1997                  80,  8, 90, 20,
1998                  73,  8, 80, 15,
1999                   4,
2000                 0xE33C7DF,
2001         },
2002         {
2003 #ifdef JP
2004                 "クター",
2005 #endif
2006                 "Kutar",
2007
2008                 {  0,  -1,  -1,  1,  2,  3 },
2009                 -2,  5,  5,  5,  -2,  6,  0,  -5,
2010                 11,  140,
2011                 14,  6,
2012                 48,  6, 150, 25,
2013                 44,  4, 130, 20,
2014                 0,
2015                 0xC18B7AD,
2016         },
2017         {
2018 #ifdef JP
2019                 "アンドロイド",
2020 #endif
2021                 "Android",
2022
2023                 { 4, -5, -5, 0, 4, -2 },
2024                 0, -5, 0, -2, 3, 14, 20, 10,
2025                 13, 200,
2026                 1, 100,
2027                 72, 12, 240, 64,
2028                 66, 12, 220, 64,
2029                 0,
2030                 0x0800001,
2031         },
2032         {
2033 #ifdef JP
2034                 "マーフォーク",
2035 #endif
2036                 "Merfolk",
2037
2038                 { -1,  0,  2,  1,  -1,  1},
2039                         2,  3,  2,  1, 6,  11, -1,  5,
2040                         10,  130,
2041                         24, 16,
2042                         66,  6, 130, 15,
2043                         62,  6, 100, 10,
2044                         2,
2045                         0xE77E7FF,
2046         },
2047
2048 };
2049
2050
2051 /*!
2052  * @brief 職業情報 /
2053  * Player Classes
2054  * @details
2055  * <pre>
2056  *      Title,
2057  *      {STR,INT,WIS,DEX,CON,CHR},
2058  *      c_dis, c_dev, c_sav, c_stl, c_srh, c_fos, c_thn, c_thb,
2059  *      x_dis, x_dev, x_sav, x_stl, x_srh, x_fos, x_thn, x_thb,
2060  *      HD, Exp, pet_upkeep_div
2061  * </pre>
2062  */
2063 const player_class class_info[MAX_CLASS] =
2064 {
2065         {
2066 #ifdef JP
2067                 "戦士",
2068 #endif
2069                 "Warrior",
2070
2071                 { 4, -2, -2, 2, 2, -1},
2072                 25, 18, 31, 1,  14, 2, 70, 55,
2073                 12, 7,  10, 0,  0,  0,  30, 30,
2074                 9,  0, 40
2075         },
2076
2077         {
2078 #ifdef JP
2079                 "メイジ",
2080 #endif
2081                 "Mage",
2082
2083                 {-4, 3, 0, 1, -2, 1},
2084                 30, 40, 38, 3,  16, 20, 34, 20,
2085                 7,  15, 11,  0,  0,  0,  6, 7,
2086                 0, 30, 30
2087         },
2088
2089         {
2090 #ifdef JP
2091                 "プリースト",
2092 #endif
2093                 "Priest",
2094
2095                 {-1, -3, 3, -1, 0, 2},
2096                 25, 35, 40, 2,  16, 8, 48, 35,
2097                 7,  11, 12, 0,  0,  0, 13, 11,
2098                 2, 20, 35
2099         },
2100
2101         {
2102 #ifdef JP
2103                 "盗賊",
2104 #endif
2105                 "Rogue",
2106
2107                 { 2, 1, -2, 3, 1, -1},
2108                 45, 37, 36, 5, 32, 24, 60, 66,
2109                 15, 12, 10, 0,  0,  0, 21, 18,
2110                 6, 25, 40
2111         },
2112
2113         {
2114 #ifdef JP
2115                 "レンジャー",
2116 #endif
2117                 "Ranger",
2118
2119                 { 2, 2, 0, 1, 1, 1},
2120                 30, 37, 36, 3,  24, 16, 56, 72,
2121                 8,  11, 10, 0,  0,  0,  18, 28,
2122                 4, 40, 35
2123         },
2124
2125         {
2126 #ifdef JP
2127                 "パラディン",
2128 #endif
2129                 "Paladin",
2130
2131                 { 3, -3, 1, 0, 2, 2},
2132                 20, 24, 34, 1,  12, 2, 68, 40,
2133                 7,  10, 11, 0,  0,  0,  21, 18,
2134                 6, 35, 40
2135         },
2136
2137         {
2138 #ifdef JP
2139                 "魔法戦士",
2140 #endif
2141                 "Warrior-Mage",
2142
2143                 { 2, 2, 0, 1, 0, 1},
2144                 30, 35, 36, 2,  18, 16, 50, 25,
2145                 7,  10, 10, 0,  0,  0,  15, 11,
2146                 4, 40, 35
2147         },
2148
2149         {
2150 #ifdef JP
2151                 "混沌の戦士",
2152 #endif
2153                 "Chaos-Warrior",
2154
2155                 { 2, 1, -1, 0, 2, -2},
2156                 20, 25, 34, 1,  14, 12, 65, 40,
2157                 7,  11, 10, 0,  0,  0,  20, 17,
2158                 6, 25, 40
2159         },
2160
2161         {
2162 #ifdef JP
2163                 "修行僧",
2164 #endif
2165                 "Monk",
2166
2167                 { 2, -1, 1, 3, 2, 1},
2168                 45, 34, 36, 5, 32, 24, 64, 60,
2169                 15, 11, 10, 0,  0,  0, 18, 18,
2170                 6, 30, 35
2171         },
2172
2173         {
2174 #ifdef JP
2175                 "超能力者",
2176 #endif
2177                 "Mindcrafter",
2178
2179                 {-1, 0, 3, -1, -1, 2},   /* note: spell stat is Wis */
2180                 30, 33, 38, 3,  22, 16, 50, 40,
2181                 10, 11, 10, 0,   0,  0, 14, 18,
2182                 2, 25, 35
2183         },
2184
2185         {
2186 #ifdef JP
2187                 "ハイ=メイジ",
2188 #endif
2189                 "High-Mage",
2190
2191                 {-4, 4, 0, 0, -2, 1},
2192                 30, 40, 38, 3,  16, 20, 34, 20,
2193                 7,  15, 11,  0,  0,  0,  6, 7,
2194                 0, 30, 25
2195         },
2196
2197         {
2198 #ifdef JP
2199                 "観光客",
2200 #endif
2201                 "Tourist",
2202                 { -1, -1, -1, -1, -1, -1},
2203                 15, 18, 28, 1, 12, 2, 40, 20,
2204                 5, 7, 9, 0,  0,  0,  11, 11,
2205                 0, -30, 40
2206         },
2207
2208         {
2209 #ifdef JP
2210                 "ものまね師",
2211 #endif
2212                 "Imitator",
2213                 { 0, 1, -1, 2, 0, 1},
2214                 25, 30, 36, 2,  18, 16, 60, 50,
2215                 7,  10,  10, 0,  0,  0,  18, 20,
2216                 5, 10, 20
2217         },
2218
2219         {
2220 #ifdef JP
2221                 "魔獣使い",
2222 #endif
2223                 "BeastMaster",
2224                 { 1, -1, -1, 1, 0, 2},
2225                 20, 25, 32, 2,  18, 16, 52, 63,
2226                 7,  10, 10, 0,  0,  0,  14, 25,
2227                 3, 20, 10
2228         },
2229
2230         {
2231 #ifdef JP
2232                 "スペルマスター",
2233 #endif
2234                 "Sorcerer",
2235
2236                 {-5, 6, -2, 2, 0, -2},
2237                 30, 48, 75, 2,  12, 22,  0, 0,
2238                  7, 18, 13, 0,  0,  0,  0, 0,
2239                 4, 60, 25
2240         },
2241
2242         {
2243 #ifdef JP
2244                 "アーチャー",
2245 #endif
2246                 "Archer",
2247
2248                 { 2, -1, -1, 2, 1, 0},
2249                 38, 24, 35, 4,  24, 16, 56, 82,
2250                 12, 10, 10, 0,  0,  0,  18, 36,
2251                 6, 10, 40
2252         },
2253
2254         {
2255 #ifdef JP
2256                 "魔道具術師",
2257 #endif
2258                 "Magic-Eater",
2259
2260                 {-1, 2, 1, 2, -2, 1},
2261                 25, 42, 36, 2,  20, 16, 48, 35,
2262                 7,  16, 10,  0,  0,  0, 13, 11,
2263                 3, 30, 30
2264         },
2265
2266         {
2267 #ifdef JP
2268                 "吟遊詩人",
2269 #endif
2270                 "Bard",              /* Note : spell stat is Charisma */
2271                 {-2, 1, 2, -1, -2, 4},
2272                 20, 33, 34, -5, 16, 20, 34, 20,
2273                 8,  13, 11, 0,  0,  0,  10, 8,
2274                 2, 40, 25
2275         },
2276
2277         {
2278 #ifdef JP
2279                 "赤魔道師",
2280 #endif
2281                 "Red-Mage",
2282
2283                 { 2, 2, -1, 1, 0, -1},
2284                 20, 34, 34, 1,  16, 10, 56, 25,
2285                 7,  11, 11, 0,  0,  0,  18, 11,
2286                 4, 40, 40
2287         },
2288
2289         {
2290 #ifdef JP
2291                 "剣術家",
2292 #endif
2293                 "Samurai",
2294
2295                 { 3, -2, 1, 2, 1, 0},
2296                 25, 18, 32, 2,  16, 6, 70, 40,
2297                 12, 7,  10, 0,  0,  0,  23, 18,
2298                 6,  30, 40
2299         },
2300
2301         {
2302 #ifdef JP
2303                 "練気術師",
2304 #endif
2305                 "ForceTrainer",
2306
2307                 { 0, -1, 3, 2, 1, 1},
2308                 30, 34, 38, 4, 32, 24, 50, 40,
2309                 10, 11, 11, 0,  0,  0, 14, 15,
2310                 2, 35, 40
2311         },
2312
2313         {
2314 #ifdef JP
2315                 "青魔道師",
2316 #endif
2317                 "Blue-Mage",
2318
2319                 {-4, 4, -1, 1, -2, -1},
2320                 30, 40, 36, 3,  20, 16, 40, 25,
2321                 7,  16, 11,  0,  0,  0,  6, 7,
2322                 2, 30, 35
2323         },
2324
2325         {
2326 #ifdef JP
2327                 "騎兵",
2328 #endif
2329                 "Cavalry",
2330                 { 2, -2, -2, 2, 2, 0},
2331                 20, 18, 32, 1,  16, 10, 60, 66,
2332                 10,  7, 10, 0,  0,  0,  22, 26,
2333                 5, 20, 35
2334         },
2335
2336         {
2337 #ifdef JP
2338                 "狂戦士",
2339 #endif
2340                 "Berserker",
2341
2342                 { 8, -20, -20, 4, 4, -5},
2343                 -100, -1000, -200, -100,  -100, -100, 120, -2000,
2344                 0, 0,  0, 0,  0,  0,  50, 0,
2345                 11,  60, 255
2346         },
2347
2348         {
2349 #ifdef JP
2350                 "鍛冶師",
2351 #endif
2352                 "Weaponsmith",
2353
2354                 { 3, -1, -1, 1, 0, -1},
2355                 30, 28, 28, 1,  20, 10, 60, 45,
2356                 10, 10,  10, 0,  0,  0,  21, 15,
2357                 6,  30, 40
2358         },
2359         {
2360 #ifdef JP
2361                 "鏡使い",
2362 #endif
2363                 "Mirror-Master",
2364
2365                 { -2,  3, 1, -1, -2, 1},
2366                 30, 33, 40, 3, 14, 16, 34,30,
2367                 10, 11, 12, 0,  0,  0,  6,10,
2368                 2,  30, 30
2369         },
2370         {
2371 #ifdef JP
2372                 "忍者",
2373 #endif
2374                 "Ninja",
2375
2376                 { 0,  -1, -1, 3, 2, -1},
2377                 45, 24, 36, 8, 48, 32, 70,66,
2378                 15, 10, 10, 0,  0,  0, 25,18,
2379                 2,  20, 40
2380         },
2381
2382         {
2383 #ifdef JP
2384                 "スナイパー",
2385 #endif
2386                 "Sniper",
2387
2388                 { 2, -1, -1, 2, 1, 0},
2389                 25, 24, 28, 5, 32, 18, 56,  72,
2390                 12, 10, 10, 0,  0,  0, 18,  28,
2391                 2, 20, 40,
2392         },
2393 };
2394
2395 /*!
2396  * @brief 性格情報 /
2397  * Player Character
2398  */
2399 const player_seikaku seikaku_info[MAX_SEIKAKU] =
2400 {
2401         {
2402 #ifdef JP
2403                 "ふつう",
2404 #endif
2405                 "Ordinary",
2406                 {  0,  0,  0,  0,  0,  0 },
2407                 0,  0,  0,  0,  0,  0,  0,  0,
2408                 0, 1, 0
2409         },
2410
2411         {
2412 #ifdef JP
2413                 "ちからじまん",
2414 #endif
2415                 "Mighty",
2416                 {  2,  -2,  -1,  0,  1,  0 },
2417                 -5,  -5,  -3,  -1,  -2,  -2,  10,  0,
2418                 1, 1, 0
2419         },
2420
2421         {
2422 #ifdef JP
2423                 "きれもの",
2424 #endif
2425                 "Shrewd",
2426                 {  -2,  2,  0,  1,  -1,  -1 },
2427                 3,  8,  2,  0,  -2,  5,  -8,  -5,
2428                 -1, 1, 0
2429         },
2430
2431         {
2432 #ifdef JP
2433                 "しあわせもの",
2434 #endif
2435                 "Pious",
2436                 {  0,  -1,  2,  -1,  0,  1 },
2437                 -5,  2,  4,  -1,  3,  -2,  -3,  -6,
2438                 0, 1, 0
2439         },
2440
2441         {
2442 #ifdef JP
2443                 "すばしっこい",
2444 #endif
2445                 "Nimble",
2446                 {  -1,  1,  -1,  2,  -1,  -1 },
2447                 7,  2,  -1,  1,  5,  5,  0,  10,
2448                 0, 0, 0
2449         },
2450
2451         {
2452 #ifdef JP
2453                 "いのちしらず",
2454 #endif
2455                 "Fearless",
2456                 {  2,  1,  1,  -1,  -1,  0 },
2457                 -5,  5,  -2,  0,  2,  -2,  10,  10,
2458                 -1, 1, 0
2459         },
2460
2461         {
2462 #ifdef JP
2463                 "コンバット",
2464 #endif
2465                 "Combat",
2466                 {  1,  -1,  -2,  2,  0,  1 },
2467                 -2,  -3,  -3,  0,  -1,  2,  5,  5,
2468                 0, 0, 0
2469         },
2470
2471         {
2472 #ifdef JP
2473                 "なまけもの",
2474 #endif
2475                 "Lazy",
2476                 {  -2,  -2,  -2,  -2,  -2,  -2 },
2477                 -5,  -5,  -3,  -1,  -4,  -2,  -8,  -8,
2478                 -1, 1, 0
2479         },
2480
2481         {
2482 #ifdef JP
2483                 "セクシーギャル",
2484 #endif
2485                 "Sexy",
2486                 {  1,  1,  1,  1,  1,  3 },
2487                 10,  5,  3,  0,  4,  2,  10,  10,
2488                 0, 1, 1
2489         },
2490
2491         {
2492 #ifdef JP
2493                 "ラッキーマン",
2494 #endif
2495                 "Lucky",
2496                 {  -2,  -2,  -2,  -2,  -2,  2 },
2497                 10,  7,  3,  2, 10,  8,  15,  15,
2498                 0, 1, 2
2499         },
2500
2501         {
2502 #ifdef JP
2503                 "がまんづよい",
2504 #endif
2505                 "Patient",
2506                 {  -1,  -1,  1,  -2,  2,  0 },
2507                 -5,  -3,  3,  1,  0,  -3,  -6,  -6,
2508                 1, 0, 0
2509         },
2510
2511         {
2512 #ifdef JP
2513                 "いかさま",
2514 #endif
2515                 "Munchkin",
2516                 { 10,  10,  10,  10,  10,  10 },
2517                  20, 40, 30, 10, 40, 40,  80, 80,
2518                  15, 1, 0
2519         },
2520
2521         {
2522 #ifdef JP
2523                 "チャージマン",
2524 #endif
2525                 "Chargeman",
2526                 { 2,  -2,  -2,  0,  1,  -2 },
2527                 -7, 7, -5, -1, -2, -4, 15, 20,
2528                 -1, 0, 0
2529         },
2530
2531 };
2532
2533
2534 /*!
2535  * @brief 変身種族情報
2536  */
2537 const player_race mimic_info[] =
2538 {
2539         {
2540 #ifdef JP
2541                 "[標準形態]",
2542 #endif
2543                 "Default",
2544
2545                 {  0,  0,  0,  0,  0,  0 },
2546                 0,  0,  0,  0,  0,  10,  0,  0,
2547                 10,  100,
2548                 0,  0,
2549                 0,  0, 0, 0,
2550                 0,  0, 0, 0,
2551                 0,
2552                 0x000000,
2553         },
2554         {
2555 #ifdef JP
2556                 "[悪魔]",
2557 #endif
2558                 "[Demon]",
2559
2560                 {  5,  3,  2,  3,  4,  -6 },
2561                 -5,  18, 20, -2,  3,  10, 40, 20,
2562                 12,  0,
2563                 0,  0,
2564                 0,  0, 0, 0,
2565                 0,  0, 0, 0,
2566                 5,
2567                 0x000003,
2568         },
2569         {
2570 #ifdef JP
2571                 "[魔王]",
2572 #endif
2573                 "[Demon lord]",
2574
2575                 {  20,  20,  20,  20,  20,  20 },
2576                 20,  20, 25, -2,  3,  10, 70, 40,
2577                 14,  0,
2578                 0,  0,
2579                 0,  0, 0, 0,
2580                 0,  0, 0, 0,
2581                 20,
2582                 0x000003,
2583         },
2584         {
2585 #ifdef JP
2586                 "[吸血鬼]",
2587 #endif
2588                 "[Vampire]",
2589
2590                 { 4, 4, 1, 1, 2, 3 },
2591                 6, 12, 8, 6, 2, 12, 30, 20,
2592                 11,  0,
2593                 0,  0,
2594                 0,  0, 0, 0,
2595                 0,  0, 0, 0,
2596                 5,
2597                 0x000005,
2598         },
2599 };
2600
2601
2602 /*!
2603  * @brief 歌、剣術、呪術領域情報テーブル
2604  */
2605 const magic_type technic_info[NUM_TECHNIC][32] =
2606 {
2607         {
2608                 /* Music */
2609                 { 1,  1,  10,   2},
2610                 { 2,  1,  10,   2},
2611                 { 3,  2,  20,   3},
2612                 { 4,  2,  20,   4},
2613                 { 5,  2,  20,   6},
2614                 { 7,  4,  30,   8},
2615                 { 9,  3,  30,   10},
2616                 { 10, 2,  30,   12},
2617
2618                 { 12,  3,   40,   20},
2619                 { 15, 16,  42,   35},
2620                 { 17, 18,  40,   25},
2621                 { 18,  2,  45,   30},
2622                 { 23,  8,  50,   38},
2623                 { 28, 30,  50,   41},
2624                 { 33, 35,  60,   42},
2625                 { 38, 35,  70,   46},
2626
2627                 { 10,  4,  20,   13},
2628                 { 22,  5,  30,   26},
2629                 { 23,  3,  35,   27},
2630                 { 26,  28,  37,   29},
2631                 { 32,  37,  41,   36},
2632                 { 33,  22,  43,   40},
2633                 { 37,  35,  46,   42},
2634                 { 45,  60,  50,   56},
2635
2636                 { 23,  18,  20,   23},
2637                 { 30,  30,  30,   26},
2638                 { 33,  65,  41,   30},
2639                 { 37,  35,  43,   35},
2640                 { 40,  30,  46,   50},
2641                 { 42,  75,  50,   68},
2642                 { 45,  58,  62,   73},
2643                 { 49,  48,  70,  200}
2644         },
2645
2646         {
2647                 /* Hissatsu */
2648                 { 1,   15,   0,   0},
2649                 { 3,   10,   0,   0},
2650                 { 6,   15,   0,   0},
2651                 { 9,    8,   0,   0},
2652                 { 10,  12,   0,   0},
2653                 { 12,  25,   0,   0},
2654                 { 14,   7,   0,   0},
2655                 { 17,  20,   0,   0},
2656
2657                 { 19,  10,   0,   0},
2658                 { 22,  20,   0,   0},
2659                 { 24,  30,   0,   0},
2660                 { 25,  10,   0,   0},
2661                 { 27,  15,   0,   0},
2662                 { 29,  45,   0,   0},
2663                 { 32,  70,   0,   0},
2664                 { 35,  50,   0,   0},
2665
2666                 { 18,  40,   0,   0},
2667                 { 22,  22,   0,   0},
2668                 { 24,  30,   0,   0},
2669                 { 26,  35,   0,   0},
2670                 { 30,  30,   0,   0},
2671                 { 32,  60,   0,   0},
2672                 { 36,  40,   0,   0},
2673                 { 39,  80,   0,   0},
2674
2675                 { 26,  20,   0,   0},
2676                 { 29,  40,   0,   0},
2677                 { 31,  35,   0,   0},
2678                 { 36,  80,   0,   0},
2679                 { 39, 100,   0,   0},
2680                 { 42, 110,   0,   0},
2681                 { 45, 130,   0,   0},
2682                 { 50, 255,   0,   0}
2683         },
2684
2685         {
2686                 /* Hex */
2687                 {  1,  2, 20,   2},
2688                 {  1,  2, 20,   2},
2689                 {  3,  2, 30,   3},
2690                 {  5,  3, 30,   4},
2691                 {  7,  3, 40,   6},
2692                 {  8, 10, 60,   8},
2693                 {  9,  3, 30,  10},
2694                 { 10,  5, 40,  12},
2695
2696                 { 12,  8, 40,  15},
2697                 { 12,  9, 35,  15},
2698                 { 15, 10, 50,  20},
2699                 { 20, 12, 45,  35},
2700                 { 25, 15, 50,  50},
2701                 { 30, 12, 60,  70},
2702                 { 35, 10, 60,  80},
2703                 { 40, 16, 70, 100},
2704
2705                 { 15,  8, 20,  20},
2706                 { 18, 15, 50,  20},
2707                 { 22, 10, 65,  35},
2708                 { 25, 28, 70,  50},
2709                 { 28, 10, 70,  60},
2710                 { 30, 20, 60,  60},
2711                 { 36, 22, 70,  80},
2712                 { 40, 28, 70, 100},
2713
2714                 {  5,  6, 35,   5},
2715                 { 22, 24, 70,  40},
2716                 { 25,  2, 65,  50},
2717                 { 32, 20, 50,  70},
2718                 { 35, 35, 70,  80},
2719                 { 38, 32, 70,  90},
2720                 { 42, 24, 70, 120},
2721                 { 46, 45, 80, 200}
2722         },
2723 };
2724
2725
2726 /*!
2727  * 魔法領域フラグ管理テーブル /
2728  * Zangband uses this array instead of the spell flags table, as there
2729  * are 5 realms of magic, each with 4 spellbooks and 8 spells per book -- TY
2730  */
2731 const u32b fake_spell_flags[4]=
2732 {
2733         0x000000ff,
2734         0x0000ff00,
2735         0x00ff0000,
2736         0xff000000
2737 };
2738
2739 /*!
2740  * 職業毎に選択可能な第一領域魔法テーブル
2741  */
2742 const s32b realm_choices1[MAX_CLASS] =
2743 {
2744         (CH_NONE),                              /* Warrior */
2745         (CH_LIFE | CH_SORCERY | CH_NATURE |
2746          CH_CHAOS | CH_DEATH | CH_TRUMP |
2747          CH_ARCANE | CH_ENCHANT | CH_DAEMON |
2748          CH_CRUSADE),                              /* Mage */
2749         (CH_LIFE | CH_DEATH | CH_DAEMON |
2750          CH_CRUSADE),                              /* Priest */
2751         (CH_SORCERY | CH_DEATH | CH_TRUMP |
2752          CH_ARCANE | CH_ENCHANT),               /* Rogue */
2753         (CH_NATURE),                            /* Ranger */
2754         (CH_CRUSADE | CH_DEATH),                   /* Paladin */
2755         (CH_ARCANE),                            /* Warrior-Mage */
2756         (CH_CHAOS | CH_DAEMON),                 /* Chaos-Warrior */
2757         (CH_LIFE | CH_NATURE | CH_DEATH |
2758          CH_ENCHANT),                           /* Monk */
2759         (CH_NONE),                              /* Mindcrafter */
2760         (CH_LIFE | CH_SORCERY | CH_NATURE |
2761          CH_CHAOS | CH_DEATH | CH_TRUMP |
2762          CH_ARCANE | CH_ENCHANT | CH_DAEMON |
2763          CH_CRUSADE | CH_HEX),                  /* High-Mage */
2764         (CH_ARCANE),                            /* Tourist */
2765         (CH_NONE),                              /* Imitator */
2766         (CH_TRUMP),                             /* Beastmaster */
2767         (CH_NONE),                              /* Sorcerer */
2768         (CH_NONE),                              /* Archer */
2769         (CH_NONE),                              /* Magic eater */
2770         (CH_MUSIC),                             /* Bard */
2771         (CH_NONE),                              /* Red Mage */
2772         (CH_HISSATSU),                          /* Samurai */
2773         (CH_LIFE | CH_NATURE | CH_DEATH |
2774          CH_ENCHANT | CH_CRUSADE),                 /* ForceTrainer */
2775         (CH_NONE),                              /* Blue Mage */
2776         (CH_NONE),                              /* Cavalry */
2777         (CH_NONE),                              /* Berserker */
2778         (CH_NONE),                              /* Weaponsmith */
2779         (CH_NONE),                              /* Mirror-master */
2780         (CH_NONE),                              /* Ninja */
2781         (CH_NONE),                              /* Sniper */
2782 };
2783
2784 /*!
2785  * 職業毎に選択可能な第二領域魔法テーブル
2786  */
2787 const s32b realm_choices2[MAX_CLASS] =
2788 {
2789         (CH_NONE),                              /* Warrior */
2790         (CH_LIFE | CH_SORCERY | CH_NATURE |
2791          CH_CHAOS | CH_DEATH | CH_TRUMP |
2792          CH_ARCANE | CH_ENCHANT | CH_DAEMON |
2793          CH_CRUSADE),                              /* Mage */
2794         (CH_LIFE | CH_SORCERY | CH_NATURE |
2795          CH_CHAOS | CH_DEATH | CH_TRUMP |
2796          CH_ARCANE | CH_ENCHANT | CH_DAEMON |
2797          CH_CRUSADE),                              /* Priest */
2798         (CH_NONE),                              /* Rogue */
2799         (CH_SORCERY | CH_CHAOS | CH_DEATH |
2800          CH_TRUMP | CH_ARCANE | CH_DAEMON),     /* Ranger */
2801         (CH_NONE),                              /* Paladin */
2802         (CH_LIFE | CH_NATURE | CH_CHAOS |
2803          CH_DEATH | CH_TRUMP | CH_ARCANE |
2804          CH_SORCERY | CH_ENCHANT | CH_DAEMON |
2805          CH_CRUSADE),                              /* Warrior-Mage */
2806         (CH_NONE),                              /* Chaos-Warrior */
2807         (CH_NONE),                              /* Monk */
2808         (CH_NONE),                              /* Mindcrafter */
2809         (CH_NONE),                              /* High-Mage */
2810         (CH_NONE),                              /* Tourist */
2811         (CH_NONE),                              /* Imitator */
2812         (CH_NONE),                              /* Beastmanster */
2813         (CH_NONE),                              /* Sorcerer */
2814         (CH_NONE),                              /* Archer */
2815         (CH_NONE),                              /* Magic eater */
2816         (CH_NONE),                              /* Bard */
2817         (CH_NONE),                              /* Red Mage */
2818         (CH_NONE),                              /* Samurai */
2819         (CH_NONE),                              /* ForceTrainer */
2820         (CH_NONE),                              /* Blue Mage */
2821         (CH_NONE),                              /* Cavalry */
2822         (CH_NONE),                              /* Berserker */
2823         (CH_NONE),                              /* Weaponsmith */
2824         (CH_NONE),                              /* Mirror-master */
2825         (CH_NONE),                              /* Ninja */
2826         (CH_NONE),                              /* Sniper */
2827 };
2828
2829
2830 #ifdef JP
2831 /*!
2832  * 領域魔法名称
2833  */
2834 const concptr realm_names[] =
2835 {
2836         "魔法なし",
2837         "生命",
2838         "仙術",
2839         "自然",
2840         "カオス",
2841         "暗黒",
2842         "トランプ",
2843         "秘術",
2844         "匠",
2845         "悪魔",
2846         "破邪",
2847         "不明",
2848         "不明",
2849         "不明",
2850         "不明",
2851         "不明",
2852         "歌",
2853         "武芸",
2854         "呪術",
2855         "不明"
2856 };
2857 #endif
2858
2859 #ifdef JP
2860 const concptr E_realm_names[]
2861 #else
2862 const concptr realm_names[]
2863 #endif
2864 = {
2865         "none",
2866         "Life",
2867         "Sorcery",
2868         "Nature",
2869         "Chaos",
2870         "Death",
2871         "Trump",
2872         "Arcane",
2873         "Craft",
2874         "Daemon",
2875         "Crusade",
2876         "unknown",
2877         "unknown",
2878         "unknown",
2879         "unknown",
2880         "unknown",
2881         "Music",
2882         "Kendo",
2883         "Hex",
2884         "unknown"
2885 };
2886
2887
2888 /*!
2889  * @brief 職業とレベル毎のプレイヤー称号テーブル / Class titles for the player.
2890  * <pre>
2891  * The player gets a new title every five levels, so each class
2892  * needs only ten titles total.
2893  * </pre>
2894  */
2895 #ifdef JP
2896 const concptr player_title[MAX_CLASS][PY_MAX_LEVEL / 5] =
2897 {
2898         /* Warrior */
2899         {
2900                 "新参兵",
2901                 "兵士",
2902                 "傭兵",
2903                 "古参兵",
2904                 "剣士",
2905                 "闘士",
2906                 "英雄",
2907                 "男爵",
2908                 "伯爵",
2909                 "君主",
2910         },
2911
2912         /* Mage */
2913         {
2914                                 /*"見習い",*/
2915                 "練習生",                 /*丁稚、練習生 */
2916                 "奇術師",               /*詐欺師、ペテン師 */
2917                 "幻術師",
2918                 "呪術師",
2919                 "召霊師",
2920                 "召魔師",
2921                 "魔術師",
2922                 "魔道師",
2923                 "イプシシマス",
2924                 "大魔道師",
2925         },
2926
2927         /* Priest */
2928         {
2929                 "信者",                 /*信徒 */
2930                 "侍僧",             /*教会奉仕者、見習い僧、伴僧、従者 */
2931                 "熟練僧",
2932                 "聖職者",                 /*聖職者 */
2933                 "伝道師",               /*司祭評議員、修道会会員 */
2934                 "牧師",               /*ラマ教の僧 */
2935                 "聖人",               /*大司教、総主教、総大司教 */
2936                 "祭司",                 /*祭司、司祭 */
2937                 "祭司長",               /*大祭司、祭司長 */
2938                 "教皇",
2939         },
2940
2941         /* Rogues */
2942         {
2943                 /* "ごろつき",*/                     /*ごろつき、風来坊、浮浪者 */
2944                 "すり",
2945                 "追いはぎ",                     /*追い剥ぎ、強盗、泥棒 */
2946                 "夜盗",                         /*強盗、夜盗、泥棒 */
2947                 "こそ泥",                       /*こそ泥、小泥棒 */
2948                 "ペテン師",                     /*博徒、ペテン師、詐欺師 */
2949                 "ロウシーフ",
2950                 "ハイシーフ",
2951                 "マスター", /* "マスターシーフ", */
2952                 "アサシン",                                         /* 暗殺者 */
2953                 "頭領", /*"ギルドマスター",*/
2954         },
2955
2956         /* Rangers */
2957         {
2958                 "使い走り",
2959                 "馳夫",
2960                 "斥候",                         /*斥候、見張り、偵察兵 */
2961                 "狩人",
2962                 "追跡者",
2963                 "先導者",
2964                 "探険者",                       /*開拓者、探険者 */
2965                 "野伏",
2966                 "野伏頭",
2967                 "野伏の総領",
2968         },
2969
2970         /* Paladins */
2971         {
2972                 "勇士",                 /*色男、愛人、しゃれ者、勇敢な人 */
2973                 "衛士",
2974                 "保護者",
2975                 "防衛者",
2976                 "護衛者",
2977                 "騎士",
2978                 "重騎士",
2979                 "聖騎士",
2980                 "上級聖騎士",
2981                 "聖騎士団長",
2982         },
2983
2984         /* Warrior-Mage */
2985         {
2986                 "見習い",
2987                 "徒弟",                       /*丁稚、練習生 */
2988                 "一人前",
2989                 "古参兵",
2990                 "魔術兵士",
2991                 "魔術闘士",
2992                 "魔術の英雄", /* Mage-Hero */
2993                 "魔男爵",
2994                 /* "魔公爵", */
2995                 "戦闘魔術士",
2996                 "知識の守護者", /* "ウィザードロード", */
2997         },
2998
2999         /* Chaos Warrior */
3000         {
3001                 "新参兵",
3002                 "兵士",
3003                 "傭兵",
3004                 "古参兵",
3005                 "剣士",
3006                 "闘士",
3007                 "混沌の英雄",
3008                 "混沌の男爵",
3009                 "混沌の公爵",
3010                 "混沌の王者",
3011         },
3012
3013         /* Monk */
3014         {
3015                 "入門者",
3016                 "弟子",
3017                 "直弟子",
3018                 "師範代",
3019                 "師範",
3020                 "道場主",
3021                 "名人",
3022                 "大名人",
3023                 "拳聖",
3024                 "拳神",
3025         },
3026
3027         /* Mindcrafter */
3028         {
3029                 "練習生",
3030                 "見習い",
3031                 "熟練士",
3032                 "熟達士",
3033                 "黙想士",
3034                 "心術士",
3035                 "サイキック",
3036                 "サイオニック",
3037                 "超能力者",
3038                 "精神の支配者", /* "マインドマスター", */
3039         },
3040
3041         /* High Mage; same as Mage */
3042         {
3043                                 /*"見習い",*/
3044                 "練習生",                 /*丁稚、練習生 */
3045                 "奇術師",               /*詐欺師、ペテン師 */
3046                 "幻術師",
3047                 "呪術師",
3048                 "召霊師",
3049                 "召魔師",
3050                 "魔術師",
3051                 "魔道師",
3052                 "イプシシマス",
3053                 "大魔道師",
3054         },
3055
3056         /* Tourist */
3057         {
3058                 "プー太郎",
3059                 "観光客",
3060                 "周遊旅行者",
3061                 "遍歴者",
3062                 "旅行者",
3063                 "放浪者", /* "旅人", */
3064                 "航海者",
3065                 "探検家",
3066                 "冒険家",
3067                 "スペランカー",
3068         },
3069
3070         /* Imitator */
3071         {
3072                 "これから",
3073                 "いまいち",
3074                 "まだまだ",
3075                 "ぼちぼち",
3076                 "そこそこ",
3077                 "まあまあ",
3078                 "なかなか",
3079                 "いけいけ",
3080                 "そうとう",
3081                 "えらい",
3082         },
3083
3084         /* Beastmaster */
3085         {
3086                 "イモリ使い",
3087                 "ヘビ使い",
3088                 "クモ使い",
3089                 "狼使い",
3090                 "トラ使い",
3091                 "甲虫使い",
3092                 "ヒドラ使い",
3093                 "ハウンド使い",
3094                 "ムーマク使い",
3095                 "ドラゴン使い",
3096         },
3097
3098         /* Sorcerer; same as Mage */
3099         {
3100                                 /*"見習い",*/
3101                 "練習生",                 /*丁稚、練習生 */
3102                 "奇術師",               /*詐欺師、ペテン師 */
3103                 "幻術師",
3104                 "呪術師",
3105                 "召霊師",
3106                 "召魔師",
3107                 "魔術師",
3108                 "魔道師",
3109                 "イプシシマス",
3110                 "大魔道師",
3111         },
3112
3113         /* Archer */
3114         {
3115                 "新参兵",
3116                 "兵士",
3117                 "傭兵",
3118                 "古参兵",
3119                 "剣士",
3120                 "闘士",
3121                 "英雄",
3122                 "男爵",
3123                 "伯爵",
3124                 "領主",
3125         },
3126
3127         /* Magic eater */
3128         {
3129                 "無知なる者",
3130                 "入門者",
3131                 "奇術師",
3132                 "秘術師",
3133                 "秘術師",
3134                 "熟練者",
3135                 "達人",
3136                 "達人",
3137                 "魔道師",
3138                 "全てを知る者",
3139         },
3140
3141         /* Bard */
3142         {
3143                 "見習い",    /*"Apprentice"*/
3144                 "作曲家",    /*"Songsmith"*/
3145                 "吟遊詩人", /*"Bard"*/
3146                 "コンパニオン",   /*"Companion"*/
3147                 "心の癒し手",      /*"Minstrel"*/
3148                 "竪琴師",    /*"Harper"*/
3149                 "伝承の紡ぎ手",   /*"Loreweaver"*/
3150                 "詩神の申し子",   /*"Muse"*/
3151                 "夢紡ぎ",    /*"Dreamweaver"*/
3152                 "マスター", /*"Master Harper"*/
3153         },
3154
3155         /* Red Mage; same as Warrior-Mage */
3156         {
3157                 "見習い",
3158                 "徒弟",                       /*丁稚、練習生 */
3159                 "一人前",
3160                 "古参兵",
3161                 "魔術兵士",
3162                 "魔術闘士",
3163                 "魔術の英雄", /* Mage-Hero */
3164                 "魔男爵",
3165                 /* "魔公爵", */
3166                 "戦闘魔術士",
3167                 "知識の守護者", /* "ウィザードロード", */
3168         },
3169
3170         /* Samurai */
3171         {
3172                 "入門者",
3173                 "弟子",
3174                 "直弟子",
3175                 "師範代",
3176                 "師範",
3177                 "道場主",
3178                 "名人",
3179                 "大名人",
3180                 "剣聖",
3181                 "剣神",
3182         },
3183
3184         /* ForceTrainer; same as Monk(?) */
3185         {
3186                 "入門者",
3187                 "弟子",
3188                 "直弟子",
3189                 "師範代",
3190                 "師範",
3191                 "道場主",
3192                 "名人",
3193                 "大名人",
3194                 "拳聖",
3195                 "拳神",
3196         },
3197
3198         /* Blue Mage; same as Mage */
3199         {
3200                                 /*"見習い",*/
3201                 "練習生",                 /*丁稚、練習生 */
3202                 "奇術師",               /*詐欺師、ペテン師 */
3203                 "幻術師",
3204                 "呪術師",
3205                 "召霊師",
3206                 "召魔師",
3207                 "魔術師",
3208                 "魔道師",
3209                 "イプシシマス",
3210                 "大魔道師",
3211         },
3212
3213         /* Cavalry */
3214         {
3215                 "新参兵",
3216                 "兵士",
3217                 "傭兵",
3218                 "古参兵",
3219                 "剣士",
3220                 "闘士",
3221                 "英雄",
3222                 "男爵",
3223                 "伯爵",
3224                 "領主",
3225         },
3226
3227         /* Berserker */
3228         {
3229                 "バーサーカー",
3230                 "バーサーカー",
3231                 "バーサーカー",
3232                 "怒りの公爵",
3233                 "怒りの公爵",
3234                 "怒りの公爵",
3235                 "怒りの王",
3236                 "怒りの王",
3237                 "怒りの王",
3238                 "怒りの化身",
3239         },
3240
3241         /* Weaponsmith */
3242         {
3243                 "銅を鍛えし者",
3244                 "鉄を鍛えし者",
3245                 "鋼を鍛えし者",
3246                 "銀を鍛えし者",
3247                 "竜を鍛えし者",
3248                 "霊を鍛えし者",
3249                 "魔を鍛えし者",
3250                 "魂を鍛えし者",
3251                 "神を鍛えし者",
3252                 "全を鍛えし者",
3253         },
3254
3255         /* Mirror Master */
3256         {
3257                 "鏡を見る人",
3258                 "鏡磨き",
3259                 "鏡職人",
3260                 "鏡術師",
3261                 "鏡導師",
3262                 "鏡の賢者",
3263                 "鏡の王",
3264                 "鏡の皇帝",
3265                 "鏡の化身",
3266                 "ラフノール王",
3267         },
3268         /* Ninja */
3269         {
3270                 "訓練生",
3271                 "仕手",
3272                 "熟達者",
3273                 "短刀使い",
3274                 "切り裂き",
3275                 "凄腕",
3276                 "漆黒の刃",
3277                 "闇の一撃",
3278                 "暗殺者",
3279                 "死の長き腕",
3280         },
3281
3282         /* Sniper */
3283         {
3284                 "新参兵",
3285                 "兵士",
3286                 "傭兵",
3287                 "古参兵",
3288                 "剣士",
3289                 "闘士",
3290                 "英雄",
3291                 "男爵",
3292                 "伯爵",
3293                 "領主",
3294         },
3295 };
3296
3297 #else
3298 const concptr player_title[MAX_CLASS][PY_MAX_LEVEL / 5] =
3299 {
3300         /* Warrior */
3301         {
3302                 "Rookie",
3303                 "Soldier",
3304                 "Mercenary",
3305                 "Veteran",
3306                 "Swordsman",
3307                 "Champion",
3308                 "Hero",
3309                 "Baron",
3310                 "Duke",
3311                 "Lord",
3312         },
3313
3314         /* Mage */
3315         {
3316                 "Apprentice",
3317                 "Trickster",
3318                 "Illusionist",
3319                 "Spellbinder",
3320                 "Evoker",
3321                 "Conjurer",
3322                 "Warlock",
3323                 "Sorcerer",
3324                 "Ipsissimus",
3325                 "Archimage",
3326         },
3327
3328         /* Priest */
3329         {
3330                 "Believer",
3331                 "Acolyte",
3332                 "Adept",
3333                 "Curate",
3334                 "Canon",
3335                 "Priest",
3336                 "High Priest",
3337                 "Cardinal",
3338                 "Inquisitor",
3339                 "Pope",
3340         },
3341
3342         /* Rogues */
3343         {
3344                 "Cutpurse",
3345                 "Robber",
3346                 "Burglar",
3347                 "Filcher",
3348                 "Sharper",
3349                 "Low Thief",
3350                 "High Thief",
3351                 "Master Thief",
3352                 "Assassin",
3353                 "Guildmaster",
3354         },
3355
3356         /* Rangers */
3357         {
3358                 "Runner",
3359                 "Strider",
3360                 "Scout",
3361                 "Courser",
3362                 "Tracker",
3363                 "Guide",
3364                 "Pathfinder",
3365                 "Low Ranger",
3366                 "High Ranger",
3367                 "Ranger Lord",
3368         },
3369
3370         /* Paladins */
3371         {
3372                 "Gallant",
3373                 "Keeper",
3374                 "Protector",
3375                 "Defender",
3376                 "Warder",
3377                 "Knight",
3378                 "Guardian",
3379                 "Low Paladin",
3380                 "High Paladin",
3381                 "Paladin Lord",
3382         },
3383
3384         /* Warrior-Mage */
3385         {
3386                 "Novice",
3387                 "Apprentice",
3388                 "Journeyman",
3389                 "Veteran",
3390                 "Enchanter",
3391                 "Champion",
3392                 "Mage-Hero",
3393                 "Baron Mage",
3394                 "Battlemage",
3395                 "Wizard Lord",
3396         },
3397
3398         /* Chaos Warrior */
3399         {
3400                 "Rookie",
3401                 "Soldier",
3402                 "Mercenary",
3403                 "Veteran",
3404                 "Swordsman",
3405                 "Champion",
3406                 "Chaos Hero",
3407                 "Chaos Baron",
3408                 "Chaos Duke",
3409                 "Chaos Lord",
3410         },
3411
3412         /* Monk */
3413         {
3414                 "Initiate",
3415                 "Brother",
3416                 "Disciple",
3417                 "Immaculate",
3418                 "Master",
3419                 "Soft Master",
3420                 "Hard Master",
3421                 "Flower Master",
3422                 "Dragon Master",
3423                 "Grand Master",
3424         },
3425
3426         /* Mindcrafter */
3427         {
3428                 "Trainee",
3429                 "Acolyte",
3430                 "Adept",
3431                 "Immaculate",
3432                 "Contemplator",
3433                 "Mentalist",
3434                 "Psychic",
3435                 "Psionicist",
3436                 "Esper",
3437                 "Mindmaster",
3438         },
3439
3440         /* High Mage; same as Mage */
3441         {
3442                 "Apprentice",
3443                 "Trickster",
3444                 "Illusionist",
3445                 "Spellbinder",
3446                 "Evoker",
3447                 "Conjurer",
3448                 "Warlock",
3449                 "Sorcerer",
3450                 "Ipsissimus",
3451                 "Archimage",
3452         },
3453
3454         /* Tourist */
3455         {
3456                 "Rambler",
3457                 "Sightseer",
3458                 "Excursionist",
3459                 "Peregrinator",
3460                 "Traveler",
3461                 "Journeyer",
3462                 "Voyager",
3463                 "Explorer",
3464                 "Adventurer",
3465                 "Spelunker",
3466         },
3467
3468         /* Imitator */
3469         {
3470                 "Yet",
3471                 "Lacks",
3472                 "Still more",
3473                 "So so",
3474                 "All right",
3475                 "Not bad",
3476                 "Considerable",
3477                 "Go go",
3478                 "Sizable",
3479                 "Great man",
3480         },
3481
3482         /* BeastMaster */
3483         {
3484                 "Newt Master",
3485                 "Snake Master",
3486                 "Spider Master",
3487                 "Wolf Master",
3488                 "Tiger Master",
3489                 "Beetle Master",
3490                 "Hydra Master",
3491                 "Hound Master",
3492                 "Mumak Master",
3493                 "Dragon Master",
3494         },
3495
3496         /* Sorcerer */
3497         {
3498                 "Apprentice",
3499                 "Trickster",
3500                 "Illusionist",
3501                 "Spellbinder",
3502                 "Evoker",
3503                 "Conjurer",
3504                 "Warlock",
3505                 "Sorcerer",
3506                 "Ipsissimus",
3507                 "Archimage",
3508         },
3509
3510         /* Archer */
3511         {
3512                 "Rookie",
3513                 "Soldier",
3514                 "Mercenary",
3515                 "Veteran",
3516                 "Bowman",
3517                 "Champion",
3518                 "Hero",
3519                 "Baron",
3520                 "Duke",
3521                 "Lord",
3522         },
3523
3524         /* Magic eater */
3525         {
3526                 "Apprentice",
3527                 "Beginner",
3528                 "Jagguler",
3529                 "Skilled",
3530                 "Conjurer",
3531                 "Magician",
3532                 "Master",
3533                 "Master",
3534                 "Wizard",
3535                 "Almighty",
3536         },
3537
3538         /* Bard */
3539         {
3540                 "Apprentice",   /*"Apprentice"*/
3541                 "Songsmith",    /*"Songsmith"*/
3542                 "Bard", /*"Bard"*/
3543                 "Companion",    /*"Companion"*/
3544                 "Minstrel",     /*"Minstrel"*/
3545                 "Harper",       /*"Harper"*/
3546                 "Loreweaver",   /*"Loreweaver"*/
3547                 "Muse", /*"Muse"*/
3548                 "Dreamweaver",  /*"Dreamweaver"*/
3549                 "Master Harper",        /*"Master Harper"*/
3550         },
3551
3552         /* Red Mage */
3553         {
3554                 "Novice",
3555                 "Apprentice",
3556                 "Journeyman",
3557                 "Veteran",
3558                 "Enchanter",
3559                 "Champion",
3560                 "Mage-Hero",
3561                 "Baron Mage",
3562                 "Battlemage",
3563                 "Wizard Lord",
3564         },
3565
3566         /* Samurai */
3567         {
3568                 "Initiate",
3569                 "Brother",
3570                 "Disciple",
3571                 "Immaculate",
3572                 "Master",
3573                 "Soft Master",
3574                 "Hard Master",
3575                 "Flower Master",
3576                 "Dragon Master",
3577                 "Grand Master",
3578         },
3579
3580         /* ForceTrainer */
3581         {
3582                 "Initiate",
3583                 "Brother",
3584                 "Disciple",
3585                 "Immaculate",
3586                 "Master",
3587                 "Soft Master",
3588                 "Hard Master",
3589                 "Flower Master",
3590                 "Dragon Master",
3591                 "Grand Master",
3592         },
3593
3594         /* Blue Mage */
3595         {
3596                 "Apprentice",
3597                 "Trickster",
3598                 "Illusionist",
3599                 "Spellbinder",
3600                 "Evoker",
3601                 "Conjurer",
3602                 "Warlock",
3603                 "Sorcerer",
3604                 "Ipsissimus",
3605                 "Archimage",
3606         },
3607
3608         /* Warrior */
3609         {
3610                 "Rookie",
3611                 "Soldier",
3612                 "Mercenary",
3613                 "Veteran",
3614                 "Swordsman",
3615                 "Champion",
3616                 "Hero",
3617                 "Baron",
3618                 "Duke",
3619                 "Lord",
3620         },
3621
3622         /* Berserker */
3623         {
3624                     "Berserker",
3625                     "Berserker",
3626                     "Berserker",
3627                     "Rage Prince",
3628                     "Rage Prince",
3629                     "Rage Prince",
3630                     "Rage King",
3631                     "Rage King",
3632                     "Rage King",
3633                     "God of Rage",
3634         },
3635
3636         /* Weaponsmith */
3637         {
3638                 "Copper smith",
3639                 "Iron smith",
3640                 "Steel smith",
3641                 "Silver smith",
3642                 "Dragon smith",
3643                 "Spirit smith",
3644                 "Magic smith",
3645                 "Soul smith",
3646                 "God smith",
3647                 "AlmightySmith",
3648         },
3649
3650         /* Mirror Master */
3651         {
3652                 "Mirrorstarer",
3653                 "Mirrorcleaner",
3654                 "Mirrormaker",
3655                 "Mirrormagician",
3656                 "Mirror Guru",
3657                 "Mirror Mage",
3658                 "Mirror King",
3659                 "Mirror Emperor",
3660                 "Mirror Avatar",
3661                 "Ruffnor King",
3662         },
3663
3664         /* Ninja */
3665         {
3666                 "Trainee",
3667                 "Myrmidon",
3668                 "Initiate",
3669                 "Knifer",
3670                 "Bladesman",
3671                 "Hashishin",
3672                 "Black Dagger",
3673                 "Shadowstrike",
3674                 "Assassinator",
3675                 "Death Lord",
3676         },
3677
3678         /* Sniper */
3679         {
3680                 "Rookie",
3681                 "Soldier",
3682                 "Mercenary",
3683                 "Veteran",
3684                 "Swordsman",
3685                 "Champion",
3686                 "Hero",
3687                 "Baron",
3688                 "Duke",
3689                 "Lord",
3690         },
3691 };
3692 #endif
3693
3694 /*!
3695  * @brief 青魔法テーブル
3696  * @details
3697  * level,  smana,  %fail,  manedam,  %manefail,  use_stat, name
3698  */
3699 const monster_power monster_powers[MAX_MONSPELLS] =
3700 {
3701 #ifdef JP
3702 {  1,   1,  10,    0,  15, A_CON,  "叫ぶ"},
3703 { 10,   4,  35,   89,  40, A_INT,  "何か"},
3704 { 40,  35,  85,    0,  40, A_INT,  "魔力消去"},
3705 { 35,  30,  80,  800,  70, A_STR,  "ロケット"},
3706 {  5,   1,  20,   18,  15, A_DEX,  "射撃"},
3707 { 10,   4,  35,   89,  40, A_INT,  "何か"},
3708 { 10,   4,  35,   89,  40, A_INT,  "何か"},
3709 { 10,   4,  35,   89,  40, A_INT,  "何か"},
3710 { 20,  15,  55, 1600,  95, A_CON,  "酸のブレス"},
3711 { 20,  15,  55, 1600,  95, A_CON,  "電撃のブレス"},
3712 { 20,  15,  55, 1600,  95, A_CON,  "炎のブレス"},
3713 { 20,  15,  55, 1600,  95, A_CON,  "冷気のブレス"},
3714 { 20,  15,  55,  800,  95, A_CON,  "毒のブレス"},
3715 { 20,  15,  70,  550,  95, A_CON,  "地獄のブレス"},
3716 { 20,  16,  70,  400,  95, A_CON,  "閃光のブレス"},
3717 { 20,  16,  70,  400,  95, A_CON,  "暗黒のブレス"},
3718 { 20,  20,  70,  450,  95, A_CON,  "混乱のブレス"},
3719 { 20,  20,  70,  450,  95, A_CON,  "轟音のブレス"},
3720 { 20,  20,  70,  600,  95, A_CON,  "カオスのブレス"},
3721 { 20,  16,  70,  500,  95, A_CON,  "劣化のブレス"},
3722 { 30,  25,  80,  250,  95, A_CON,  "因果混乱のブレス"},
3723 { 35,  18,  80,  150,  95, A_CON,  "時間逆転のブレス"},
3724 { 30,  25,  80,  200,  95, A_CON,  "遅鈍のブレス"},
3725 { 30,  28,  90,  200,  95, A_CON,  "重力のブレス"},
3726 { 20,  15,  70,  500,  95, A_CON,  "破片のブレス"},
3727 { 35,  15,  80,  150,  95, A_CON,  "プラズマのブレス"},
3728 { 30,  18,  70,  200,  95, A_CON,  "フォースのブレス"},
3729 { 30,  28,  80,  250,  95, A_CON,  "魔力のブレス"},
3730 { 25,  20,  95,  320,  80, A_INT,  "放射能球"},
3731 { 25,  15,  70,  800,  95, A_CON,  "放射性廃棄物のブレス"},
3732 { 30,  32,  85,  400,  80, A_INT,  "純ログルス"},
3733 { 35,  40,  95,  150,  95, A_CON,  "分解のブレス"},
3734 { 18,  13,  55,  630,  80, A_INT,  "アシッド・ボール"},
3735 { 14,  10,  45,  316,  60, A_INT,  "サンダー・ボール"},
3736 { 20,  14,  60,  720,  80, A_INT,  "ファイア・ボール"},
3737 { 15,  11,  50,  320,  60, A_INT,  "アイス・ボール"},
3738 {  5,   3,  40,   48,  20, A_INT,  "悪臭雲"},
3739 { 25,  18,  70,  350,  80, A_INT,  "地獄球"},
3740 { 30,  22,  75,  350,  80, A_INT,  "ウォーター・ボール"},
3741 { 44,  45,  85,  550,  95, A_INT,  "魔力の嵐"},
3742 { 40,  42,  90,  550,  95, A_INT,  "暗黒の嵐"},
3743 { 10,   5,  50,    0,  25, A_INT,  "魔力吸収"},
3744 { 25,  10,  60,    0,  30, A_INT,  "精神攻撃"},
3745 { 30,  14,  65,    0,  30, A_INT,  "脳攻撃"},
3746 {  3,   1,  25,   24,  20, A_INT,  "軽傷"},
3747 { 12,   2,  35,   64,  25, A_INT,  "重傷"},
3748 { 22,   6,  50,  150,  30, A_INT,  "致命傷"},
3749 { 32,  10,  70,  225,  35, A_INT,  "秘孔を突く"},
3750 { 13,   7,  40,  178,  40, A_INT,  "アシッド・ボルト"},
3751 { 10,   5,  35,  130,  35, A_INT,  "サンダー・ボルト"},
3752 { 15,   9,  50,  210,  45, A_INT,  "ファイア・ボルト"},
3753 { 12,   6,  35,  162,  40, A_INT,  "アイス・ボルト"},
3754 { 40,  42,  90,  550,  95, A_INT,  "スター・バースト"},
3755 { 25,  17,  60,  255,  60, A_INT,  "地獄の矢"},
3756 { 25,  20,  65,  250,  60, A_INT,  "ウォーター・ボルト"},
3757 { 25,  24,  90,  400,  80, A_INT,  "魔力の矢"},
3758 { 25,  20,  80,  216,  60, A_INT,  "プラズマ・ボルト"},
3759 { 25,  16,  60,  186,  60, A_INT,  "極寒の矢"},
3760 {  3,   1,  25,   12,  20, A_INT,  "マジック・ミサイル"},
3761 {  5,   3,  35,    0,  20, A_INT,  "恐慌"},
3762 { 10,   5,  40,    0,  20, A_INT,  "盲目"},
3763 { 10,   5,  40,    0,  20, A_INT,  "パニック・モンスター"},
3764 { 10,   5,  40,    0,  20, A_INT,  "スロウ・モンスター"},
3765 { 10,   5,  40,    0,  20, A_INT,  "スリープ・モンスター"},
3766 { 20,  10,  70,    0,  40, A_INT,  "スピード"},
3767 { 45, 120,  95,    0,  60, A_INT,  "破滅の手"},
3768 { 20,  15,  70,    0,  20, A_WIS,  "体力回復"},
3769 { 45,  65,  80,    0,  60, A_INT,  "無傷の球"},
3770 {  5,   1,  30,    0,  20, A_INT,  "ショート・テレポート"},
3771 { 15,   8,  40,    0,  30, A_INT,  "テレポート"},
3772 { 40, 999,  99,    0,  80, A_INT,  "ザ・ワールド"},
3773 {  1,   0,   0,    0,  15, A_INT,  "何か"},
3774 { 15,   8,  50,    0,  30, A_INT,  "引きよせる"},
3775 { 20,  13,  80,    0,  30, A_INT,  "テレポート・アウェイ"},
3776 { 30,  40,  95,    0,  40, A_INT,  "テレポート・レベル"},
3777 { 35,  30,  80,  350,  70, A_INT,  "光の剣"},
3778 {  5,   1,  20,    0,  15, A_INT,  "暗闇"},
3779 {  5,   1,  20,    0,  15, A_DEX,  "トラップ創造"},
3780 { 15,   3,  40,    0,  30, A_INT,  "記憶喪失"},
3781 { 30,  30,  70,    0,  40, A_INT,  "死者復活"},
3782 { 40,  70,  85,    0,  45, A_INT,  "援軍を呼ぶ"},
3783 { 45,  90,  90,    0,  50, A_INT,  "サイバーデーモンの召喚"},
3784 { 25,  20,  65,    0,  30, A_INT,  "モンスターの召喚"},
3785 { 35,  30,  75,    0,  40, A_INT,  "複数のモンスターの召喚"},
3786 { 25,  25,  65,    0,  25, A_INT,  "アリの召喚"},
3787 { 25,  20,  60,    0,  25, A_INT,  "蜘蛛の召喚"},
3788 { 35,  26,  75,    0,  40, A_INT,  "ハウンドの召喚"},
3789 { 30,  23,  70,    0,  35, A_INT,  "ヒドラの召喚"},
3790 { 40,  50,  85,    0,  40, A_INT,  "天使の召喚"},
3791 { 35,  50,  80,    0,  35, A_INT,  "デーモンの召喚"},
3792 { 30,  30,  75,    0,  35, A_INT,  "アンデッドの召喚"},
3793 { 39,  70,  80,    0,  40, A_INT,  "ドラゴンの召喚"},
3794 { 43,  85,  85,    0,  45, A_INT,  "上級アンデッドの召喚"},
3795 { 46,  90,  85,    0,  45, A_INT,  "古代ドラゴンの召喚"},
3796 { 48, 120,  90,    0,  50, A_INT,  "アンバーの王族の召喚"},
3797 { 50, 150,  95,    0,  50, A_INT,  "ユニークモンスターの召喚"},
3798 #else
3799 {  1,   1,  10,    0,  15, A_CON,  "shriek"},
3800 { 10,   4,  35,   89,  40, A_INT,  "something"},
3801 { 40,  35,  85,    0,  40, A_INT,  "dispel-magic"},
3802 { 35,  30,  80,  800,  70, A_STR,  "rocket"},
3803 {  2,   1,  15,   10,  15, A_DEX,  "arrow"},
3804 {  5,   2,  20,   18,  20, A_DEX,  "arrows"},
3805 { 12,   3,  25,   30,  25, A_DEX,  "missile"},
3806 { 16,   4,  30,   42,  30, A_DEX,  "missiles"},
3807 { 20,  15,  55, 1600,  95, A_CON,  "breath acid"},
3808 { 20,  15,  55, 1600,  95, A_CON,  "breath lightning"},
3809 { 20,  15,  55, 1600,  95, A_CON,  "breath fire"},
3810 { 20,  15,  55, 1600,  95, A_CON,  "breath cold"},
3811 { 20,  15,  55,  800,  95, A_CON,  "breath poison"},
3812 { 20,  15,  70,  550,  95, A_CON,  "breath nether"},
3813 { 20,  16,  70,  400,  95, A_CON,  "breath light"},
3814 { 20,  16,  70,  400,  95, A_CON,  "breath dark"},
3815 { 20,  20,  70,  450,  95, A_CON,  "breath confusion"},
3816 { 20,  20,  70,  450,  95, A_CON,  "breath sound"},
3817 { 20,  20,  70,  600,  95, A_CON,  "breath chaos"},
3818 { 20,  16,  70,  500,  95, A_CON,  "breath disenchantment"},
3819 { 30,  25,  80,  250,  95, A_CON,  "breath nexus"},
3820 { 35,  18,  80,  150,  95, A_CON,  "breath time"},
3821 { 30,  25,  80,  200,  95, A_CON,  "breath inertia"},
3822 { 30,  28,  90,  200,  95, A_CON,  "breath gravity"},
3823 { 20,  15,  70,  500,  95, A_CON,  "breath shards"},
3824 { 35,  15,  80,  150,  95, A_CON,  "breath plasma"},
3825 { 30,  18,  70,  200,  95, A_CON,  "breath force"},
3826 { 30,  28,  80,  250,  95, A_CON,  "breath mana"},
3827 { 25,  20,  95,  320,  80, A_INT,  "nuke ball"},
3828 { 25,  15,  70,  800,  95, A_CON,  "breath nuke"},
3829 { 30,  32,  85,  400,  80, A_INT,  "raw Logrus"},
3830 { 35,  40,  95,  150,  95, A_CON,  "breath disintegrate"},
3831 { 18,  13,  55,  630,  80, A_INT,  "acid ball"},
3832 { 14,  10,  45,  316,  60, A_INT,  "lightning ball"},
3833 { 20,  14,  60,  720,  80, A_INT,  "fire ball"},
3834 { 15,  11,  50,  320,  60, A_INT,  "frost ball"},
3835 {  5,   3,  40,   48,  20, A_INT,  "stinking cloud"},
3836 { 25,  18,  70,  350,  80, A_INT,  "nether ball"},
3837 { 30,  22,  75,  350,  80, A_INT,  "water ball"},
3838 { 44,  45,  85,  550,  95, A_INT,  "mana storm"},
3839 { 40,  42,  90,  550,  95, A_INT,  "darkness storm"},
3840 { 10,   5,  50,    0,  25, A_INT,  "drain mana"},
3841 { 25,  10,  60,    0,  30, A_INT,  "mind blast"},
3842 { 30,  14,  65,    0,  30, A_INT,  "brain smash"},
3843 {  3,   1,  25,   24,  20, A_INT,  "cause light wounds"},
3844 { 12,   2,  35,   64,  25, A_INT,  "cause serious wounds"},
3845 { 22,   6,  50,  150,  30, A_INT,  "cause critical wounds"},
3846 { 32,  10,  70,  225,  35, A_INT,  "cause mortal wounds"},
3847 { 13,   7,  40,  178,  40, A_INT,  "acid bolt"},
3848 { 10,   5,  35,  130,  35, A_INT,  "lightning bolt"},
3849 { 15,   9,  50,  210,  45, A_INT,  "fire bolt"},
3850 { 12,   6,  35,  162,  40, A_INT,  "frost bolt"},
3851 { 40,  42,  90,  550,  95, A_INT,  "starburst"},
3852 { 25,  17,  60,  255,  60, A_INT,  "nether bolt"},
3853 { 25,  20,  65,  250,  60, A_INT,  "water bolt"},
3854 { 25,  24,  90,  400,  80, A_INT,  "mana bolt"},
3855 { 25,  20,  80,  216,  60, A_INT,  "plasma bolt"},
3856 { 25,  16,  60,  186,  60, A_INT,  "ice bolt"},
3857 {  3,   1,  25,   12,  20, A_INT,  "magic missile"},
3858 {  5,   3,  35,    0,  20, A_INT,  "scare"},
3859 { 10,   5,  40,    0,  20, A_INT,  "blind"},
3860 { 10,   5,  40,    0,  20, A_INT,  "confuse"},
3861 { 10,   5,  40,    0,  20, A_INT,  "slow"},
3862 { 10,   5,  40,    0,  20, A_INT,  "sleep"},
3863 { 20,  10,  70,    0,  40, A_INT,  "speed"},
3864 { 45, 120,  95,    0,  60, A_INT,  "the Hand of Doom"},
3865 { 20,  15,  70,    0,  20, A_WIS,  "heal-self"},
3866 { 45,  65,  80,    0,  60, A_INT,  "make invulnerable"},
3867 {  5,   1,  30,    0,  20, A_INT,  "blink-self"},
3868 { 15,   8,  40,    0,  30, A_INT,  "teleport-self"},
3869 { 40, 999,  99,    0,  80, A_INT,  "The world"},
3870 {  1,   0,   0,    0,  15, A_INT,  "something"},
3871 { 15,   8,  50,    0,  30, A_INT,  "teleport to"},
3872 { 20,  13,  80,    0,  30, A_INT,  "teleport away"},
3873 { 30,  40,  95,    0,  40, A_INT,  "teleport level"},
3874 { 35,  30,  80,  350,  70, A_INT,  "psycho-spear"},
3875 {  5,   1,  20,    0,  15, A_INT,  "create darkness"},
3876 {  5,   1,  20,    0,  15, A_DEX,  "create traps"},
3877 { 15,   3,  40,    0,  30, A_INT,  "cause amnesia"},
3878 { 30,  30,  70,    0,  40, A_INT,  "raise dead"},
3879 { 40,  70,  85,    0,  45, A_INT,  "summon aid"},
3880 { 45,  90,  90,    0,  50, A_INT,  "summon Cyberdemons"},
3881 { 25,  20,  65,    0,  30, A_INT,  "summon a monster"},
3882 { 35,  30,  75,    0,  40, A_INT,  "summon monsters"},
3883 { 25,  25,  65,    0,  25, A_INT,  "summon ants"},
3884 { 25,  20,  60,    0,  25, A_INT,  "summon spiders"},
3885 { 35,  26,  75,    0,  40, A_INT,  "summon hounds"},
3886 { 30,  23,  70,    0,  35, A_INT,  "summon hydras"},
3887 { 40,  50,  85,    0,  40, A_INT,  "summon an angel"},
3888 { 35,  50,  80,    0,  35, A_INT,  "summon a daemon"},
3889 { 30,  30,  75,    0,  35, A_INT,  "summon an undead"},
3890 { 39,  70,  80,    0,  40, A_INT,  "summon a dragon"},
3891 { 43,  85,  85,    0,  45, A_INT,  "summon Greater Undead"},
3892 { 46,  90,  85,    0,  45, A_INT,  "summon Ancient Dragon"},
3893 { 48, 120,  90,    0,  50, A_INT,  "summon Lords of Amber"},
3894 { 50, 150,  95,    0,  50, A_INT,  "summon Unique Monsters"},
3895 #endif
3896
3897 };
3898
3899 /*!
3900  * @brief モンスター魔法名テーブル
3901  */
3902 const concptr monster_powers_short[MAX_MONSPELLS] = {
3903 #ifdef JP
3904
3905         "叫ぶ", "何か", "魔力消去", "ロケット", "射撃", "何か", "何か", "何か",
3906         "酸", "電撃", "火炎", "冷気", "毒", "地獄", "閃光", "暗黒",
3907         "混乱", "轟音", "カオス", "劣化", "因果混乱", "時間逆転", "遅鈍", "重力",
3908         "破片", "プラズマ", "フォース", "魔力", "放射能球", "放射性廃棄物", "純ログルス", "分解",
3909
3910         "酸", "電撃", "火炎", "冷気", "悪臭雲", "地獄球", "ウォーター", "魔力の嵐",
3911         "暗黒の嵐", "魔力吸収", "精神攻撃", "脳攻撃", "軽傷", "重傷", "致命傷", "秘孔を突く",
3912         "酸", "電撃", "火炎", "冷気", "スターバースト", "地獄の矢", "ウォーター", "魔力の矢",
3913         "プラズマ", "極寒", "マジックミサイル", "恐慌", "盲目", "混乱", "減速", "睡眠",
3914
3915         "加速", "破滅の手", "体力回復", "無傷の球", "ショートテレポート", "テレポート", "時を止める", "何か",
3916         "引きよせる", "テレポートアウェイ", "テレポートレベル", "光の剣", "暗闇", "トラップ創造", "記憶喪失", "死者復活",
3917         "援軍", "サイバーデーモン", "モンスター", "複数のモンスター", "蟻", "蜘蛛", "ハウンド", "ヒドラ",
3918         "天使", "悪魔", "アンデッド", "ドラゴン", "上級アンデッド", "古代ドラゴン", "アンバーの王族", "ユニーク"
3919
3920 #else
3921
3922         "Shriek", "Something", "Dispel-magic", "Rocket", "Arrow", "Arrows", "Missile", "Missiles",
3923         "Acid", "Lightning", "Fire", "Cold", "Poison", "Nether", "Light", "Dark",
3924         "Confusion", "Sound", "Chaos", "Disenchantment", "Nexus", "Time", "Inertia", "Gravity",
3925         "Shards", "Plasma", "Force", "Mana", "Nuke", "Nuke", "Logrus", "Disintergrate",
3926
3927         "Acid", "Lightning", "Fire", "Frost", "Stinking Cloud", "Nether", "Water", "Mana storm",
3928         "Darkness storm", "Drain mana", "Mind blast", "Brain smash", "Cause Light Wound", "Cause Serious Wound", "Cause Critical Wound", "Cause Mortal Wound",
3929         "Acid", "Lightning", "Fire", "Frost", "Starburst", "Nether", "Water", "Mana",
3930         "Plasm", "Ice", "Magic missile", "Scare", "Blind", "Confuse", "Slow", "Sleep",
3931
3932         "Speed", "Hand of doom", "Heal-self", "Invulnerable", "Blink", "Teleport", "The world", "Something",
3933         "Teleport to", "Teleport away", "Teleport level", "Psycho-spear", "Create darkness", "Create traps", "Amnesia", "Raise dead",
3934         "Aid", "Cyberdeamons", "A monster", "Monsters", "Ants", "Spiders", "Hounds", "Hydras",
3935         "Angel", "Daemon", "Undead", "Dragon", "Greater Undead", "Ancient Dragon", "Lords of Amber", "Unique monsters"
3936
3937 #endif
3938 };
3939
3940
3941 /*!
3942  * @brief 色名称テーブル / Hack -- the "basic" color names (see "TERM_xxx")
3943  */
3944 const concptr color_names[16] =
3945 {
3946 #ifdef JP
3947         "黒",
3948         "白",
3949         "青灰色",
3950         "オレンジ",
3951         "赤",
3952         "緑",
3953         "青",
3954         "琥珀色",
3955         "灰色",
3956         "明青灰色",
3957         "紫",
3958         "黄",
3959         "明るい赤",
3960         "明るい緑",
3961         "明るい青",
3962         "明琥珀色",
3963 #else
3964         "Dark",
3965         "White",
3966         "Slate",
3967         "Orange",
3968         "Red",
3969         "Green",
3970         "Blue",
3971         "Umber",
3972         "Light Dark",
3973         "Light Slate",
3974         "Violet",
3975         "Yellow",
3976         "Light Red",
3977         "Light Green",
3978         "Light Blue",
3979         "Light Umber",
3980 #endif
3981
3982 };
3983
3984
3985 /*!
3986  * @brief 能力値テーブル / Abbreviations of healthy stats
3987  */
3988 const concptr stat_names[6] =
3989 {
3990 #ifdef JP
3991         "腕力 :", "知能 :", "賢さ :", "器用 :", "耐久 :", "魅力 :"
3992 #else
3993         "STR : ", "INT : ", "WIS : ", "DEX : ", "CON : ", "CHR : "
3994 #endif
3995
3996 };
3997
3998 /*!
3999  * @brief 能力値テーブル(能力低下時) / Abbreviations of damaged stats
4000  */
4001 const concptr stat_names_reduced[6] =
4002 {
4003 #ifdef JP
4004         "腕力x:", "知能x:", "賢さx:", "器用x:", "耐久x:", "魅力x:"
4005 #else
4006         "Str : ", "Int : ", "Wis : ", "Dex : ", "Con : ", "Chr : "
4007 #endif
4008
4009 };
4010
4011
4012 /*!
4013  * @brief サブウィンドウ名称テーブル
4014  * @details
4015  * <pre>
4016  * Certain "screens" always use the main screen, including News, Birth,
4017  * Dungeon, Tomb-stone, High-scores, Macros, Colors, Visuals, Options.
4018  *
4019  * Later, special flags may allow sub-windows to "steal" stuff from the
4020  * main window, including File dump (help), File dump (artifacts, uniques),
4021  * Character screen, Small scale map, Previous Messages, Store screen, etc.
4022  *
4023  * The "ctrl-i" (tab) command flips the "Display inven/equip" and "Display
4024  * equip/inven" flags for all windows.
4025  *
4026  * The "ctrl-g" command (or pseudo-command) should perhaps grab a snapshot
4027  * of the main screen into any interested windows.
4028  * </pre>
4029  */
4030 const concptr window_flag_desc[32] =
4031 {
4032         _("持ち物/装備一覧", "Display inven/equip"),
4033         _("装備/持ち物一覧", "Display equip/inven"),
4034         _("呪文一覧", "Display spell list"),
4035         _("キャラクタ情報", "Display character"),
4036         _("視界内のモンスター表示", "Display monsters in sight"),
4037         NULL,
4038         _("メッセージ", "Display messages"),
4039         _("ダンジョン全体図", "Display overhead view"),
4040         _("モンスターの思い出", "Display monster recall"),
4041         _("アイテムの詳細", "Display object recall"),
4042         _("自分の周囲を表示", "Display dungeon view"),
4043         _("記念撮影", "Display snap-shot"),
4044         NULL,
4045         NULL,
4046         _("ボーグ・メッセージ", "Display borg messages"),
4047         _("ボーグ・ステータス", "Display borg status"),
4048         NULL,
4049         NULL,
4050         NULL,
4051         NULL,
4052         NULL,
4053         NULL,
4054         NULL,
4055         NULL,
4056         NULL,
4057         NULL,
4058         NULL,
4059         NULL,
4060         NULL,
4061         NULL,
4062         NULL,
4063         NULL
4064 };
4065
4066
4067
4068 /*!
4069  * @brief マーシャルアーツ打撃テーブル
4070  */
4071 const martial_arts ma_blows[MAX_MA] =
4072 {
4073 #ifdef JP
4074         { "%sを殴った。",                          1, 0, 1, 5, 0 },
4075         { "%sを蹴った。",                           2, 0, 1, 7, 0 },
4076         { "%sに正拳突きをくらわした。",                         3, 0, 1, 9, 0 },
4077         { "%sに膝蹴りをくらわした。",             5, 5, 2, 4, MA_KNEE },
4078         { "%sに肘打ちをくらわした。",            7, 5, 1, 12, 0 },
4079         { "%sに体当りした。",                           9, 10, 2, 6, 0 },
4080         { "%sを蹴った。",                           11, 10, 3, 6, MA_SLOW },
4081         { "%sにアッパーをくらわした。",                       13, 12, 5, 5, 6 },
4082         { "%sに二段蹴りをくらわした。",                    16, 15, 5, 6, 8 },
4083         { "%sに猫爪撃をくらわした。",          20, 20, 5, 8, 0 },
4084         { "%sに跳空脚をくらわした。",           24, 25, 6, 8, 10 },
4085         { "%sに鷲爪襲をくらわした。",       28, 25, 7, 9, 0 },
4086         { "%sに回し蹴りをくらわした。",         32, 30, 8, 10, 10 },
4087         { "%sに鉄拳撃をくらわした。",          35, 35, 8, 11, 10 },
4088         { "%sに飛空脚をくらわした。",         39, 35, 8, 12, 12 },
4089         { "%sに昇龍拳をくらわした。",         43, 35, 9, 12, 16 },
4090         { "%sに石破天驚拳をくらわした。",       48, 40, 10, 13, 18 },
4091 #else
4092         { "You punch %s.",                          1, 0, 1, 4, 0 },
4093         { "You kick %s.",                           2, 0, 1, 6, 0 },
4094         { "You strike %s.",                         3, 0, 1, 7, 0 },
4095         { "You hit %s with your knee.",             5, 5, 2, 3, MA_KNEE },
4096         { "You hit %s with your elbow.",            7, 5, 1, 8, 0 },
4097         { "You butt %s.",                           9, 10, 2, 5, 0 },
4098         { "You kick %s.",                           11, 10, 3, 4, MA_SLOW },
4099         { "You uppercut %s.",                       13, 12, 4, 4, 6 },
4100         { "You double-kick %s.",                    16, 15, 5, 4, 8 },
4101         { "You hit %s with a Cat's Claw.",          20, 20, 5, 5, 0 },
4102         { "You hit %s with a jump kick.",           25, 25, 5, 6, 10 },
4103         { "You hit %s with an Eagle's Claw.",       29, 25, 6, 6, 0 },
4104         { "You hit %s with a circle kick.",         33, 30, 6, 8, 10 },
4105         { "You hit %s with an Iron Fist.",          37, 35, 8, 8, 10 },
4106         { "You hit %s with a flying kick.",         41, 35, 8, 10, 12 },
4107         { "You hit %s with a Dragon Fist.",         45, 35, 10, 10, 16 },
4108         { "You hit %s with a Crushing Blow.",       48, 35, 10, 12, 18 },
4109 #endif
4110
4111 };
4112
4113 /*!
4114  * @brief 修行僧のターンダメージ算出テーブル
4115  */
4116 const int monk_ave_damage[PY_MAX_LEVEL+1][3] =
4117 {
4118   {0, 0, 0},
4119   {249, 249, 249},
4120   {324, 324, 324},
4121   {382, 438, 382},
4122   {382, 439, 382},
4123   {390, 446, 390},
4124   {394, 473, 394},
4125   {425, 528, 425},
4126   {430, 535, 430},
4127   {505, 560, 435},
4128   {517, 575, 444},
4129   {566, 655, 474},
4130   {585, 713, 486},
4131   {653, 843, 527},
4132   {678, 890, 544},
4133   {703, 973, 558},
4134   {765, 1096, 596},
4135   {914, 1146, 614},
4136   {943, 1240, 629},
4137   {971, 1276, 643},
4138   {1018, 1350, 667},
4139   {1063, 1464, 688},
4140   {1099, 1515, 705},
4141   {1128, 1559, 721},
4142   {1153, 1640, 735},
4143   {1336, 1720, 757},
4144   {1387, 1789, 778},
4145   {1430, 1893, 794},
4146   {1610, 2199, 863},
4147   {1666, 2280, 885},
4148   {1713, 2401, 908},
4149   {1755, 2465, 925},
4150   {1909, 2730, 984},
4151   {2156, 2891, 1009},
4152   {2218, 2970, 1031},
4153   {2319, 3107, 1063},
4154   {2404, 3290, 1098},
4155   {2477, 3389, 1125},
4156   {2544, 3483, 1150},
4157   {2771, 3899, 1228},
4158   {2844, 3982, 1259},
4159   {3129, 4064, 1287},
4160   {3200, 4190, 1313},
4161   {3554, 4674, 1432},
4162   {3614, 4738, 1463},
4163   {3679, 4853, 1485},
4164   {3741, 4905, 1512},
4165   {3785, 4943, 1538},
4166   {4141, 5532, 1652},
4167   {4442, 5581, 1679},
4168   {4486, 5636, 1702},
4169 };
4170
4171 /*!
4172  * @brief アイテムの価値記述テーブル /
4173  * Table of game-generated inscriptions (indexed by the defines in defines.h). -- RG
4174  */
4175 const concptr game_inscriptions[] =
4176 {
4177         NULL,            /* FEEL_NONE */
4178 #ifdef JP
4179         "壊れている",    /* FEEL_BROKEN */
4180         "恐ろしい",      /* FEEL_TERRIBLE */
4181         "無価値",        /* FEEL_WORTHLESS */
4182         "呪われている",  /* FEEL_CURSED */
4183         "上質以上",      /* FEEL_UNCURSED */
4184         "並",            /* FEEL_AVERAGE */
4185         "上質",          /* FEEL_GOOD */
4186         "高級品",        /* FEEL_EXCELLENT */
4187         "特別製",        /* FEEL_SPECIAL */
4188 #else
4189         "broken",        /* FEEL_BROKEN */
4190         "terrible",      /* FEEL_TERRIBLE */
4191         "worthless",     /* FEEL_WORTHLESS */
4192         "cursed",        /* FEEL_CURSED */
4193         "uncursed",      /* FEEL_UNCURSED */
4194         "average",       /* FEEL_AVERAGE */
4195         "good",          /* FEEL_GOOD */
4196         "excellent",     /* FEEL_EXCELLENT */
4197         "special",       /* FEEL_SPECIAL */
4198 #endif
4199
4200 };
4201
4202 /*!
4203  * @brief 修行僧の構え能力テーブル
4204  */
4205 const kamae kamae_shurui[MAX_KAMAE] =
4206 {
4207 #ifdef JP
4208         {"玄武", 25, ""},
4209         {"白虎", 30, ""},
4210         {"青竜", 35, ""},
4211         {"朱雀", 40, ""},
4212 #else
4213         {"Genbu", 25, "(Black Tortoise) "},
4214         {"Byakko", 30, "(White Tiger) "},
4215         {"Seiryuu", 35, "(Blue Dragon) "},
4216         {"Suzaku", 40, "(Red Phoenix) "},
4217 #endif
4218 };
4219
4220 /*!
4221  * @brief 剣術家の構え能力テーブル
4222  */
4223 const kamae kata_shurui[MAX_KATA] =
4224 {
4225 #ifdef JP
4226         {"居合", 25, ""},
4227         {"風塵", 30, ""},
4228         {"降鬼", 35, ""},
4229         {"無想", 40, ""},
4230 #else
4231         {"Iai", 25, ""},
4232         {"Huujin", 30, ""},
4233         {"Kouki", 35, ""},
4234         {"Musou", 40, ""},
4235 #endif
4236 };
4237
4238 /*!
4239  * @brief 技能値到達表記テーブル
4240  */
4241 const concptr exp_level_str[5]=
4242 #ifdef JP
4243 {"[初心者]", "[入門者]", "[熟練者]", "[エキスパート]", "[達人]"};
4244 #else
4245 {"[Unskilled]", "[Beginner]", "[Skilled]", "[Expert]", "[Master]"};
4246 #endif
4247
4248 /*!
4249  * @brief 幻覚時の打撃記述テーブル / Weird melee attack types when hallucinating
4250  */
4251 #ifdef JP
4252 const concptr silly_attacks[MAX_SILLY_ATTACK] =
4253 {
4254         "に小便をかけられた。",
4255         "があなたの回りを3回回ってワンと言った。",
4256         "にしばきまわされた。",
4257         "に靴をなめさせられた。",
4258         "にハナクソを飛ばされた。",
4259         "にジャン拳で攻撃された。",
4260         "があなたの頬を札束でしばいた。",
4261         "があなたの前でポージングをした。",
4262         "にアカンベーされた。",
4263         "に「神の国」発言の撤回を求められた。",
4264         "にメッ○ールを飲まされた。",
4265         "につっこみを入れられた。",
4266         "はあなたと踊った。",
4267         "に顔にらく書きをされた。",
4268         "に借金の返済をせまられた。",
4269         "にスカートをめくられた。",
4270         "はあなたの手相を占った。",
4271         "から役満を上がられた。",
4272         "から愛の告白をされた。",
4273         "はあなたを時給500円で雇った。",
4274         "はあなたの100の秘密について熱く語った。",
4275         "がニャーと鳴いた。",
4276         "はあなたに気をつけた。",
4277         "はあなたをポリゴン化させた。",
4278         "に少しかじられた。",
4279         "はアルテマの呪文を唱えた!",
4280         "はあなたのスパイクをブロックした。",
4281         "はスライド移動した。",
4282         "は昇龍拳コマンドの入力に失敗した。",
4283         "は拡散波動砲を発射した。",
4284         "はデスラー戦法をしかけた。",
4285         "にライダーキックで攻撃された。",
4286         "に二週間以内でビデオを人に見せないと死ぬ呪いをかけられた。",
4287         "はパルプンテを唱えた。",
4288         "はスーパーウルトラギャラクティカマグナムを放った。",
4289         "にしゃがみ小キックでハメられた。",
4290         "にジェットストリームアタックをかけられた。",
4291         "はあなたに卍固めをかけて「1、2、3、ダーッ!」と叫んだ。",
4292         "は「いくじなし!ばかばかばか!」といって駆け出した。",
4293         "が「ごらん、ルーベンスの絵だよ」と言って静かに目を閉じた。",
4294         "は言った。「変愚蛮怒、絶賛公開中!」",
4295 };
4296
4297 /*!
4298  * @brief 幻覚時の打撃記述テーブル(フォーマットつき) / Weird melee attack types when hallucinating (%s for strfmt())
4299  */
4300 const concptr silly_attacks2[MAX_SILLY_ATTACK] =
4301 {
4302         "%sに小便をかけた。",
4303         "%sの回りを3回回ってワンと言った。",
4304         "%sをしばきまわした。",
4305         "%sに靴をなめさせた。",
4306         "%sにハナクソを飛ばした。",
4307         "%sをジャン拳で攻撃した。",
4308         "%sの頬を札束でしばいた。",
4309         "%sの前でポージングをした。",
4310         "%sにアカンベーした。",
4311         "%sに「神の国」発言の撤回を求めた。",
4312         "%sにメッ○ールを飲ませた。",
4313         "%sにつっこみを入れた。",
4314         "%sと踊った。",
4315         "%sの顔にらく書きをした。",
4316         "%sに借金の返済をせまった。",
4317         "%sのスカートをめくった。",
4318         "%sの手相を占った。",
4319         "%sから役満を上がった。",
4320         "%sに愛の告白をした。",
4321         "%sを時給500円で雇った。",
4322         "%sの100の秘密について熱く語った。",
4323         "ニャーと鳴いた。",
4324         "%sに気をつけた。",
4325         "%sをポリゴン化させた。",
4326         "%sを少しかじった。",
4327         "アルテマの呪文を唱えた!",
4328         "%sのスパイクをブロックした。",
4329         "スライド移動した。",
4330         "昇龍拳コマンドの入力に失敗した。",
4331         "%sに拡散波動砲を発射した。",
4332         "%sにデスラー戦法をしかけた。",
4333         "%sをライダーキックで攻撃した。",
4334         "%sに二週間以内でビデオを人に見せないと死ぬ呪いをかけた。",
4335         "パルプンテを唱えた。",
4336         "%sにスーパーウルトラギャラクティカマグナムを放った。",
4337         "%sをしゃがみ小キックでハメた。",
4338         "%sにジェットストリームアタックをかけた。",
4339         "%sに卍固めをかけて「1、2、3、ダーッ!」と叫んだ。",
4340         "「いくじなし!ばかばかばか!」といって駆け出した。",
4341         "「ごらん、ルーベンスの絵だよ」と言って静かに目を閉じた。",
4342         "言った。「変愚蛮怒、絶賛公開中!」",
4343 };
4344 #else
4345 const concptr silly_attacks[MAX_SILLY_ATTACK] =
4346 {
4347         "smothers",
4348         "hugs",
4349         "humiliates",
4350         "whips",
4351         "kisses",
4352
4353         "disgusts",
4354         "pees all over",
4355         "passes the gas on",
4356         "makes obscene gestures at",
4357         "licks",
4358
4359         "stomps on",
4360         "swallows",
4361         "drools on",
4362         "misses",
4363         "shrinks",
4364
4365         "emasculates",
4366         "evaporates",
4367         "solidifies",
4368         "digitizes",
4369         "insta-kills",
4370
4371         "massacres",
4372         "slaughters",
4373         "drugs",
4374         "psychoanalyzes",
4375         "deconstructs",
4376
4377         "falsifies",
4378         "disbelieves",
4379         "molests",
4380         "pusupusu",
4381 };
4382 #endif
4383
4384
4385 /*!
4386  * @brief シンボル解説テーブル /
4387  * The table of "symbol info" -- each entry is a string of the form "X:desc" where "X" is the trigger, and "desc" is the "info".
4388  */
4389 const concptr ident_info[] =
4390 {
4391 #ifdef JP
4392         " :暗闇",
4393         "!:薬, オイル",
4394         "\":アミュレット, 頸飾り",
4395         "#:壁(隠しドア)/植物/気体",
4396         "$:財宝(金か宝石)",
4397         "%:鉱脈(溶岩か石英)",
4398         "&:箱",
4399         "':開いたドア",
4400         "(:軟らかい防具",
4401         "):盾",
4402         "*:財宝を含んだ鉱脈または球形の怪物",
4403         "+:閉じたドア",
4404         ",:食べ物, おばけキノコ",
4405         "-:魔法棒, ロッド",
4406         ".:床",
4407         "/:竿状武器(アックス/パイク/等)",
4408         "0:博物館の入口",
4409         "1:雑貨屋の入口",
4410         "2:防具屋の入口",
4411         "3:武器専門店の入口",
4412         "4:寺院の入口",
4413         "5:錬金術の店の入口",
4414         "6:魔法の店の入口",
4415         "7:ブラックマーケットの入口",
4416         "8:我が家の入口",
4417         "9:書店の入口",
4418         "::岩石",
4419         ";:回避の彫像/爆発のルーン",
4420         "<:上り階段",
4421         "=:指輪",
4422         ">:下り階段",
4423         "?:巻物",
4424         "@:プレイヤー",
4425         "A:天使",
4426         "B:鳥",
4427         "C:犬",
4428         "D:古代ドラゴン/ワイアーム",
4429         "E:エレメンタル",
4430         "F:トンボ",
4431         "G:ゴースト",
4432         "H:雑種",
4433         "I:昆虫",
4434         "J:ヘビ",
4435         "K:キラー・ビートル",
4436         "L:リッチ",
4437         "M:多首の爬虫類",
4438         "N:謎の生物",
4439         "O:オーガ",
4440         "P:巨大人間型生物",
4441         "Q:クイルスルグ(脈打つ肉塊)",
4442         "R:爬虫類/両生類",
4443         "S:蜘蛛/サソリ/ダニ",
4444         "T:トロル",
4445         "U:上級デーモン",
4446         "V:バンパイア",
4447         "W:ワイト/レイス/等",
4448         "X:ゾーン/ザレン/等",
4449         "Y:イエティ",
4450         "Z:ハウンド",
4451         "[:堅いアーマー",
4452         "\\:鈍器(メイス/ムチ/等)",
4453         "]:種々の防具",
4454         "^:トラップ",
4455         "_:杖",
4456         "`:人形,彫像",
4457         "a:アリ",
4458         "b:コウモリ",
4459         "c:ムカデ",
4460         "d:ドラゴン",
4461         "e:目玉",
4462         "f:ネコ",
4463         "g:ゴーレム",
4464         "h:ホビット/エルフ/ドワーフ",
4465         "i:ベトベト",
4466         "j:ゼリー",
4467         "k:コボルド",
4468         "l:水棲生物",
4469         "m:モルド",
4470         "n:ナーガ",
4471         "o:オーク",
4472         "p:人間",
4473         "q:四足獣",
4474         "r:ネズミ",
4475         "s:スケルトン",
4476         "t:町の人",
4477         "u:下級デーモン",
4478         "v:ボルテックス",
4479         "w:イモムシ/大群",
4480         /* "x:unused", */
4481         "y:イーク",
4482         "z:ゾンビ/ミイラ",
4483         "{:飛び道具の弾(矢/弾)",
4484         "|:刀剣類(ソード/ダガー/等)",
4485         "}:飛び道具(弓/クロスボウ/スリング)",
4486         "~:水/溶岩流(種々のアイテム)",
4487 #else
4488         " :A dark grid",
4489         "!:A potion (or oil)",
4490         "\":An amulet (or necklace)",
4491         "#:A wall (or secret door) / a plant / a gas",
4492         "$:Treasure (gold or gems)",
4493         "%:A vein (magma or quartz)",
4494         "&:A chest",
4495         "':An open door",
4496         "(:Soft armor",
4497         "):A shield",
4498         "*:A vein with treasure or a ball monster",
4499         "+:A closed door",
4500         ",:Food (or mushroom patch)",
4501         "-:A wand (or rod)",
4502         ".:Floor",
4503         "/:A polearm (Axe/Pike/etc)",
4504         "0:Entrance to Museum",
4505         "1:Entrance to General Store",
4506         "2:Entrance to Armory",
4507         "3:Entrance to Weaponsmith",
4508         "4:Entrance to Temple",
4509         "5:Entrance to Alchemy shop",
4510         "6:Entrance to Magic store",
4511         "7:Entrance to Black Market",
4512         "8:Entrance to your home",
4513         "9:Entrance to the bookstore",
4514         "::Rubble",
4515         ";:A glyph of warding / an explosive rune",
4516         "<:An up staircase",
4517         "=:A ring",
4518         ">:A down staircase",
4519         "?:A scroll",
4520         "@:You",
4521         "A:Angel",
4522         "B:Bird",
4523         "C:Canine",
4524         "D:Ancient Dragon/Wyrm",
4525         "E:Elemental",
4526         "F:Dragon Fly",
4527         "G:Ghost",
4528         "H:Hybrid",
4529         "I:Insect",
4530         "J:Snake",
4531         "K:Killer Beetle",
4532         "L:Lich",
4533         "M:Multi-Headed Reptile",
4534         "N:Mystery Living",
4535         "O:Ogre",
4536         "P:Giant Humanoid",
4537         "Q:Quylthulg (Pulsing Flesh Mound)",
4538         "R:Reptile/Amphibian",
4539         "S:Spider/Scorpion/Tick",
4540         "T:Troll",
4541         "U:Major Demon",
4542         "V:Vampire",
4543         "W:Wight/Wraith/etc",
4544         "X:Xorn/Xaren/etc",
4545         "Y:Yeti",
4546         "Z:Zephyr Hound",
4547         "[:Hard armor",
4548         "\\:A hafted weapon (mace/whip/etc)",
4549         "]:Misc. armor",
4550         "^:A trap",
4551         "_:A staff",
4552         "`:A figurine or statue",
4553         "a:Ant",
4554         "b:Bat",
4555         "c:Centipede",
4556         "d:Dragon",
4557         "e:Floating Eye",
4558         "f:Feline",
4559         "g:Golem",
4560         "h:Hobbit/Elf/Dwarf",
4561         "i:Icky Thing",
4562         "j:Jelly",
4563         "k:Kobold",
4564         "l:Aquatic monster",
4565         "m:Mold",
4566         "n:Naga",
4567         "o:Orc",
4568         "p:Person/Human",
4569         "q:Quadruped",
4570         "r:Rodent",
4571         "s:Skeleton",
4572         "t:Townsperson",
4573         "u:Minor Demon",
4574         "v:Vortex",
4575         "w:Worm/Worm-Mass",
4576         /* "x:unused", */
4577         "y:Yeek",
4578         "z:Zombie/Mummy",
4579         "{:A missile (arrow/bolt/shot)",
4580         "|:An edged weapon (sword/dagger/etc)",
4581         "}:A launcher (bow/crossbow/sling)",
4582         "~:Fluid terrain (or miscellaneous item)",
4583 #endif
4584
4585         NULL
4586 };
4587
4588 /*!
4589  * @brief モンスターの打撃効力テーブル /
4590  * The table of monsters' blow effects
4591  */
4592 const mbe_info_type mbe_info[] =
4593 {
4594         {  0, 0,             }, /* None      */
4595         { 60, GF_MISSILE,    }, /* HURT      */
4596         {  5, GF_POIS,       }, /* POISON    */
4597         { 20, GF_DISENCHANT, }, /* UN_BONUS  */
4598         { 15, GF_MISSILE,    }, /* UN_POWER  */ /* ToDo: Apply the correct effects */
4599         {  5, GF_MISSILE,    }, /* EAT_GOLD  */
4600         {  5, GF_MISSILE,    }, /* EAT_ITEM  */
4601         {  5, GF_MISSILE,    }, /* EAT_FOOD  */
4602         {  5, GF_MISSILE,    }, /* EAT_LITE  */
4603         {  0, GF_ACID,       }, /* ACID      */
4604         { 10, GF_ELEC,       }, /* ELEC      */
4605         { 10, GF_FIRE,       }, /* FIRE      */
4606         { 10, GF_COLD,       }, /* COLD      */
4607         {  2, GF_MISSILE,    }, /* BLIND     */
4608         { 10, GF_CONFUSION,  }, /* CONFUSE   */
4609         { 10, GF_MISSILE,    }, /* TERRIFY   */
4610         {  2, GF_MISSILE,    }, /* PARALYZE  */
4611         {  0, GF_MISSILE,    }, /* LOSE_STR  */
4612         {  0, GF_MISSILE,    }, /* LOSE_INT  */
4613         {  0, GF_MISSILE,    }, /* LOSE_WIS  */
4614         {  0, GF_MISSILE,    }, /* LOSE_DEX  */
4615         {  0, GF_MISSILE,    }, /* LOSE_CON  */
4616         {  0, GF_MISSILE,    }, /* LOSE_CHR  */
4617         {  2, GF_MISSILE,    }, /* LOSE_ALL  */
4618         { 60, GF_ROCKET,     }, /* SHATTER   */
4619         {  5, GF_MISSILE,    }, /* EXP_10    */
4620         {  5, GF_MISSILE,    }, /* EXP_20    */
4621         {  5, GF_MISSILE,    }, /* EXP_40    */
4622         {  5, GF_MISSILE,    }, /* EXP_80    */
4623         {  5, GF_POIS,       }, /* DISEASE   */
4624         {  5, GF_TIME,       }, /* TIME      */
4625         {  5, GF_MISSILE,    }, /* EXP_VAMP  */
4626         {  5, GF_MANA,       }, /* DR_MANA   */
4627         { 60, GF_MISSILE,    }, /* SUPERHURT */
4628 };
4629
4630
4631 /*!
4632  * @brief 地形状態フラグテーブル /
4633  * The table of features' actions
4634  */
4635 const byte feature_action_flags[FF_FLAG_MAX] =
4636 {
4637         0, /* LOS */
4638         0, /* PROJECT */
4639         0, /* MOVE */
4640         0, /* PLACE */
4641         0, /* DROP */
4642         0, /* SECRET */
4643         0, /* NOTICE */
4644         0, /* REMEMBER */
4645         0, /* OPEN */
4646         0, /* CLOSE */
4647         FAF_CRASH_GLASS, /* BASH */
4648         0, /* SPIKE */
4649         FAF_DESTROY, /* DISARM */
4650         0, /* STORE */
4651         FAF_DESTROY | FAF_CRASH_GLASS, /* TUNNEL */
4652         0, /* MAY_HAVE_GOLD */
4653         0, /* HAS_GOLD */
4654         0, /* HAS_ITEM */
4655         0, /* DOOR */
4656         0, /* TRAP */
4657         0, /* STAIRS */
4658         0, /* GLYPH */
4659         0, /* LESS */
4660         0, /* MORE */
4661         0, /* RUN */
4662         0, /* FLOOR */
4663         0, /* WALL */
4664         0, /* PERMANENT */
4665         0, /* INNER */
4666         0, /* OUTER */
4667         0, /* SOLID */
4668         0, /* HIT_TRAP */
4669
4670         0, /* BRIDGE */
4671         0, /* RIVER */
4672         0, /* LAKE */
4673         0, /* BRIDGED */
4674         0, /* COVERED */
4675         0, /* GLOW */
4676         0, /* ENSECRET */
4677         0, /* WATER */
4678         0, /* LAVA */
4679         0, /* SHALLOW */
4680         0, /* DEEP */
4681         0, /* FILLED */
4682         FAF_DESTROY | FAF_CRASH_GLASS, /* HURT_ROCK */
4683         0, /* HURT_FIRE */
4684         0, /* HURT_COLD */
4685         0, /* HURT_ACID */
4686         0, /* ICE */
4687         0, /* ACID */
4688         0, /* OIL */
4689         0, /* XXX04 */
4690         0, /* CAN_CLIMB */
4691         0, /* CAN_FLY */
4692         0, /* CAN_SWIM */
4693         0, /* CAN_PASS */
4694         0, /* CAN_OOZE */
4695         0, /* CAN_DIG */
4696         0, /* HIDE_ITEM */
4697         0, /* HIDE_SNEAK */
4698         0, /* HIDE_SWIM */
4699         0, /* HIDE_DIG */
4700         0, /* KILL_HUGE */
4701         0, /* KILL_MOVE */
4702
4703         0, /* PICK_TRAP */
4704         0, /* PICK_DOOR */
4705         0, /* ALLOC */
4706         0, /* CHEST */
4707         0, /* DROP_1D2 */
4708         0, /* DROP_2D2 */
4709         0, /* DROP_GOOD */
4710         0, /* DROP_GREAT */
4711         0, /* HURT_POIS */
4712         0, /* HURT_ELEC */
4713         0, /* HURT_WATER */
4714         0, /* HURT_BWATER */
4715         0, /* USE_FEAT */
4716         0, /* GET_FEAT */
4717         0, /* GROUND */
4718         0, /* OUTSIDE */
4719         0, /* EASY_HIDE */
4720         0, /* EASY_CLIMB */
4721         0, /* MUST_CLIMB */
4722         0, /* TREE */
4723         0, /* NEED_TREE */
4724         0, /* BLOOD */
4725         0, /* DUST */
4726         0, /* SLIME */
4727         0, /* PLANT */
4728         0, /* XXX2 */
4729         0, /* INSTANT */
4730         0, /* EXPLODE */
4731         0, /* TIMED */
4732         0, /* ERUPT */
4733         0, /* STRIKE */
4734         0, /* SPREAD */
4735
4736         0, /* SPECIAL */
4737         FAF_DESTROY | FAF_NO_DROP | FAF_CRASH_GLASS, /* HURT_DISI */
4738         0, /* QUEST_ENTER */
4739         0, /* QUEST_EXIT */
4740         0, /* QUEST */
4741         0, /* SHAFT */
4742         0, /* MOUNTAIN */
4743         0, /* BLDG */
4744         0, /* MINOR_GLYPH */
4745         0, /* PATTERN */
4746         0, /* TOWN */
4747         0, /* ENTRANCE */
4748         0, /* MIRROR */
4749         0, /* UNPERM */
4750         0, /* TELEPORTABLE */
4751         0, /* CONVERT */
4752         0, /* GLASS */
4753 };
4754
4755
4756 /*!
4757  * @brief 装備耐性に準じたブレス効果の選択テーブル /
4758  * Define flags, effect type, name for dragon breath activation
4759  */
4760 const dragonbreath_type dragonbreath_info[] = {
4761         { TR_RES_ACID, GF_ACID, _("酸", "acid") },
4762         { TR_RES_ELEC, GF_ELEC, _("電撃", "lightning") },
4763         { TR_RES_FIRE, GF_FIRE, _("火炎", "fire") },
4764         { TR_RES_COLD, GF_COLD, _("冷気", "cold") },
4765         { TR_RES_POIS, GF_POIS, _("毒", "poison") },
4766         { TR_RES_LITE, GF_LITE, _("閃光", "light") },
4767         { TR_RES_DARK, GF_DARK, _("暗黒", "dark") },
4768         { TR_RES_SHARDS, GF_SHARDS, _("破片", "shard") },
4769         { TR_RES_CONF, GF_CONFUSION, _("混乱", "confusion") },
4770         { TR_RES_SOUND, GF_SOUND, _("轟音", "sound") },
4771         { TR_RES_NEXUS, GF_NEXUS, _("因果混乱", "nexus") },
4772         { TR_RES_NETHER, GF_NETHER, _("地獄", "nether") },
4773         { TR_RES_CHAOS, GF_CHAOS, _("カオス", "chaos") },
4774         { TR_RES_DISEN, GF_DISENCHANT, _("劣化", "disenchant") },
4775         { 0, 0, NULL }
4776 };
4777