OSDN Git Service

[Refactor] #37353 skill_table と関連配列を player-skill.c/h へ移動。
[hengband/hengband.git] / src / player-skill.h
1 #pragma once
2
3 extern const concptr exp_level_str[5];
4
5 /*
6  * Information about "skill"
7  */
8
9 typedef struct skill_table skill_table;
10
11 struct skill_table
12 {
13         SUB_EXP w_start[5][64];   /* start weapon exp */
14         SUB_EXP w_max[5][64];        /* max weapon exp */
15         SUB_EXP s_start[10];      /* start skill */
16         SUB_EXP s_max[10];           /* max skill */
17 };
18
19 extern skill_table *s_info;
20
21 #define GINOU_SUDE      0
22 #define GINOU_NITOURYU  1
23 #define GINOU_RIDING    2
24 #define GINOU_SHIELD    3
25 #define GINOU_TEMPMAX   4
26
27 /* Proficiency level */
28 #define EXP_LEVEL_UNSKILLED 0
29 #define EXP_LEVEL_BEGINNER  1
30 #define EXP_LEVEL_SKILLED   2
31 #define EXP_LEVEL_EXPERT    3
32 #define EXP_LEVEL_MASTER    4
33
34 /* Proficiency of weapons and misc. skills (except riding) */
35 #define WEAPON_EXP_UNSKILLED     0
36 #define WEAPON_EXP_BEGINNER   4000
37 #define WEAPON_EXP_SKILLED    6000
38 #define WEAPON_EXP_EXPERT     7000
39 #define WEAPON_EXP_MASTER     8000
40
41 /* Proficiency of riding */
42 #define RIDING_EXP_UNSKILLED     0
43 #define RIDING_EXP_BEGINNER    500
44 #define RIDING_EXP_SKILLED    2000
45 #define RIDING_EXP_EXPERT     5000
46 #define RIDING_EXP_MASTER     8000
47
48 /* Proficiency of spells */
49 #define SPELL_EXP_UNSKILLED      0
50 #define SPELL_EXP_BEGINNER     900
51 #define SPELL_EXP_SKILLED     1200
52 #define SPELL_EXP_EXPERT      1400
53 #define SPELL_EXP_MASTER      1600