OSDN Git Service

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