• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revision0c6f72ea27081e0c4b58c0d5652a2c2c112daefc (tree)
Time2019-06-11 19:44:47
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #37353 プレイヤーの基本能力値による各修正テーブルを player-status.c/h へ移動.

Change Summary

Incremental Difference

--- a/src/externs.h
+++ b/src/externs.h
@@ -20,28 +20,6 @@
2020 #include "object.h"
2121 #include "player-status.h"
2222
23-/* tables.c */
24-
25-extern const byte adj_mag_study[];
26-extern const byte adj_mag_mana[];
27-extern const byte adj_mag_fail[];
28-extern const byte adj_mag_stat[];
29-extern const byte adj_chr_gold[];
30-extern const byte adj_int_dev[];
31-extern const byte adj_wis_sav[];
32-extern const byte adj_dex_dis[];
33-extern const byte adj_int_dis[];
34-extern const byte adj_dex_ta[];
35-extern const byte adj_str_td[];
36-extern const byte adj_dex_th[];
37-extern const byte adj_str_th[];
38-extern const byte adj_str_wgt[];
39-extern const byte adj_str_hold[];
40-extern const byte adj_str_dig[];
41-extern const byte adj_dex_safe[];
42-extern const byte adj_con_fix[];
43-extern const byte adj_con_mhp[];
44-extern const byte adj_chr_chm[];
4523
4624 /* variable.c */
4725
--- a/src/player-status.c
+++ b/src/player-status.c
@@ -335,6 +335,946 @@ const s32b player_exp_a[PY_MAX_LEVEL] =
335335 5000000L
336336 };
337337
338+
339+/*!
340+ * 知力/賢さによるレベル毎の習得可能魔法数テーブル
341+ * Stat Table (INT/WIS) -- Number of half-spells per level
342+ */
343+const byte adj_mag_study[] =
344+{
345+ 0 /* 3 */,
346+ 0 /* 4 */,
347+ 0 /* 5 */,
348+ 0 /* 6 */,
349+ 0 /* 7 */,
350+ 1 /* 8 */,
351+ 1 /* 9 */,
352+ 1 /* 10 */,
353+ 1 /* 11 */,
354+ 2 /* 12 */,
355+ 2 /* 13 */,
356+ 2 /* 14 */,
357+ 2 /* 15 */,
358+ 2 /* 16 */,
359+ 2 /* 17 */,
360+ 2 /* 18/00-18/09 */,
361+ 2 /* 18/10-18/19 */,
362+ 2 /* 18/20-18/29 */,
363+ 2 /* 18/30-18/39 */,
364+ 2 /* 18/40-18/49 */,
365+ 3 /* 18/50-18/59 */,
366+ 3 /* 18/60-18/69 */,
367+ 3 /* 18/70-18/79 */,
368+ 3 /* 18/80-18/89 */,
369+ 4 /* 18/90-18/99 */,
370+ 4 /* 18/100-18/109 */,
371+ 4 /* 18/110-18/119 */,
372+ 5 /* 18/120-18/129 */,
373+ 5 /* 18/130-18/139 */,
374+ 5 /* 18/140-18/149 */,
375+ 5 /* 18/150-18/159 */,
376+ 5 /* 18/160-18/169 */,
377+ 5 /* 18/170-18/179 */,
378+ 5 /* 18/180-18/189 */,
379+ 5 /* 18/190-18/199 */,
380+ 5 /* 18/200-18/209 */,
381+ 6 /* 18/210-18/219 */,
382+ 6 /* 18/220+ */
383+};
384+
385+
386+/*!
387+ * 知力/賢さによるMP修正テーブル
388+ * Stat Table (INT/WIS) -- extra 1/4-mana-points per level
389+ */
390+const byte adj_mag_mana[] =
391+{
392+ 0 /* 3 */,
393+ 0 /* 4 */,
394+ 0 /* 5 */,
395+ 0 /* 6 */,
396+ 0 /* 7 */,
397+ 1 /* 8 */,
398+ 2 /* 9 */,
399+ 3 /* 10 */,
400+ 4 /* 11 */,
401+ 5 /* 12 */,
402+ 5 /* 13 */,
403+ 6 /* 14 */,
404+ 7 /* 15 */,
405+ 8 /* 16 */,
406+ 9 /* 17 */,
407+ 10 /* 18/00-18/09 */,
408+ 11 /* 18/10-18/19 */,
409+ 11 /* 18/20-18/29 */,
410+ 12 /* 18/30-18/39 */,
411+ 12 /* 18/40-18/49 */,
412+ 13 /* 18/50-18/59 */,
413+ 14 /* 18/60-18/69 */,
414+ 15 /* 18/70-18/79 */,
415+ 16 /* 18/80-18/89 */,
416+ 17 /* 18/90-18/99 */,
417+ 18 /* 18/100-18/109 */,
418+ 19 /* 18/110-18/119 */,
419+ 20 /* 18/120-18/129 */,
420+ 21 /* 18/130-18/139 */,
421+ 22 /* 18/140-18/149 */,
422+ 23 /* 18/150-18/159 */,
423+ 24 /* 18/160-18/169 */,
424+ 25 /* 18/170-18/179 */,
425+ 26 /* 18/180-18/189 */,
426+ 27 /* 18/190-18/199 */,
427+ 28 /* 18/200-18/209 */,
428+ 29 /* 18/210-18/219 */,
429+ 30 /* 18/220+ */
430+};
431+
432+
433+/*!
434+ * 知力/賢さによる最低魔法失敗率テーブル
435+ * Stat Table (INT/WIS) -- Minimum failure rate (percentage)
436+ */
437+const byte adj_mag_fail[] =
438+{
439+ 99 /* 3 */,
440+ 99 /* 4 */,
441+ 99 /* 5 */,
442+ 99 /* 6 */,
443+ 99 /* 7 */,
444+ 50 /* 8 */,
445+ 30 /* 9 */,
446+ 20 /* 10 */,
447+ 15 /* 11 */,
448+ 12 /* 12 */,
449+ 11 /* 13 */,
450+ 10 /* 14 */,
451+ 9 /* 15 */,
452+ 8 /* 16 */,
453+ 7 /* 17 */,
454+ 6 /* 18/00-18/09 */,
455+ 6 /* 18/10-18/19 */,
456+ 5 /* 18/20-18/29 */,
457+ 5 /* 18/30-18/39 */,
458+ 5 /* 18/40-18/49 */,
459+ 4 /* 18/50-18/59 */,
460+ 4 /* 18/60-18/69 */,
461+ 4 /* 18/70-18/79 */,
462+ 4 /* 18/80-18/89 */,
463+ 3 /* 18/90-18/99 */,
464+ 3 /* 18/100-18/109 */,
465+ 2 /* 18/110-18/119 */,
466+ 2 /* 18/120-18/129 */,
467+ 2 /* 18/130-18/139 */,
468+ 2 /* 18/140-18/149 */,
469+ 1 /* 18/150-18/159 */,
470+ 1 /* 18/160-18/169 */,
471+ 1 /* 18/170-18/179 */,
472+ 1 /* 18/180-18/189 */,
473+ 1 /* 18/190-18/199 */,
474+ 0 /* 18/200-18/209 */,
475+ 0 /* 18/210-18/219 */,
476+ 0 /* 18/220+ */
477+};
478+
479+
480+/*!
481+ * 知力/賢さによる魔法失敗率修正テーブル
482+ * Stat Table (INT/WIS) -- Various things
483+ */
484+const byte adj_mag_stat[] =
485+{
486+ 0 /* 3 */,
487+ 0 /* 4 */,
488+ 0 /* 5 */,
489+ 0 /* 6 */,
490+ 0 /* 7 */,
491+ 1 /* 8 */,
492+ 1 /* 9 */,
493+ 1 /* 10 */,
494+ 1 /* 11 */,
495+ 1 /* 12 */,
496+ 1 /* 13 */,
497+ 1 /* 14 */,
498+ 2 /* 15 */,
499+ 2 /* 16 */,
500+ 2 /* 17 */,
501+ 3 /* 18/00-18/09 */,
502+ 3 /* 18/10-18/19 */,
503+ 3 /* 18/20-18/29 */,
504+ 3 /* 18/30-18/39 */,
505+ 3 /* 18/40-18/49 */,
506+ 4 /* 18/50-18/59 */,
507+ 4 /* 18/60-18/69 */,
508+ 5 /* 18/70-18/79 */,
509+ 6 /* 18/80-18/89 */,
510+ 7 /* 18/90-18/99 */,
511+ 8 /* 18/100-18/109 */,
512+ 9 /* 18/110-18/119 */,
513+ 10 /* 18/120-18/129 */,
514+ 11 /* 18/130-18/139 */,
515+ 12 /* 18/140-18/149 */,
516+ 13 /* 18/150-18/159 */,
517+ 14 /* 18/160-18/169 */,
518+ 15 /* 18/170-18/179 */,
519+ 16 /* 18/180-18/189 */,
520+ 17 /* 18/190-18/199 */,
521+ 18 /* 18/200-18/209 */,
522+ 19 /* 18/210-18/219 */,
523+ 20 /* 18/220+ */
524+};
525+
526+
527+/*!
528+ * 魅力による店での取引修正テーブル
529+ * Stat Table (CHR) -- payment percentages
530+ */
531+const byte adj_chr_gold[] =
532+{
533+ 130 /* 3 */,
534+ 125 /* 4 */,
535+ 122 /* 5 */,
536+ 120 /* 6 */,
537+ 118 /* 7 */,
538+ 116 /* 8 */,
539+ 114 /* 9 */,
540+ 112 /* 10 */,
541+ 110 /* 11 */,
542+ 108 /* 12 */,
543+ 106 /* 13 */,
544+ 104 /* 14 */,
545+ 103 /* 15 */,
546+ 102 /* 16 */,
547+ 101 /* 17 */,
548+ 100 /* 18/00-18/09 */,
549+ 99 /* 18/10-18/19 */,
550+ 98 /* 18/20-18/29 */,
551+ 97 /* 18/30-18/39 */,
552+ 96 /* 18/40-18/49 */,
553+ 95 /* 18/50-18/59 */,
554+ 94 /* 18/60-18/69 */,
555+ 93 /* 18/70-18/79 */,
556+ 92 /* 18/80-18/89 */,
557+ 91 /* 18/90-18/99 */,
558+ 90 /* 18/100-18/109 */,
559+ 89 /* 18/110-18/119 */,
560+ 88 /* 18/120-18/129 */,
561+ 87 /* 18/130-18/139 */,
562+ 86 /* 18/140-18/149 */,
563+ 85 /* 18/150-18/159 */,
564+ 84 /* 18/160-18/169 */,
565+ 83 /* 18/170-18/179 */,
566+ 82 /* 18/180-18/189 */,
567+ 81 /* 18/190-18/199 */,
568+ 80 /* 18/200-18/209 */,
569+ 79 /* 18/210-18/219 */,
570+ 78 /* 18/220+ */
571+};
572+
573+
574+/*!
575+ * 知力による魔道具使用修正テーブル
576+ * Stat Table (INT) -- Magic devices
577+ */
578+const byte adj_int_dev[] =
579+{
580+ 0 /* 3 */,
581+ 0 /* 4 */,
582+ 0 /* 5 */,
583+ 0 /* 6 */,
584+ 0 /* 7 */,
585+ 1 /* 8 */,
586+ 1 /* 9 */,
587+ 1 /* 10 */,
588+ 1 /* 11 */,
589+ 1 /* 12 */,
590+ 1 /* 13 */,
591+ 1 /* 14 */,
592+ 2 /* 15 */,
593+ 2 /* 16 */,
594+ 2 /* 17 */,
595+ 3 /* 18/00-18/09 */,
596+ 3 /* 18/10-18/19 */,
597+ 4 /* 18/20-18/29 */,
598+ 4 /* 18/30-18/39 */,
599+ 5 /* 18/40-18/49 */,
600+ 5 /* 18/50-18/59 */,
601+ 6 /* 18/60-18/69 */,
602+ 6 /* 18/70-18/79 */,
603+ 7 /* 18/80-18/89 */,
604+ 7 /* 18/90-18/99 */,
605+ 8 /* 18/100-18/109 */,
606+ 9 /* 18/110-18/119 */,
607+ 10 /* 18/120-18/129 */,
608+ 11 /* 18/130-18/139 */,
609+ 12 /* 18/140-18/149 */,
610+ 13 /* 18/150-18/159 */,
611+ 14 /* 18/160-18/169 */,
612+ 15 /* 18/170-18/179 */,
613+ 16 /* 18/180-18/189 */,
614+ 17 /* 18/190-18/199 */,
615+ 18 /* 18/200-18/209 */,
616+ 19 /* 18/210-18/219 */,
617+ 20 /* 18/220+ */
618+};
619+
620+
621+/*!
622+ * 賢さによる魔法防御修正テーブル
623+ * Stat Table (WIS) -- Saving throw
624+ */
625+const byte adj_wis_sav[] =
626+{
627+ 0 /* 3 */,
628+ 0 /* 4 */,
629+ 0 /* 5 */,
630+ 0 /* 6 */,
631+ 0 /* 7 */,
632+ 1 /* 8 */,
633+ 1 /* 9 */,
634+ 1 /* 10 */,
635+ 1 /* 11 */,
636+ 1 /* 12 */,
637+ 1 /* 13 */,
638+ 1 /* 14 */,
639+ 2 /* 15 */,
640+ 2 /* 16 */,
641+ 2 /* 17 */,
642+ 3 /* 18/00-18/09 */,
643+ 3 /* 18/10-18/19 */,
644+ 3 /* 18/20-18/29 */,
645+ 3 /* 18/30-18/39 */,
646+ 3 /* 18/40-18/49 */,
647+ 4 /* 18/50-18/59 */,
648+ 4 /* 18/60-18/69 */,
649+ 5 /* 18/70-18/79 */,
650+ 5 /* 18/80-18/89 */,
651+ 6 /* 18/90-18/99 */,
652+ 7 /* 18/100-18/109 */,
653+ 8 /* 18/110-18/119 */,
654+ 9 /* 18/120-18/129 */,
655+ 10 /* 18/130-18/139 */,
656+ 11 /* 18/140-18/149 */,
657+ 12 /* 18/150-18/159 */,
658+ 13 /* 18/160-18/169 */,
659+ 14 /* 18/170-18/179 */,
660+ 15 /* 18/180-18/189 */,
661+ 16 /* 18/190-18/199 */,
662+ 17 /* 18/200-18/209 */,
663+ 18 /* 18/210-18/219 */,
664+ 19 /* 18/220+ */
665+};
666+
667+
668+/*!
669+ * 器用さによるトラップ解除修正テーブル
670+ * Stat Table (DEX) -- disarming
671+ */
672+const byte adj_dex_dis[] =
673+{
674+ 0 /* 3 */,
675+ 0 /* 4 */,
676+ 0 /* 5 */,
677+ 0 /* 6 */,
678+ 0 /* 7 */,
679+ 0 /* 8 */,
680+ 0 /* 9 */,
681+ 0 /* 10 */,
682+ 0 /* 11 */,
683+ 0 /* 12 */,
684+ 1 /* 13 */,
685+ 1 /* 14 */,
686+ 1 /* 15 */,
687+ 2 /* 16 */,
688+ 2 /* 17 */,
689+ 4 /* 18/00-18/09 */,
690+ 4 /* 18/10-18/19 */,
691+ 4 /* 18/20-18/29 */,
692+ 4 /* 18/30-18/39 */,
693+ 5 /* 18/40-18/49 */,
694+ 5 /* 18/50-18/59 */,
695+ 5 /* 18/60-18/69 */,
696+ 6 /* 18/70-18/79 */,
697+ 6 /* 18/80-18/89 */,
698+ 7 /* 18/90-18/99 */,
699+ 8 /* 18/100-18/109 */,
700+ 8 /* 18/110-18/119 */,
701+ 8 /* 18/120-18/129 */,
702+ 8 /* 18/130-18/139 */,
703+ 8 /* 18/140-18/149 */,
704+ 9 /* 18/150-18/159 */,
705+ 9 /* 18/160-18/169 */,
706+ 9 /* 18/170-18/179 */,
707+ 9 /* 18/180-18/189 */,
708+ 9 /* 18/190-18/199 */,
709+ 10 /* 18/200-18/209 */,
710+ 10 /* 18/210-18/219 */,
711+ 10 /* 18/220+ */
712+};
713+
714+
715+/*!
716+ * 知力によるトラップ解除修正テーブル
717+ * Stat Table (INT) -- disarming
718+ */
719+const byte adj_int_dis[] =
720+{
721+ 0 /* 3 */,
722+ 0 /* 4 */,
723+ 0 /* 5 */,
724+ 0 /* 6 */,
725+ 0 /* 7 */,
726+ 1 /* 8 */,
727+ 1 /* 9 */,
728+ 1 /* 10 */,
729+ 1 /* 11 */,
730+ 1 /* 12 */,
731+ 1 /* 13 */,
732+ 1 /* 14 */,
733+ 2 /* 15 */,
734+ 2 /* 16 */,
735+ 2 /* 17 */,
736+ 3 /* 18/00-18/09 */,
737+ 3 /* 18/10-18/19 */,
738+ 3 /* 18/20-18/29 */,
739+ 4 /* 18/30-18/39 */,
740+ 4 /* 18/40-18/49 */,
741+ 5 /* 18/50-18/59 */,
742+ 6 /* 18/60-18/69 */,
743+ 7 /* 18/70-18/79 */,
744+ 8 /* 18/80-18/89 */,
745+ 9 /* 18/90-18/99 */,
746+ 10 /* 18/100-18/109 */,
747+ 10 /* 18/110-18/119 */,
748+ 11 /* 18/120-18/129 */,
749+ 12 /* 18/130-18/139 */,
750+ 13 /* 18/140-18/149 */,
751+ 14 /* 18/150-18/159 */,
752+ 15 /* 18/160-18/169 */,
753+ 16 /* 18/170-18/179 */,
754+ 17 /* 18/180-18/189 */,
755+ 18 /* 18/190-18/199 */,
756+ 19 /* 18/200-18/209 */,
757+ 19 /* 18/210-18/219 */,
758+ 20 /* 18/220+ */
759+};
760+
761+
762+/*!
763+ * 器用さによるAC修正テーブル
764+ * Stat Table (DEX) -- bonus to ac (plus 128)
765+ */
766+const byte adj_dex_ta[] =
767+{
768+ 128 + -4 /* 3 */,
769+ 128 + -3 /* 4 */,
770+ 128 + -2 /* 5 */,
771+ 128 + -1 /* 6 */,
772+ 128 + 0 /* 7 */,
773+ 128 + 0 /* 8 */,
774+ 128 + 0 /* 9 */,
775+ 128 + 0 /* 10 */,
776+ 128 + 0 /* 11 */,
777+ 128 + 0 /* 12 */,
778+ 128 + 0 /* 13 */,
779+ 128 + 0 /* 14 */,
780+ 128 + 1 /* 15 */,
781+ 128 + 1 /* 16 */,
782+ 128 + 1 /* 17 */,
783+ 128 + 2 /* 18/00-18/09 */,
784+ 128 + 2 /* 18/10-18/19 */,
785+ 128 + 2 /* 18/20-18/29 */,
786+ 128 + 2 /* 18/30-18/39 */,
787+ 128 + 2 /* 18/40-18/49 */,
788+ 128 + 3 /* 18/50-18/59 */,
789+ 128 + 3 /* 18/60-18/69 */,
790+ 128 + 3 /* 18/70-18/79 */,
791+ 128 + 4 /* 18/80-18/89 */,
792+ 128 + 5 /* 18/90-18/99 */,
793+ 128 + 6 /* 18/100-18/109 */,
794+ 128 + 7 /* 18/110-18/119 */,
795+ 128 + 8 /* 18/120-18/129 */,
796+ 128 + 9 /* 18/130-18/139 */,
797+ 128 + 9 /* 18/140-18/149 */,
798+ 128 + 10 /* 18/150-18/159 */,
799+ 128 + 11 /* 18/160-18/169 */,
800+ 128 + 12 /* 18/170-18/179 */,
801+ 128 + 13 /* 18/180-18/189 */,
802+ 128 + 14 /* 18/190-18/199 */,
803+ 128 + 15 /* 18/200-18/209 */,
804+ 128 + 15 /* 18/210-18/219 */,
805+ 128 + 16 /* 18/220+ */
806+};
807+
808+
809+/*!
810+ * 腕力によるダメージ修正テーブル
811+ * Stat Table (STR) -- bonus to dam (plus 128)
812+ */
813+const byte adj_str_td[] =
814+{
815+ 128 + -2 /* 3 */,
816+ 128 + -2 /* 4 */,
817+ 128 + -1 /* 5 */,
818+ 128 + -1 /* 6 */,
819+ 128 + 0 /* 7 */,
820+ 128 + 0 /* 8 */,
821+ 128 + 0 /* 9 */,
822+ 128 + 0 /* 10 */,
823+ 128 + 0 /* 11 */,
824+ 128 + 0 /* 12 */,
825+ 128 + 0 /* 13 */,
826+ 128 + 0 /* 14 */,
827+ 128 + 0 /* 15 */,
828+ 128 + 1 /* 16 */,
829+ 128 + 2 /* 17 */,
830+ 128 + 2 /* 18/00-18/09 */,
831+ 128 + 2 /* 18/10-18/19 */,
832+ 128 + 3 /* 18/20-18/29 */,
833+ 128 + 3 /* 18/30-18/39 */,
834+ 128 + 3 /* 18/40-18/49 */,
835+ 128 + 3 /* 18/50-18/59 */,
836+ 128 + 3 /* 18/60-18/69 */,
837+ 128 + 4 /* 18/70-18/79 */,
838+ 128 + 5 /* 18/80-18/89 */,
839+ 128 + 5 /* 18/90-18/99 */,
840+ 128 + 6 /* 18/100-18/109 */,
841+ 128 + 7 /* 18/110-18/119 */,
842+ 128 + 8 /* 18/120-18/129 */,
843+ 128 + 9 /* 18/130-18/139 */,
844+ 128 + 10 /* 18/140-18/149 */,
845+ 128 + 11 /* 18/150-18/159 */,
846+ 128 + 12 /* 18/160-18/169 */,
847+ 128 + 13 /* 18/170-18/179 */,
848+ 128 + 14 /* 18/180-18/189 */,
849+ 128 + 15 /* 18/190-18/199 */,
850+ 128 + 16 /* 18/200-18/209 */,
851+ 128 + 18 /* 18/210-18/219 */,
852+ 128 + 20 /* 18/220+ */
853+};
854+
855+
856+/*!
857+ * 器用度による命中修正テーブル
858+ * Stat Table (DEX) -- bonus to hit (plus 128)
859+ */
860+const byte adj_dex_th[] =
861+{
862+ 128 + -3 /* 3 */,
863+ 128 + -2 /* 4 */,
864+ 128 + -2 /* 5 */,
865+ 128 + -1 /* 6 */,
866+ 128 + -1 /* 7 */,
867+ 128 + 0 /* 8 */,
868+ 128 + 0 /* 9 */,
869+ 128 + 0 /* 10 */,
870+ 128 + 0 /* 11 */,
871+ 128 + 0 /* 12 */,
872+ 128 + 0 /* 13 */,
873+ 128 + 0 /* 14 */,
874+ 128 + 0 /* 15 */,
875+ 128 + 1 /* 16 */,
876+ 128 + 2 /* 17 */,
877+ 128 + 3 /* 18/00-18/09 */,
878+ 128 + 3 /* 18/10-18/19 */,
879+ 128 + 3 /* 18/20-18/29 */,
880+ 128 + 3 /* 18/30-18/39 */,
881+ 128 + 3 /* 18/40-18/49 */,
882+ 128 + 4 /* 18/50-18/59 */,
883+ 128 + 4 /* 18/60-18/69 */,
884+ 128 + 4 /* 18/70-18/79 */,
885+ 128 + 4 /* 18/80-18/89 */,
886+ 128 + 5 /* 18/90-18/99 */,
887+ 128 + 6 /* 18/100-18/109 */,
888+ 128 + 7 /* 18/110-18/119 */,
889+ 128 + 8 /* 18/120-18/129 */,
890+ 128 + 9 /* 18/130-18/139 */,
891+ 128 + 9 /* 18/140-18/149 */,
892+ 128 + 10 /* 18/150-18/159 */,
893+ 128 + 11 /* 18/160-18/169 */,
894+ 128 + 12 /* 18/170-18/179 */,
895+ 128 + 13 /* 18/180-18/189 */,
896+ 128 + 14 /* 18/190-18/199 */,
897+ 128 + 15 /* 18/200-18/209 */,
898+ 128 + 15 /* 18/210-18/219 */,
899+ 128 + 16 /* 18/220+ */
900+};
901+
902+
903+/*!
904+ * 腕力による命中修正テーブル
905+ * Stat Table (STR) -- bonus to hit (plus 128)
906+ */
907+const byte adj_str_th[] =
908+{
909+ 128 + -3 /* 3 */,
910+ 128 + -2 /* 4 */,
911+ 128 + -1 /* 5 */,
912+ 128 + -1 /* 6 */,
913+ 128 + 0 /* 7 */,
914+ 128 + 0 /* 8 */,
915+ 128 + 0 /* 9 */,
916+ 128 + 0 /* 10 */,
917+ 128 + 0 /* 11 */,
918+ 128 + 0 /* 12 */,
919+ 128 + 0 /* 13 */,
920+ 128 + 0 /* 14 */,
921+ 128 + 0 /* 15 */,
922+ 128 + 0 /* 16 */,
923+ 128 + 0 /* 17 */,
924+ 128 + 1 /* 18/00-18/09 */,
925+ 128 + 1 /* 18/10-18/19 */,
926+ 128 + 1 /* 18/20-18/29 */,
927+ 128 + 1 /* 18/30-18/39 */,
928+ 128 + 1 /* 18/40-18/49 */,
929+ 128 + 1 /* 18/50-18/59 */,
930+ 128 + 1 /* 18/60-18/69 */,
931+ 128 + 2 /* 18/70-18/79 */,
932+ 128 + 3 /* 18/80-18/89 */,
933+ 128 + 4 /* 18/90-18/99 */,
934+ 128 + 5 /* 18/100-18/109 */,
935+ 128 + 6 /* 18/110-18/119 */,
936+ 128 + 7 /* 18/120-18/129 */,
937+ 128 + 8 /* 18/130-18/139 */,
938+ 128 + 9 /* 18/140-18/149 */,
939+ 128 + 10 /* 18/150-18/159 */,
940+ 128 + 11 /* 18/160-18/169 */,
941+ 128 + 12 /* 18/170-18/179 */,
942+ 128 + 13 /* 18/180-18/189 */,
943+ 128 + 14 /* 18/190-18/199 */,
944+ 128 + 15 /* 18/200-18/209 */,
945+ 128 + 15 /* 18/210-18/219 */,
946+ 128 + 16 /* 18/220+ */
947+};
948+
949+
950+/*!
951+ * 腕力による基本所持重量値テーブル
952+ * Stat Table (STR) -- weight limit in deca-pounds
953+ */
954+const byte adj_str_wgt[] =
955+{
956+ 10 /* 3 */,
957+ 11 /* 4 */,
958+ 12 /* 5 */,
959+ 13 /* 6 */,
960+ 14 /* 7 */,
961+ 15 /* 8 */,
962+ 16 /* 9 */,
963+ 17 /* 10 */,
964+ 18 /* 11 */,
965+ 19 /* 12 */,
966+ 20 /* 13 */,
967+ 21 /* 14 */,
968+ 22 /* 15 */,
969+ 23 /* 16 */,
970+ 24 /* 17 */,
971+ 25 /* 18/00-18/09 */,
972+ 26 /* 18/10-18/19 */,
973+ 27 /* 18/20-18/29 */,
974+ 28 /* 18/30-18/39 */,
975+ 29 /* 18/40-18/49 */,
976+ 30 /* 18/50-18/59 */,
977+ 31 /* 18/60-18/69 */,
978+ 31 /* 18/70-18/79 */,
979+ 32 /* 18/80-18/89 */,
980+ 32 /* 18/90-18/99 */,
981+ 33 /* 18/100-18/109 */,
982+ 33 /* 18/110-18/119 */,
983+ 34 /* 18/120-18/129 */,
984+ 34 /* 18/130-18/139 */,
985+ 35 /* 18/140-18/149 */,
986+ 35 /* 18/150-18/159 */,
987+ 36 /* 18/160-18/169 */,
988+ 36 /* 18/170-18/179 */,
989+ 37 /* 18/180-18/189 */,
990+ 37 /* 18/190-18/199 */,
991+ 38 /* 18/200-18/209 */,
992+ 38 /* 18/210-18/219 */,
993+ 39 /* 18/220+ */
994+};
995+
996+
997+/*!
998+ * 腕力による武器重量限界値テーブル
999+ * Stat Table (STR) -- weapon weight limit in pounds
1000+ */
1001+const byte adj_str_hold[] =
1002+{
1003+ 4 /* 3 */,
1004+ 5 /* 4 */,
1005+ 6 /* 5 */,
1006+ 7 /* 6 */,
1007+ 8 /* 7 */,
1008+ 9 /* 8 */,
1009+ 10 /* 9 */,
1010+ 11 /* 10 */,
1011+ 12 /* 11 */,
1012+ 13 /* 12 */,
1013+ 14 /* 13 */,
1014+ 15 /* 14 */,
1015+ 16 /* 15 */,
1016+ 17 /* 16 */,
1017+ 18 /* 17 */,
1018+ 19 /* 18/00-18/09 */,
1019+ 20 /* 18/10-18/19 */,
1020+ 21 /* 18/20-18/29 */,
1021+ 22 /* 18/30-18/39 */,
1022+ 23 /* 18/40-18/49 */,
1023+ 24 /* 18/50-18/59 */,
1024+ 25 /* 18/60-18/69 */,
1025+ 26 /* 18/70-18/79 */,
1026+ 27 /* 18/80-18/89 */,
1027+ 28 /* 18/90-18/99 */,
1028+ 30 /* 18/100-18/109 */,
1029+ 31 /* 18/110-18/119 */,
1030+ 32 /* 18/120-18/129 */,
1031+ 33 /* 18/130-18/139 */,
1032+ 34 /* 18/140-18/149 */,
1033+ 35 /* 18/150-18/159 */,
1034+ 37 /* 18/160-18/169 */,
1035+ 40 /* 18/170-18/179 */,
1036+ 44 /* 18/180-18/189 */,
1037+ 48 /* 18/190-18/199 */,
1038+ 50 /* 18/200-18/209 */,
1039+ 50 /* 18/210-18/219 */,
1040+ 50 /* 18/220+ */
1041+};
1042+
1043+
1044+/*!
1045+ * 腕力による採掘能力修正値テーブル
1046+ * Stat Table (STR) -- digging value
1047+ */
1048+const byte adj_str_dig[] =
1049+{
1050+ 0 /* 3 */,
1051+ 0 /* 4 */,
1052+ 1 /* 5 */,
1053+ 2 /* 6 */,
1054+ 3 /* 7 */,
1055+ 4 /* 8 */,
1056+ 4 /* 9 */,
1057+ 5 /* 10 */,
1058+ 5 /* 11 */,
1059+ 6 /* 12 */,
1060+ 6 /* 13 */,
1061+ 7 /* 14 */,
1062+ 7 /* 15 */,
1063+ 8 /* 16 */,
1064+ 8 /* 17 */,
1065+ 9 /* 18/00-18/09 */,
1066+ 10 /* 18/10-18/19 */,
1067+ 12 /* 18/20-18/29 */,
1068+ 15 /* 18/30-18/39 */,
1069+ 20 /* 18/40-18/49 */,
1070+ 25 /* 18/50-18/59 */,
1071+ 30 /* 18/60-18/69 */,
1072+ 35 /* 18/70-18/79 */,
1073+ 40 /* 18/80-18/89 */,
1074+ 45 /* 18/90-18/99 */,
1075+ 50 /* 18/100-18/109 */,
1076+ 55 /* 18/110-18/119 */,
1077+ 60 /* 18/120-18/129 */,
1078+ 65 /* 18/130-18/139 */,
1079+ 70 /* 18/140-18/149 */,
1080+ 75 /* 18/150-18/159 */,
1081+ 80 /* 18/160-18/169 */,
1082+ 85 /* 18/170-18/179 */,
1083+ 90 /* 18/180-18/189 */,
1084+ 95 /* 18/190-18/199 */,
1085+ 100 /* 18/200-18/209 */,
1086+ 100 /* 18/210-18/219 */,
1087+ 100 /* 18/220+ */
1088+};
1089+
1090+/*!
1091+ * 器用さによる盗難防止&体当たり成功判定修正テーブル
1092+ * Stat Table (DEX) -- chance of avoiding "theft" and "falling"
1093+ */
1094+const byte adj_dex_safe[] =
1095+{
1096+ 0 /* 3 */,
1097+ 1 /* 4 */,
1098+ 2 /* 5 */,
1099+ 3 /* 6 */,
1100+ 4 /* 7 */,
1101+ 5 /* 8 */,
1102+ 5 /* 9 */,
1103+ 6 /* 10 */,
1104+ 6 /* 11 */,
1105+ 7 /* 12 */,
1106+ 7 /* 13 */,
1107+ 8 /* 14 */,
1108+ 8 /* 15 */,
1109+ 9 /* 16 */,
1110+ 9 /* 17 */,
1111+ 10 /* 18/00-18/09 */,
1112+ 10 /* 18/10-18/19 */,
1113+ 15 /* 18/20-18/29 */,
1114+ 15 /* 18/30-18/39 */,
1115+ 20 /* 18/40-18/49 */,
1116+ 25 /* 18/50-18/59 */,
1117+ 30 /* 18/60-18/69 */,
1118+ 35 /* 18/70-18/79 */,
1119+ 40 /* 18/80-18/89 */,
1120+ 45 /* 18/90-18/99 */,
1121+ 50 /* 18/100-18/109 */,
1122+ 60 /* 18/110-18/119 */,
1123+ 70 /* 18/120-18/129 */,
1124+ 80 /* 18/130-18/139 */,
1125+ 90 /* 18/140-18/149 */,
1126+ 100 /* 18/150-18/159 */,
1127+ 100 /* 18/160-18/169 */,
1128+ 100 /* 18/170-18/179 */,
1129+ 100 /* 18/180-18/189 */,
1130+ 100 /* 18/190-18/199 */,
1131+ 100 /* 18/200-18/209 */,
1132+ 100 /* 18/210-18/219 */,
1133+ 100 /* 18/220+ */
1134+};
1135+
1136+
1137+/*!
1138+ * 耐久による基本HP自然治癒値テーブル /
1139+ * Stat Table (CON) -- base regeneration rate
1140+ */
1141+const byte adj_con_fix[] =
1142+{
1143+ 0 /* 3 */,
1144+ 0 /* 4 */,
1145+ 0 /* 5 */,
1146+ 0 /* 6 */,
1147+ 0 /* 7 */,
1148+ 0 /* 8 */,
1149+ 0 /* 9 */,
1150+ 0 /* 10 */,
1151+ 0 /* 11 */,
1152+ 0 /* 12 */,
1153+ 0 /* 13 */,
1154+ 1 /* 14 */,
1155+ 1 /* 15 */,
1156+ 1 /* 16 */,
1157+ 1 /* 17 */,
1158+ 2 /* 18/00-18/09 */,
1159+ 2 /* 18/10-18/19 */,
1160+ 2 /* 18/20-18/29 */,
1161+ 2 /* 18/30-18/39 */,
1162+ 2 /* 18/40-18/49 */,
1163+ 3 /* 18/50-18/59 */,
1164+ 3 /* 18/60-18/69 */,
1165+ 3 /* 18/70-18/79 */,
1166+ 3 /* 18/80-18/89 */,
1167+ 3 /* 18/90-18/99 */,
1168+ 4 /* 18/100-18/109 */,
1169+ 4 /* 18/110-18/119 */,
1170+ 5 /* 18/120-18/129 */,
1171+ 6 /* 18/130-18/139 */,
1172+ 6 /* 18/140-18/149 */,
1173+ 7 /* 18/150-18/159 */,
1174+ 7 /* 18/160-18/169 */,
1175+ 8 /* 18/170-18/179 */,
1176+ 8 /* 18/180-18/189 */,
1177+ 8 /* 18/190-18/199 */,
1178+ 9 /* 18/200-18/209 */,
1179+ 9 /* 18/210-18/219 */,
1180+ 9 /* 18/220+ */
1181+};
1182+
1183+
1184+/*!
1185+ * 耐久による基本HP自然治癒値テーブル /
1186+ * Stat Table (CON) -- extra 1/4-hitpoints per level (plus 128)
1187+ */
1188+const byte adj_con_mhp[] =
1189+{
1190+ 128 + -8 /* 3 */,
1191+ 128 + -6 /* 4 */,
1192+ 128 + -4 /* 5 */,
1193+ 128 + -2 /* 6 */,
1194+ 128 + -1 /* 7 */,
1195+ 128 + 0 /* 8 */,
1196+ 128 + 0 /* 9 */,
1197+ 128 + 0 /* 10 */,
1198+ 128 + 0 /* 11 */,
1199+ 128 + 0 /* 12 */,
1200+ 128 + 0 /* 13 */,
1201+ 128 + 1 /* 14 */,
1202+ 128 + 1 /* 15 */,
1203+ 128 + 2 /* 16 */,
1204+ 128 + 3 /* 17 */,
1205+ 128 + 4 /* 18/00-18/09 */,
1206+ 128 + 5 /* 18/10-18/19 */,
1207+ 128 + 6 /* 18/20-18/29 */,
1208+ 128 + 7 /* 18/30-18/39 */,
1209+ 128 + 8 /* 18/40-18/49 */,
1210+ 128 + 9 /* 18/50-18/59 */,
1211+ 128 + 10 /* 18/60-18/69 */,
1212+ 128 + 11 /* 18/70-18/79 */,
1213+ 128 + 12 /* 18/80-18/89 */,
1214+ 128 + 14 /* 18/90-18/99 */,
1215+ 128 + 17 /* 18/100-18/109 */,
1216+ 128 + 20 /* 18/110-18/119 */,
1217+ 128 + 23 /* 18/120-18/129 */,
1218+ 128 + 26 /* 18/130-18/139 */,
1219+ 128 + 29 /* 18/140-18/149 */,
1220+ 128 + 32 /* 18/150-18/159 */,
1221+ 128 + 35 /* 18/160-18/169 */,
1222+ 128 + 38 /* 18/170-18/179 */,
1223+ 128 + 40 /* 18/180-18/189 */,
1224+ 128 + 42 /* 18/190-18/199 */,
1225+ 128 + 44 /* 18/200-18/209 */,
1226+ 128 + 46 /* 18/210-18/219 */,
1227+ 128 + 48 /* 18/220+ */
1228+};
1229+
1230+
1231+/*!
1232+ * 魅力による魅了能力修正テーブル /
1233+ * Stat Table (CHR) -- charm
1234+ */
1235+const byte adj_chr_chm[] =
1236+{
1237+ 0 /* 3 */,
1238+ 0 /* 4 */,
1239+ 1 /* 5 */,
1240+ 2 /* 6 */,
1241+ 3 /* 7 */,
1242+ 4 /* 8 */,
1243+ 4 /* 9 */,
1244+ 5 /* 10 */,
1245+ 5 /* 11 */,
1246+ 6 /* 12 */,
1247+ 6 /* 13 */,
1248+ 7 /* 14 */,
1249+ 7 /* 15 */,
1250+ 8 /* 16 */,
1251+ 8 /* 17 */,
1252+ 9 /* 18/00-18/09 */,
1253+ 10 /* 18/10-18/19 */,
1254+ 12 /* 18/20-18/29 */,
1255+ 15 /* 18/30-18/39 */,
1256+ 18 /* 18/40-18/49 */,
1257+ 21 /* 18/50-18/59 */,
1258+ 24 /* 18/60-18/69 */,
1259+ 28 /* 18/70-18/79 */,
1260+ 32 /* 18/80-18/89 */,
1261+ 36 /* 18/90-18/99 */,
1262+ 39 /* 18/100-18/109 */,
1263+ 42 /* 18/110-18/119 */,
1264+ 45 /* 18/120-18/129 */,
1265+ 49 /* 18/130-18/139 */,
1266+ 53 /* 18/140-18/149 */,
1267+ 57 /* 18/150-18/159 */,
1268+ 61 /* 18/160-18/169 */,
1269+ 65 /* 18/170-18/179 */,
1270+ 69 /* 18/180-18/189 */,
1271+ 73 /* 18/190-18/199 */,
1272+ 77 /* 18/200-18/209 */,
1273+ 81 /* 18/210-18/219 */,
1274+ 85 /* 18/220+ */
1275+};
1276+
1277+
3381278 /*** Player information ***/
3391279
3401280 /*
--- a/src/player-status.h
+++ b/src/player-status.h
@@ -53,6 +53,28 @@
5353 #define SEX_MALE 1
5454 #define MAX_SEXES 2 /*!< 性別の定義最大数 / Maximum number of player "sex" types (see "table.c", etc) */
5555
56+extern const byte adj_mag_study[];
57+extern const byte adj_mag_mana[];
58+extern const byte adj_mag_fail[];
59+extern const byte adj_mag_stat[];
60+extern const byte adj_chr_gold[];
61+extern const byte adj_int_dev[];
62+extern const byte adj_wis_sav[];
63+extern const byte adj_dex_dis[];
64+extern const byte adj_int_dis[];
65+extern const byte adj_dex_ta[];
66+extern const byte adj_str_td[];
67+extern const byte adj_dex_th[];
68+extern const byte adj_str_th[];
69+extern const byte adj_str_wgt[];
70+extern const byte adj_str_hold[];
71+extern const byte adj_str_dig[];
72+extern const byte adj_dex_safe[];
73+extern const byte adj_con_fix[];
74+extern const byte adj_con_mhp[];
75+extern const byte adj_chr_chm[];
76+
77+
5678 extern const concptr stat_names[6];
5779 extern const concptr stat_names_reduced[6];
5880
--- a/src/tables.c
+++ b/src/tables.c
@@ -14,941 +14,3 @@
1414
1515 #include "angband.h"
1616 #include "spells.h"
17-
18-/*!
19- * 知力/賢さによるレベル毎の習得可能魔法数テーブル
20- * Stat Table (INT/WIS) -- Number of half-spells per level
21- */
22-const byte adj_mag_study[] =
23-{
24- 0 /* 3 */,
25- 0 /* 4 */,
26- 0 /* 5 */,
27- 0 /* 6 */,
28- 0 /* 7 */,
29- 1 /* 8 */,
30- 1 /* 9 */,
31- 1 /* 10 */,
32- 1 /* 11 */,
33- 2 /* 12 */,
34- 2 /* 13 */,
35- 2 /* 14 */,
36- 2 /* 15 */,
37- 2 /* 16 */,
38- 2 /* 17 */,
39- 2 /* 18/00-18/09 */,
40- 2 /* 18/10-18/19 */,
41- 2 /* 18/20-18/29 */,
42- 2 /* 18/30-18/39 */,
43- 2 /* 18/40-18/49 */,
44- 3 /* 18/50-18/59 */,
45- 3 /* 18/60-18/69 */,
46- 3 /* 18/70-18/79 */,
47- 3 /* 18/80-18/89 */,
48- 4 /* 18/90-18/99 */,
49- 4 /* 18/100-18/109 */,
50- 4 /* 18/110-18/119 */,
51- 5 /* 18/120-18/129 */,
52- 5 /* 18/130-18/139 */,
53- 5 /* 18/140-18/149 */,
54- 5 /* 18/150-18/159 */,
55- 5 /* 18/160-18/169 */,
56- 5 /* 18/170-18/179 */,
57- 5 /* 18/180-18/189 */,
58- 5 /* 18/190-18/199 */,
59- 5 /* 18/200-18/209 */,
60- 6 /* 18/210-18/219 */,
61- 6 /* 18/220+ */
62-};
63-
64-
65-/*!
66- * 知力/賢さによるMP修正テーブル
67- * Stat Table (INT/WIS) -- extra 1/4-mana-points per level
68- */
69-const byte adj_mag_mana[] =
70-{
71- 0 /* 3 */,
72- 0 /* 4 */,
73- 0 /* 5 */,
74- 0 /* 6 */,
75- 0 /* 7 */,
76- 1 /* 8 */,
77- 2 /* 9 */,
78- 3 /* 10 */,
79- 4 /* 11 */,
80- 5 /* 12 */,
81- 5 /* 13 */,
82- 6 /* 14 */,
83- 7 /* 15 */,
84- 8 /* 16 */,
85- 9 /* 17 */,
86- 10 /* 18/00-18/09 */,
87- 11 /* 18/10-18/19 */,
88- 11 /* 18/20-18/29 */,
89- 12 /* 18/30-18/39 */,
90- 12 /* 18/40-18/49 */,
91- 13 /* 18/50-18/59 */,
92- 14 /* 18/60-18/69 */,
93- 15 /* 18/70-18/79 */,
94- 16 /* 18/80-18/89 */,
95- 17 /* 18/90-18/99 */,
96- 18 /* 18/100-18/109 */,
97- 19 /* 18/110-18/119 */,
98- 20 /* 18/120-18/129 */,
99- 21 /* 18/130-18/139 */,
100- 22 /* 18/140-18/149 */,
101- 23 /* 18/150-18/159 */,
102- 24 /* 18/160-18/169 */,
103- 25 /* 18/170-18/179 */,
104- 26 /* 18/180-18/189 */,
105- 27 /* 18/190-18/199 */,
106- 28 /* 18/200-18/209 */,
107- 29 /* 18/210-18/219 */,
108- 30 /* 18/220+ */
109-};
110-
111-
112-/*!
113- * 知力/賢さによる最低魔法失敗率テーブル
114- * Stat Table (INT/WIS) -- Minimum failure rate (percentage)
115- */
116-const byte adj_mag_fail[] =
117-{
118- 99 /* 3 */,
119- 99 /* 4 */,
120- 99 /* 5 */,
121- 99 /* 6 */,
122- 99 /* 7 */,
123- 50 /* 8 */,
124- 30 /* 9 */,
125- 20 /* 10 */,
126- 15 /* 11 */,
127- 12 /* 12 */,
128- 11 /* 13 */,
129- 10 /* 14 */,
130- 9 /* 15 */,
131- 8 /* 16 */,
132- 7 /* 17 */,
133- 6 /* 18/00-18/09 */,
134- 6 /* 18/10-18/19 */,
135- 5 /* 18/20-18/29 */,
136- 5 /* 18/30-18/39 */,
137- 5 /* 18/40-18/49 */,
138- 4 /* 18/50-18/59 */,
139- 4 /* 18/60-18/69 */,
140- 4 /* 18/70-18/79 */,
141- 4 /* 18/80-18/89 */,
142- 3 /* 18/90-18/99 */,
143- 3 /* 18/100-18/109 */,
144- 2 /* 18/110-18/119 */,
145- 2 /* 18/120-18/129 */,
146- 2 /* 18/130-18/139 */,
147- 2 /* 18/140-18/149 */,
148- 1 /* 18/150-18/159 */,
149- 1 /* 18/160-18/169 */,
150- 1 /* 18/170-18/179 */,
151- 1 /* 18/180-18/189 */,
152- 1 /* 18/190-18/199 */,
153- 0 /* 18/200-18/209 */,
154- 0 /* 18/210-18/219 */,
155- 0 /* 18/220+ */
156-};
157-
158-
159-/*!
160- * 知力/賢さによる魔法失敗率修正テーブル
161- * Stat Table (INT/WIS) -- Various things
162- */
163-const byte adj_mag_stat[] =
164-{
165- 0 /* 3 */,
166- 0 /* 4 */,
167- 0 /* 5 */,
168- 0 /* 6 */,
169- 0 /* 7 */,
170- 1 /* 8 */,
171- 1 /* 9 */,
172- 1 /* 10 */,
173- 1 /* 11 */,
174- 1 /* 12 */,
175- 1 /* 13 */,
176- 1 /* 14 */,
177- 2 /* 15 */,
178- 2 /* 16 */,
179- 2 /* 17 */,
180- 3 /* 18/00-18/09 */,
181- 3 /* 18/10-18/19 */,
182- 3 /* 18/20-18/29 */,
183- 3 /* 18/30-18/39 */,
184- 3 /* 18/40-18/49 */,
185- 4 /* 18/50-18/59 */,
186- 4 /* 18/60-18/69 */,
187- 5 /* 18/70-18/79 */,
188- 6 /* 18/80-18/89 */,
189- 7 /* 18/90-18/99 */,
190- 8 /* 18/100-18/109 */,
191- 9 /* 18/110-18/119 */,
192- 10 /* 18/120-18/129 */,
193- 11 /* 18/130-18/139 */,
194- 12 /* 18/140-18/149 */,
195- 13 /* 18/150-18/159 */,
196- 14 /* 18/160-18/169 */,
197- 15 /* 18/170-18/179 */,
198- 16 /* 18/180-18/189 */,
199- 17 /* 18/190-18/199 */,
200- 18 /* 18/200-18/209 */,
201- 19 /* 18/210-18/219 */,
202- 20 /* 18/220+ */
203-};
204-
205-
206-/*!
207- * 魅力による店での取引修正テーブル
208- * Stat Table (CHR) -- payment percentages
209- */
210-const byte adj_chr_gold[] =
211-{
212- 130 /* 3 */,
213- 125 /* 4 */,
214- 122 /* 5 */,
215- 120 /* 6 */,
216- 118 /* 7 */,
217- 116 /* 8 */,
218- 114 /* 9 */,
219- 112 /* 10 */,
220- 110 /* 11 */,
221- 108 /* 12 */,
222- 106 /* 13 */,
223- 104 /* 14 */,
224- 103 /* 15 */,
225- 102 /* 16 */,
226- 101 /* 17 */,
227- 100 /* 18/00-18/09 */,
228- 99 /* 18/10-18/19 */,
229- 98 /* 18/20-18/29 */,
230- 97 /* 18/30-18/39 */,
231- 96 /* 18/40-18/49 */,
232- 95 /* 18/50-18/59 */,
233- 94 /* 18/60-18/69 */,
234- 93 /* 18/70-18/79 */,
235- 92 /* 18/80-18/89 */,
236- 91 /* 18/90-18/99 */,
237- 90 /* 18/100-18/109 */,
238- 89 /* 18/110-18/119 */,
239- 88 /* 18/120-18/129 */,
240- 87 /* 18/130-18/139 */,
241- 86 /* 18/140-18/149 */,
242- 85 /* 18/150-18/159 */,
243- 84 /* 18/160-18/169 */,
244- 83 /* 18/170-18/179 */,
245- 82 /* 18/180-18/189 */,
246- 81 /* 18/190-18/199 */,
247- 80 /* 18/200-18/209 */,
248- 79 /* 18/210-18/219 */,
249- 78 /* 18/220+ */
250-};
251-
252-
253-/*!
254- * 知力による魔道具使用修正テーブル
255- * Stat Table (INT) -- Magic devices
256- */
257-const byte adj_int_dev[] =
258-{
259- 0 /* 3 */,
260- 0 /* 4 */,
261- 0 /* 5 */,
262- 0 /* 6 */,
263- 0 /* 7 */,
264- 1 /* 8 */,
265- 1 /* 9 */,
266- 1 /* 10 */,
267- 1 /* 11 */,
268- 1 /* 12 */,
269- 1 /* 13 */,
270- 1 /* 14 */,
271- 2 /* 15 */,
272- 2 /* 16 */,
273- 2 /* 17 */,
274- 3 /* 18/00-18/09 */,
275- 3 /* 18/10-18/19 */,
276- 4 /* 18/20-18/29 */,
277- 4 /* 18/30-18/39 */,
278- 5 /* 18/40-18/49 */,
279- 5 /* 18/50-18/59 */,
280- 6 /* 18/60-18/69 */,
281- 6 /* 18/70-18/79 */,
282- 7 /* 18/80-18/89 */,
283- 7 /* 18/90-18/99 */,
284- 8 /* 18/100-18/109 */,
285- 9 /* 18/110-18/119 */,
286- 10 /* 18/120-18/129 */,
287- 11 /* 18/130-18/139 */,
288- 12 /* 18/140-18/149 */,
289- 13 /* 18/150-18/159 */,
290- 14 /* 18/160-18/169 */,
291- 15 /* 18/170-18/179 */,
292- 16 /* 18/180-18/189 */,
293- 17 /* 18/190-18/199 */,
294- 18 /* 18/200-18/209 */,
295- 19 /* 18/210-18/219 */,
296- 20 /* 18/220+ */
297-};
298-
299-
300-/*!
301- * 賢さによる魔法防御修正テーブル
302- * Stat Table (WIS) -- Saving throw
303- */
304-const byte adj_wis_sav[] =
305-{
306- 0 /* 3 */,
307- 0 /* 4 */,
308- 0 /* 5 */,
309- 0 /* 6 */,
310- 0 /* 7 */,
311- 1 /* 8 */,
312- 1 /* 9 */,
313- 1 /* 10 */,
314- 1 /* 11 */,
315- 1 /* 12 */,
316- 1 /* 13 */,
317- 1 /* 14 */,
318- 2 /* 15 */,
319- 2 /* 16 */,
320- 2 /* 17 */,
321- 3 /* 18/00-18/09 */,
322- 3 /* 18/10-18/19 */,
323- 3 /* 18/20-18/29 */,
324- 3 /* 18/30-18/39 */,
325- 3 /* 18/40-18/49 */,
326- 4 /* 18/50-18/59 */,
327- 4 /* 18/60-18/69 */,
328- 5 /* 18/70-18/79 */,
329- 5 /* 18/80-18/89 */,
330- 6 /* 18/90-18/99 */,
331- 7 /* 18/100-18/109 */,
332- 8 /* 18/110-18/119 */,
333- 9 /* 18/120-18/129 */,
334- 10 /* 18/130-18/139 */,
335- 11 /* 18/140-18/149 */,
336- 12 /* 18/150-18/159 */,
337- 13 /* 18/160-18/169 */,
338- 14 /* 18/170-18/179 */,
339- 15 /* 18/180-18/189 */,
340- 16 /* 18/190-18/199 */,
341- 17 /* 18/200-18/209 */,
342- 18 /* 18/210-18/219 */,
343- 19 /* 18/220+ */
344-};
345-
346-
347-/*!
348- * 器用さによるトラップ解除修正テーブル
349- * Stat Table (DEX) -- disarming
350- */
351-const byte adj_dex_dis[] =
352-{
353- 0 /* 3 */,
354- 0 /* 4 */,
355- 0 /* 5 */,
356- 0 /* 6 */,
357- 0 /* 7 */,
358- 0 /* 8 */,
359- 0 /* 9 */,
360- 0 /* 10 */,
361- 0 /* 11 */,
362- 0 /* 12 */,
363- 1 /* 13 */,
364- 1 /* 14 */,
365- 1 /* 15 */,
366- 2 /* 16 */,
367- 2 /* 17 */,
368- 4 /* 18/00-18/09 */,
369- 4 /* 18/10-18/19 */,
370- 4 /* 18/20-18/29 */,
371- 4 /* 18/30-18/39 */,
372- 5 /* 18/40-18/49 */,
373- 5 /* 18/50-18/59 */,
374- 5 /* 18/60-18/69 */,
375- 6 /* 18/70-18/79 */,
376- 6 /* 18/80-18/89 */,
377- 7 /* 18/90-18/99 */,
378- 8 /* 18/100-18/109 */,
379- 8 /* 18/110-18/119 */,
380- 8 /* 18/120-18/129 */,
381- 8 /* 18/130-18/139 */,
382- 8 /* 18/140-18/149 */,
383- 9 /* 18/150-18/159 */,
384- 9 /* 18/160-18/169 */,
385- 9 /* 18/170-18/179 */,
386- 9 /* 18/180-18/189 */,
387- 9 /* 18/190-18/199 */,
388- 10 /* 18/200-18/209 */,
389- 10 /* 18/210-18/219 */,
390- 10 /* 18/220+ */
391-};
392-
393-
394-/*!
395- * 知力によるトラップ解除修正テーブル
396- * Stat Table (INT) -- disarming
397- */
398-const byte adj_int_dis[] =
399-{
400- 0 /* 3 */,
401- 0 /* 4 */,
402- 0 /* 5 */,
403- 0 /* 6 */,
404- 0 /* 7 */,
405- 1 /* 8 */,
406- 1 /* 9 */,
407- 1 /* 10 */,
408- 1 /* 11 */,
409- 1 /* 12 */,
410- 1 /* 13 */,
411- 1 /* 14 */,
412- 2 /* 15 */,
413- 2 /* 16 */,
414- 2 /* 17 */,
415- 3 /* 18/00-18/09 */,
416- 3 /* 18/10-18/19 */,
417- 3 /* 18/20-18/29 */,
418- 4 /* 18/30-18/39 */,
419- 4 /* 18/40-18/49 */,
420- 5 /* 18/50-18/59 */,
421- 6 /* 18/60-18/69 */,
422- 7 /* 18/70-18/79 */,
423- 8 /* 18/80-18/89 */,
424- 9 /* 18/90-18/99 */,
425- 10 /* 18/100-18/109 */,
426- 10 /* 18/110-18/119 */,
427- 11 /* 18/120-18/129 */,
428- 12 /* 18/130-18/139 */,
429- 13 /* 18/140-18/149 */,
430- 14 /* 18/150-18/159 */,
431- 15 /* 18/160-18/169 */,
432- 16 /* 18/170-18/179 */,
433- 17 /* 18/180-18/189 */,
434- 18 /* 18/190-18/199 */,
435- 19 /* 18/200-18/209 */,
436- 19 /* 18/210-18/219 */,
437- 20 /* 18/220+ */
438-};
439-
440-
441-/*!
442- * 器用さによるAC修正テーブル
443- * Stat Table (DEX) -- bonus to ac (plus 128)
444- */
445-const byte adj_dex_ta[] =
446-{
447- 128 + -4 /* 3 */,
448- 128 + -3 /* 4 */,
449- 128 + -2 /* 5 */,
450- 128 + -1 /* 6 */,
451- 128 + 0 /* 7 */,
452- 128 + 0 /* 8 */,
453- 128 + 0 /* 9 */,
454- 128 + 0 /* 10 */,
455- 128 + 0 /* 11 */,
456- 128 + 0 /* 12 */,
457- 128 + 0 /* 13 */,
458- 128 + 0 /* 14 */,
459- 128 + 1 /* 15 */,
460- 128 + 1 /* 16 */,
461- 128 + 1 /* 17 */,
462- 128 + 2 /* 18/00-18/09 */,
463- 128 + 2 /* 18/10-18/19 */,
464- 128 + 2 /* 18/20-18/29 */,
465- 128 + 2 /* 18/30-18/39 */,
466- 128 + 2 /* 18/40-18/49 */,
467- 128 + 3 /* 18/50-18/59 */,
468- 128 + 3 /* 18/60-18/69 */,
469- 128 + 3 /* 18/70-18/79 */,
470- 128 + 4 /* 18/80-18/89 */,
471- 128 + 5 /* 18/90-18/99 */,
472- 128 + 6 /* 18/100-18/109 */,
473- 128 + 7 /* 18/110-18/119 */,
474- 128 + 8 /* 18/120-18/129 */,
475- 128 + 9 /* 18/130-18/139 */,
476- 128 + 9 /* 18/140-18/149 */,
477- 128 + 10 /* 18/150-18/159 */,
478- 128 + 11 /* 18/160-18/169 */,
479- 128 + 12 /* 18/170-18/179 */,
480- 128 + 13 /* 18/180-18/189 */,
481- 128 + 14 /* 18/190-18/199 */,
482- 128 + 15 /* 18/200-18/209 */,
483- 128 + 15 /* 18/210-18/219 */,
484- 128 + 16 /* 18/220+ */
485-};
486-
487-
488-/*!
489- * 腕力によるダメージ修正テーブル
490- * Stat Table (STR) -- bonus to dam (plus 128)
491- */
492-const byte adj_str_td[] =
493-{
494- 128 + -2 /* 3 */,
495- 128 + -2 /* 4 */,
496- 128 + -1 /* 5 */,
497- 128 + -1 /* 6 */,
498- 128 + 0 /* 7 */,
499- 128 + 0 /* 8 */,
500- 128 + 0 /* 9 */,
501- 128 + 0 /* 10 */,
502- 128 + 0 /* 11 */,
503- 128 + 0 /* 12 */,
504- 128 + 0 /* 13 */,
505- 128 + 0 /* 14 */,
506- 128 + 0 /* 15 */,
507- 128 + 1 /* 16 */,
508- 128 + 2 /* 17 */,
509- 128 + 2 /* 18/00-18/09 */,
510- 128 + 2 /* 18/10-18/19 */,
511- 128 + 3 /* 18/20-18/29 */,
512- 128 + 3 /* 18/30-18/39 */,
513- 128 + 3 /* 18/40-18/49 */,
514- 128 + 3 /* 18/50-18/59 */,
515- 128 + 3 /* 18/60-18/69 */,
516- 128 + 4 /* 18/70-18/79 */,
517- 128 + 5 /* 18/80-18/89 */,
518- 128 + 5 /* 18/90-18/99 */,
519- 128 + 6 /* 18/100-18/109 */,
520- 128 + 7 /* 18/110-18/119 */,
521- 128 + 8 /* 18/120-18/129 */,
522- 128 + 9 /* 18/130-18/139 */,
523- 128 + 10 /* 18/140-18/149 */,
524- 128 + 11 /* 18/150-18/159 */,
525- 128 + 12 /* 18/160-18/169 */,
526- 128 + 13 /* 18/170-18/179 */,
527- 128 + 14 /* 18/180-18/189 */,
528- 128 + 15 /* 18/190-18/199 */,
529- 128 + 16 /* 18/200-18/209 */,
530- 128 + 18 /* 18/210-18/219 */,
531- 128 + 20 /* 18/220+ */
532-};
533-
534-
535-/*!
536- * 器用度による命中修正テーブル
537- * Stat Table (DEX) -- bonus to hit (plus 128)
538- */
539-const byte adj_dex_th[] =
540-{
541- 128 + -3 /* 3 */,
542- 128 + -2 /* 4 */,
543- 128 + -2 /* 5 */,
544- 128 + -1 /* 6 */,
545- 128 + -1 /* 7 */,
546- 128 + 0 /* 8 */,
547- 128 + 0 /* 9 */,
548- 128 + 0 /* 10 */,
549- 128 + 0 /* 11 */,
550- 128 + 0 /* 12 */,
551- 128 + 0 /* 13 */,
552- 128 + 0 /* 14 */,
553- 128 + 0 /* 15 */,
554- 128 + 1 /* 16 */,
555- 128 + 2 /* 17 */,
556- 128 + 3 /* 18/00-18/09 */,
557- 128 + 3 /* 18/10-18/19 */,
558- 128 + 3 /* 18/20-18/29 */,
559- 128 + 3 /* 18/30-18/39 */,
560- 128 + 3 /* 18/40-18/49 */,
561- 128 + 4 /* 18/50-18/59 */,
562- 128 + 4 /* 18/60-18/69 */,
563- 128 + 4 /* 18/70-18/79 */,
564- 128 + 4 /* 18/80-18/89 */,
565- 128 + 5 /* 18/90-18/99 */,
566- 128 + 6 /* 18/100-18/109 */,
567- 128 + 7 /* 18/110-18/119 */,
568- 128 + 8 /* 18/120-18/129 */,
569- 128 + 9 /* 18/130-18/139 */,
570- 128 + 9 /* 18/140-18/149 */,
571- 128 + 10 /* 18/150-18/159 */,
572- 128 + 11 /* 18/160-18/169 */,
573- 128 + 12 /* 18/170-18/179 */,
574- 128 + 13 /* 18/180-18/189 */,
575- 128 + 14 /* 18/190-18/199 */,
576- 128 + 15 /* 18/200-18/209 */,
577- 128 + 15 /* 18/210-18/219 */,
578- 128 + 16 /* 18/220+ */
579-};
580-
581-
582-/*!
583- * 腕力による命中修正テーブル
584- * Stat Table (STR) -- bonus to hit (plus 128)
585- */
586-const byte adj_str_th[] =
587-{
588- 128 + -3 /* 3 */,
589- 128 + -2 /* 4 */,
590- 128 + -1 /* 5 */,
591- 128 + -1 /* 6 */,
592- 128 + 0 /* 7 */,
593- 128 + 0 /* 8 */,
594- 128 + 0 /* 9 */,
595- 128 + 0 /* 10 */,
596- 128 + 0 /* 11 */,
597- 128 + 0 /* 12 */,
598- 128 + 0 /* 13 */,
599- 128 + 0 /* 14 */,
600- 128 + 0 /* 15 */,
601- 128 + 0 /* 16 */,
602- 128 + 0 /* 17 */,
603- 128 + 1 /* 18/00-18/09 */,
604- 128 + 1 /* 18/10-18/19 */,
605- 128 + 1 /* 18/20-18/29 */,
606- 128 + 1 /* 18/30-18/39 */,
607- 128 + 1 /* 18/40-18/49 */,
608- 128 + 1 /* 18/50-18/59 */,
609- 128 + 1 /* 18/60-18/69 */,
610- 128 + 2 /* 18/70-18/79 */,
611- 128 + 3 /* 18/80-18/89 */,
612- 128 + 4 /* 18/90-18/99 */,
613- 128 + 5 /* 18/100-18/109 */,
614- 128 + 6 /* 18/110-18/119 */,
615- 128 + 7 /* 18/120-18/129 */,
616- 128 + 8 /* 18/130-18/139 */,
617- 128 + 9 /* 18/140-18/149 */,
618- 128 + 10 /* 18/150-18/159 */,
619- 128 + 11 /* 18/160-18/169 */,
620- 128 + 12 /* 18/170-18/179 */,
621- 128 + 13 /* 18/180-18/189 */,
622- 128 + 14 /* 18/190-18/199 */,
623- 128 + 15 /* 18/200-18/209 */,
624- 128 + 15 /* 18/210-18/219 */,
625- 128 + 16 /* 18/220+ */
626-};
627-
628-
629-/*!
630- * 腕力による基本所持重量値テーブル
631- * Stat Table (STR) -- weight limit in deca-pounds
632- */
633-const byte adj_str_wgt[] =
634-{
635- 10 /* 3 */,
636- 11 /* 4 */,
637- 12 /* 5 */,
638- 13 /* 6 */,
639- 14 /* 7 */,
640- 15 /* 8 */,
641- 16 /* 9 */,
642- 17 /* 10 */,
643- 18 /* 11 */,
644- 19 /* 12 */,
645- 20 /* 13 */,
646- 21 /* 14 */,
647- 22 /* 15 */,
648- 23 /* 16 */,
649- 24 /* 17 */,
650- 25 /* 18/00-18/09 */,
651- 26 /* 18/10-18/19 */,
652- 27 /* 18/20-18/29 */,
653- 28 /* 18/30-18/39 */,
654- 29 /* 18/40-18/49 */,
655- 30 /* 18/50-18/59 */,
656- 31 /* 18/60-18/69 */,
657- 31 /* 18/70-18/79 */,
658- 32 /* 18/80-18/89 */,
659- 32 /* 18/90-18/99 */,
660- 33 /* 18/100-18/109 */,
661- 33 /* 18/110-18/119 */,
662- 34 /* 18/120-18/129 */,
663- 34 /* 18/130-18/139 */,
664- 35 /* 18/140-18/149 */,
665- 35 /* 18/150-18/159 */,
666- 36 /* 18/160-18/169 */,
667- 36 /* 18/170-18/179 */,
668- 37 /* 18/180-18/189 */,
669- 37 /* 18/190-18/199 */,
670- 38 /* 18/200-18/209 */,
671- 38 /* 18/210-18/219 */,
672- 39 /* 18/220+ */
673-};
674-
675-
676-/*!
677- * 腕力による武器重量限界値テーブル
678- * Stat Table (STR) -- weapon weight limit in pounds
679- */
680-const byte adj_str_hold[] =
681-{
682- 4 /* 3 */,
683- 5 /* 4 */,
684- 6 /* 5 */,
685- 7 /* 6 */,
686- 8 /* 7 */,
687- 9 /* 8 */,
688- 10 /* 9 */,
689- 11 /* 10 */,
690- 12 /* 11 */,
691- 13 /* 12 */,
692- 14 /* 13 */,
693- 15 /* 14 */,
694- 16 /* 15 */,
695- 17 /* 16 */,
696- 18 /* 17 */,
697- 19 /* 18/00-18/09 */,
698- 20 /* 18/10-18/19 */,
699- 21 /* 18/20-18/29 */,
700- 22 /* 18/30-18/39 */,
701- 23 /* 18/40-18/49 */,
702- 24 /* 18/50-18/59 */,
703- 25 /* 18/60-18/69 */,
704- 26 /* 18/70-18/79 */,
705- 27 /* 18/80-18/89 */,
706- 28 /* 18/90-18/99 */,
707- 30 /* 18/100-18/109 */,
708- 31 /* 18/110-18/119 */,
709- 32 /* 18/120-18/129 */,
710- 33 /* 18/130-18/139 */,
711- 34 /* 18/140-18/149 */,
712- 35 /* 18/150-18/159 */,
713- 37 /* 18/160-18/169 */,
714- 40 /* 18/170-18/179 */,
715- 44 /* 18/180-18/189 */,
716- 48 /* 18/190-18/199 */,
717- 50 /* 18/200-18/209 */,
718- 50 /* 18/210-18/219 */,
719- 50 /* 18/220+ */
720-};
721-
722-
723-/*!
724- * 腕力による採掘能力修正値テーブル
725- * Stat Table (STR) -- digging value
726- */
727-const byte adj_str_dig[] =
728-{
729- 0 /* 3 */,
730- 0 /* 4 */,
731- 1 /* 5 */,
732- 2 /* 6 */,
733- 3 /* 7 */,
734- 4 /* 8 */,
735- 4 /* 9 */,
736- 5 /* 10 */,
737- 5 /* 11 */,
738- 6 /* 12 */,
739- 6 /* 13 */,
740- 7 /* 14 */,
741- 7 /* 15 */,
742- 8 /* 16 */,
743- 8 /* 17 */,
744- 9 /* 18/00-18/09 */,
745- 10 /* 18/10-18/19 */,
746- 12 /* 18/20-18/29 */,
747- 15 /* 18/30-18/39 */,
748- 20 /* 18/40-18/49 */,
749- 25 /* 18/50-18/59 */,
750- 30 /* 18/60-18/69 */,
751- 35 /* 18/70-18/79 */,
752- 40 /* 18/80-18/89 */,
753- 45 /* 18/90-18/99 */,
754- 50 /* 18/100-18/109 */,
755- 55 /* 18/110-18/119 */,
756- 60 /* 18/120-18/129 */,
757- 65 /* 18/130-18/139 */,
758- 70 /* 18/140-18/149 */,
759- 75 /* 18/150-18/159 */,
760- 80 /* 18/160-18/169 */,
761- 85 /* 18/170-18/179 */,
762- 90 /* 18/180-18/189 */,
763- 95 /* 18/190-18/199 */,
764- 100 /* 18/200-18/209 */,
765- 100 /* 18/210-18/219 */,
766- 100 /* 18/220+ */
767-};
768-
769-/*!
770- * 器用さによる盗難防止&体当たり成功判定修正テーブル
771- * Stat Table (DEX) -- chance of avoiding "theft" and "falling"
772- */
773-const byte adj_dex_safe[] =
774-{
775- 0 /* 3 */,
776- 1 /* 4 */,
777- 2 /* 5 */,
778- 3 /* 6 */,
779- 4 /* 7 */,
780- 5 /* 8 */,
781- 5 /* 9 */,
782- 6 /* 10 */,
783- 6 /* 11 */,
784- 7 /* 12 */,
785- 7 /* 13 */,
786- 8 /* 14 */,
787- 8 /* 15 */,
788- 9 /* 16 */,
789- 9 /* 17 */,
790- 10 /* 18/00-18/09 */,
791- 10 /* 18/10-18/19 */,
792- 15 /* 18/20-18/29 */,
793- 15 /* 18/30-18/39 */,
794- 20 /* 18/40-18/49 */,
795- 25 /* 18/50-18/59 */,
796- 30 /* 18/60-18/69 */,
797- 35 /* 18/70-18/79 */,
798- 40 /* 18/80-18/89 */,
799- 45 /* 18/90-18/99 */,
800- 50 /* 18/100-18/109 */,
801- 60 /* 18/110-18/119 */,
802- 70 /* 18/120-18/129 */,
803- 80 /* 18/130-18/139 */,
804- 90 /* 18/140-18/149 */,
805- 100 /* 18/150-18/159 */,
806- 100 /* 18/160-18/169 */,
807- 100 /* 18/170-18/179 */,
808- 100 /* 18/180-18/189 */,
809- 100 /* 18/190-18/199 */,
810- 100 /* 18/200-18/209 */,
811- 100 /* 18/210-18/219 */,
812- 100 /* 18/220+ */
813-};
814-
815-
816-/*!
817- * 耐久による基本HP自然治癒値テーブル /
818- * Stat Table (CON) -- base regeneration rate
819- */
820-const byte adj_con_fix[] =
821-{
822- 0 /* 3 */,
823- 0 /* 4 */,
824- 0 /* 5 */,
825- 0 /* 6 */,
826- 0 /* 7 */,
827- 0 /* 8 */,
828- 0 /* 9 */,
829- 0 /* 10 */,
830- 0 /* 11 */,
831- 0 /* 12 */,
832- 0 /* 13 */,
833- 1 /* 14 */,
834- 1 /* 15 */,
835- 1 /* 16 */,
836- 1 /* 17 */,
837- 2 /* 18/00-18/09 */,
838- 2 /* 18/10-18/19 */,
839- 2 /* 18/20-18/29 */,
840- 2 /* 18/30-18/39 */,
841- 2 /* 18/40-18/49 */,
842- 3 /* 18/50-18/59 */,
843- 3 /* 18/60-18/69 */,
844- 3 /* 18/70-18/79 */,
845- 3 /* 18/80-18/89 */,
846- 3 /* 18/90-18/99 */,
847- 4 /* 18/100-18/109 */,
848- 4 /* 18/110-18/119 */,
849- 5 /* 18/120-18/129 */,
850- 6 /* 18/130-18/139 */,
851- 6 /* 18/140-18/149 */,
852- 7 /* 18/150-18/159 */,
853- 7 /* 18/160-18/169 */,
854- 8 /* 18/170-18/179 */,
855- 8 /* 18/180-18/189 */,
856- 8 /* 18/190-18/199 */,
857- 9 /* 18/200-18/209 */,
858- 9 /* 18/210-18/219 */,
859- 9 /* 18/220+ */
860-};
861-
862-
863-/*!
864- * 耐久による基本HP自然治癒値テーブル /
865- * Stat Table (CON) -- extra 1/4-hitpoints per level (plus 128)
866- */
867-const byte adj_con_mhp[] =
868-{
869- 128 + -8 /* 3 */,
870- 128 + -6 /* 4 */,
871- 128 + -4 /* 5 */,
872- 128 + -2 /* 6 */,
873- 128 + -1 /* 7 */,
874- 128 + 0 /* 8 */,
875- 128 + 0 /* 9 */,
876- 128 + 0 /* 10 */,
877- 128 + 0 /* 11 */,
878- 128 + 0 /* 12 */,
879- 128 + 0 /* 13 */,
880- 128 + 1 /* 14 */,
881- 128 + 1 /* 15 */,
882- 128 + 2 /* 16 */,
883- 128 + 3 /* 17 */,
884- 128 + 4 /* 18/00-18/09 */,
885- 128 + 5 /* 18/10-18/19 */,
886- 128 + 6 /* 18/20-18/29 */,
887- 128 + 7 /* 18/30-18/39 */,
888- 128 + 8 /* 18/40-18/49 */,
889- 128 + 9 /* 18/50-18/59 */,
890- 128 + 10 /* 18/60-18/69 */,
891- 128 + 11 /* 18/70-18/79 */,
892- 128 + 12 /* 18/80-18/89 */,
893- 128 + 14 /* 18/90-18/99 */,
894- 128 + 17 /* 18/100-18/109 */,
895- 128 + 20 /* 18/110-18/119 */,
896- 128 + 23 /* 18/120-18/129 */,
897- 128 + 26 /* 18/130-18/139 */,
898- 128 + 29 /* 18/140-18/149 */,
899- 128 + 32 /* 18/150-18/159 */,
900- 128 + 35 /* 18/160-18/169 */,
901- 128 + 38 /* 18/170-18/179 */,
902- 128 + 40 /* 18/180-18/189 */,
903- 128 + 42 /* 18/190-18/199 */,
904- 128 + 44 /* 18/200-18/209 */,
905- 128 + 46 /* 18/210-18/219 */,
906- 128 + 48 /* 18/220+ */
907-};
908-
909-
910-/*!
911- * 魅力による魅了能力修正テーブル /
912- * Stat Table (CHR) -- charm
913- */
914-const byte adj_chr_chm[] =
915-{
916- 0 /* 3 */,
917- 0 /* 4 */,
918- 1 /* 5 */,
919- 2 /* 6 */,
920- 3 /* 7 */,
921- 4 /* 8 */,
922- 4 /* 9 */,
923- 5 /* 10 */,
924- 5 /* 11 */,
925- 6 /* 12 */,
926- 6 /* 13 */,
927- 7 /* 14 */,
928- 7 /* 15 */,
929- 8 /* 16 */,
930- 8 /* 17 */,
931- 9 /* 18/00-18/09 */,
932- 10 /* 18/10-18/19 */,
933- 12 /* 18/20-18/29 */,
934- 15 /* 18/30-18/39 */,
935- 18 /* 18/40-18/49 */,
936- 21 /* 18/50-18/59 */,
937- 24 /* 18/60-18/69 */,
938- 28 /* 18/70-18/79 */,
939- 32 /* 18/80-18/89 */,
940- 36 /* 18/90-18/99 */,
941- 39 /* 18/100-18/109 */,
942- 42 /* 18/110-18/119 */,
943- 45 /* 18/120-18/129 */,
944- 49 /* 18/130-18/139 */,
945- 53 /* 18/140-18/149 */,
946- 57 /* 18/150-18/159 */,
947- 61 /* 18/160-18/169 */,
948- 65 /* 18/170-18/179 */,
949- 69 /* 18/180-18/189 */,
950- 73 /* 18/190-18/199 */,
951- 77 /* 18/200-18/209 */,
952- 81 /* 18/210-18/219 */,
953- 85 /* 18/220+ */
954-};
Show on old repository browser