summaryrefslogtreecommitdiff
path: root/src/ability_type.hpp
blob: 0291e4dec869ab90f2ec19caf01d1ffa52d3be0e (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
#pragma once

#include <string>

#include "h-basic.h"

/**
 * Abilities.
 */
struct ability_type
{
	std::string name;                       /* Name */
	std::string desc;                       /* Description */

	std::string action_desc;                /* Action Description */

	s16b action_mkey;                       /* Action do to */

	s16b cost;                              /* Skill points cost */

	/* Prereqs */
	s16b skills[10];                	/* List of prereq skills(10 max) */
	s16b skill_levels[10];                  /* List of prereq skills(10 max) */
	s16b stat[6];                		/* List of prereq stats */
	s16b need_abilities[10];              	/* List of prereq abilities(10 max) */
	s16b forbid_abilities[10];		/* List of forbidden abilities(10 max) */
};