OSDN Git Service

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