OSDN Git Service

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