OSDN Git Service

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