summaryrefslogtreecommitdiff
path: root/src/skill_type.hpp
blob: c26d864975eccd36cfc6d486d01a1418bff94494 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#pragma once

#include "h-basic.h"
#include "skill_flag_set.hpp"
#include "skills_defs.hpp"
#include "skill_descriptor.hpp"

/**
 * Skill runtime data.
 */
struct skill_type
{
	/**
	 * Current value.
	 */
	s32b value = 0;

	/**
	 * Current modifier, i.e. how much value 1 skill point gives.
	 */
	s32b mod = 0;

	/**
	 * Is the branch developed?
	 */
	bool dev = false;

	/**
	 * Is the skill hidden?
	 */
	bool hidden = false;
};