summaryrefslogtreecommitdiff
path: root/src/power_type.hpp
blob: 6cf8c29bf067adce3d4f2dbeec578e2dc7d1bb98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once

#include "h-basic.h"

/**
 * Power descriptor. (Racial, class, mutation, artifacts, ...)
 */
struct power_type
{
	const char *name;              /* Name */
	const char *desc_text;         /* Text describing power */
	const char *gain_text;         /* Text displayed on gaining the power */
	const char *lose_text;         /* Text displayed on losing the power */

	byte level;             /* Min level */
	byte cost;              /* Mana/Life cost */
	byte stat;              /* Stat used */
	byte diff;              /* Difficulty */
};