ManaPlus
src
enums
being
attributes.h
Go to the documentation of this file.
1
/*
2
* The ManaPlus Client
3
* Copyright (C) 2010 The Mana Developers
4
* Copyright (C) 2011-2019 The ManaPlus Developers
5
* Copyright (C) 2019-2021 Andrei Karas
6
*
7
* This file is part of The ManaPlus Client.
8
*
9
* This program is free software; you can redistribute it and/or modify
10
* it under the terms of the GNU General Public License as published by
11
* the Free Software Foundation; either version 2 of the License, or
12
* any later version.
13
*
14
* This program is distributed in the hope that it will be useful,
15
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
* GNU General Public License for more details.
18
*
19
* You should have received a copy of the GNU General Public License
20
* along with this program. If not, see <http://www.gnu.org/licenses/>.
21
*/
22
23
#ifndef ENUMS_BEING_ATTRIBUTES_H
24
#define ENUMS_BEING_ATTRIBUTES_H
25
26
#include "
enums/simpletypes/enumdefines.h
"
27
28
enumStart
(
Attributes
)
29
{
30
// player attributes
31
PLAYER_BASE_LEVEL
= 0,
32
PLAYER_HP
,
33
PLAYER_MAX_HP
,
34
PLAYER_MP
,
35
PLAYER_MAX_MP
,
36
PLAYER_EXP
,
37
PLAYER_EXP_NEEDED
,
38
MONEY
,
39
TOTAL_WEIGHT
,
40
MAX_WEIGHT
,
41
PLAYER_JOB_LEVEL
= 10,
42
PLAYER_STR
= 13,
43
PLAYER_AGI
= 14,
44
PLAYER_VIT
= 15,
45
PLAYER_INT
= 16,
46
PLAYER_DEX
= 17,
47
PLAYER_LUK
= 18,
48
PLAYER_SKILL_POINTS
,
49
PLAYER_CHAR_POINTS
,
50
PLAYER_CORR_POINTS
,
51
PLAYER_ATTACK_DELAY
= 100,
52
PLAYER_ATTACK_RANGE
= 101,
53
PLAYER_WALK_SPEED
= 102,
54
PLAYER_ATTACK_SPEED
= 103,
55
PLAYER_KARMA
,
56
PLAYER_MANNER
,
57
PLAYER_CRIT
,
58
PLAYER_FLEE
,
59
PLAYER_HIT
,
60
PLAYER_MDEF
,
61
PLAYER_MATK
,
62
PLAYER_DEF
,
63
PLAYER_ATK
,
64
CART_TOTAL_WEIGHT
= 1000,
65
CART_MAX_WEIGHT
,
66
PLAYER_JOB_EXP
,
67
PLAYER_JOB_EXP_NEEDED
,
68
69
// homunculus attributes
70
HOMUN_LEVEL
,
71
HOMUN_HP
,
72
HOMUN_MAX_HP
,
73
HOMUN_MP
,
74
HOMUN_MAX_MP
,
75
HOMUN_EXP
,
76
HOMUN_EXP_NEEDED
,
77
HOMUN_SKILL_POINTS
,
78
HOMUN_ATTACK_DELAY
,
79
HOMUN_ATTACK_RANGE
,
80
HOMUN_ATTACK_SPEED
,
81
HOMUN_CRIT
,
82
HOMUN_FLEE
,
83
HOMUN_HIT
,
84
HOMUN_MDEF
,
85
HOMUN_MATK
,
86
HOMUN_DEF
,
87
HOMUN_ATK
,
88
89
// mercenary attributes
90
MERC_LEVEL
,
91
MERC_HP
,
92
MERC_MAX_HP
,
93
MERC_MP
,
94
MERC_MAX_MP
,
95
MERC_ATTACK_DELAY
,
96
MERC_ATTACK_RANGE
,
97
MERC_ATTACK_SPEED
,
98
MERC_CRIT
,
99
MERC_FLEE
,
100
MERC_HIT
,
101
MERC_MDEF
,
102
MERC_MATK
,
103
MERC_DEF
,
104
MERC_ATK
,
105
MERC_EXPIRE
,
106
MERC_FAITH
,
107
MERC_CALLS
,
108
MERC_KILLS
,
109
110
// elemental attributes
111
ELEMENTAL_HP
,
112
ELEMENTAL_MAX_HP
,
113
ELEMENTAL_MP
,
114
ELEMENTAL_MAX_MP
,
115
116
MAX_ATTRIBUTE
117
}
118
enumEnd
(
Attributes
);
119
120
#endif
// ENUMS_BEING_ATTRIBUTES_H
enumdefines.h
enumStart
#define enumStart(name)
Definition:
enumdefines.h:36
enumEnd
#define enumEnd(name)
Definition:
enumdefines.h:46
Attributes
Definition:
attributes.h:28
Attributes::MERC_FLEE
@ MERC_FLEE
Definition:
attributes.h:99
Attributes::HOMUN_MAX_MP
@ HOMUN_MAX_MP
Definition:
attributes.h:74
Attributes::CART_TOTAL_WEIGHT
@ CART_TOTAL_WEIGHT
Definition:
attributes.h:64
Attributes::PLAYER_DEX
@ PLAYER_DEX
Definition:
attributes.h:46
Attributes::MERC_LEVEL
@ MERC_LEVEL
Definition:
attributes.h:90
Attributes::HOMUN_DEF
@ HOMUN_DEF
Definition:
attributes.h:86
Attributes::CART_MAX_WEIGHT
@ CART_MAX_WEIGHT
Definition:
attributes.h:65
Attributes::PLAYER_CHAR_POINTS
@ PLAYER_CHAR_POINTS
Definition:
attributes.h:49
Attributes::HOMUN_FLEE
@ HOMUN_FLEE
Definition:
attributes.h:82
Attributes::PLAYER_FLEE
@ PLAYER_FLEE
Definition:
attributes.h:58
Attributes::HOMUN_MDEF
@ HOMUN_MDEF
Definition:
attributes.h:84
Attributes::MERC_HIT
@ MERC_HIT
Definition:
attributes.h:100
Attributes::ELEMENTAL_MAX_MP
@ ELEMENTAL_MAX_MP
Definition:
attributes.h:114
Attributes::HOMUN_HP
@ HOMUN_HP
Definition:
attributes.h:71
Attributes::PLAYER_VIT
@ PLAYER_VIT
Definition:
attributes.h:44
Attributes::ELEMENTAL_MAX_HP
@ ELEMENTAL_MAX_HP
Definition:
attributes.h:112
Attributes::PLAYER_INT
@ PLAYER_INT
Definition:
attributes.h:45
Attributes::PLAYER_EXP_NEEDED
@ PLAYER_EXP_NEEDED
Definition:
attributes.h:37
Attributes::MERC_DEF
@ MERC_DEF
Definition:
attributes.h:103
Attributes::PLAYER_HP
@ PLAYER_HP
Definition:
attributes.h:32
Attributes::PLAYER_AGI
@ PLAYER_AGI
Definition:
attributes.h:43
Attributes::PLAYER_ATTACK_SPEED
@ PLAYER_ATTACK_SPEED
Definition:
attributes.h:54
Attributes::MAX_WEIGHT
@ MAX_WEIGHT
Definition:
attributes.h:40
Attributes::HOMUN_MATK
@ HOMUN_MATK
Definition:
attributes.h:85
Attributes::HOMUN_LEVEL
@ HOMUN_LEVEL
Definition:
attributes.h:70
Attributes::MERC_CALLS
@ MERC_CALLS
Definition:
attributes.h:107
Attributes::MERC_ATTACK_RANGE
@ MERC_ATTACK_RANGE
Definition:
attributes.h:96
Attributes::MERC_ATTACK_DELAY
@ MERC_ATTACK_DELAY
Definition:
attributes.h:95
Attributes::TOTAL_WEIGHT
@ TOTAL_WEIGHT
Definition:
attributes.h:39
Attributes::PLAYER_MATK
@ PLAYER_MATK
Definition:
attributes.h:61
Attributes::MERC_MP
@ MERC_MP
Definition:
attributes.h:93
Attributes::PLAYER_MAX_MP
@ PLAYER_MAX_MP
Definition:
attributes.h:35
Attributes::HOMUN_EXP_NEEDED
@ HOMUN_EXP_NEEDED
Definition:
attributes.h:76
Attributes::PLAYER_ATTACK_RANGE
@ PLAYER_ATTACK_RANGE
Definition:
attributes.h:52
Attributes::MERC_MDEF
@ MERC_MDEF
Definition:
attributes.h:101
Attributes::MERC_EXPIRE
@ MERC_EXPIRE
Definition:
attributes.h:105
Attributes::HOMUN_HIT
@ HOMUN_HIT
Definition:
attributes.h:83
Attributes::PLAYER_BASE_LEVEL
@ PLAYER_BASE_LEVEL
Definition:
attributes.h:31
Attributes::MERC_KILLS
@ MERC_KILLS
Definition:
attributes.h:108
Attributes::HOMUN_ATTACK_SPEED
@ HOMUN_ATTACK_SPEED
Definition:
attributes.h:80
Attributes::ELEMENTAL_HP
@ ELEMENTAL_HP
Definition:
attributes.h:111
Attributes::PLAYER_KARMA
@ PLAYER_KARMA
Definition:
attributes.h:55
Attributes::PLAYER_JOB_EXP
@ PLAYER_JOB_EXP
Definition:
attributes.h:66
Attributes::PLAYER_JOB_LEVEL
@ PLAYER_JOB_LEVEL
Definition:
attributes.h:41
Attributes::PLAYER_STR
@ PLAYER_STR
Definition:
attributes.h:42
Attributes::MERC_MATK
@ MERC_MATK
Definition:
attributes.h:102
Attributes::HOMUN_SKILL_POINTS
@ HOMUN_SKILL_POINTS
Definition:
attributes.h:77
Attributes::PLAYER_WALK_SPEED
@ PLAYER_WALK_SPEED
Definition:
attributes.h:53
Attributes::PLAYER_CRIT
@ PLAYER_CRIT
Definition:
attributes.h:57
Attributes::MERC_MAX_MP
@ MERC_MAX_MP
Definition:
attributes.h:94
Attributes::MAX_ATTRIBUTE
@ MAX_ATTRIBUTE
Definition:
attributes.h:116
Attributes::PLAYER_LUK
@ PLAYER_LUK
Definition:
attributes.h:47
Attributes::HOMUN_EXP
@ HOMUN_EXP
Definition:
attributes.h:75
Attributes::PLAYER_MANNER
@ PLAYER_MANNER
Definition:
attributes.h:56
Attributes::MONEY
@ MONEY
Definition:
attributes.h:38
Attributes::PLAYER_CORR_POINTS
@ PLAYER_CORR_POINTS
Definition:
attributes.h:50
Attributes::PLAYER_MAX_HP
@ PLAYER_MAX_HP
Definition:
attributes.h:33
Attributes::MERC_FAITH
@ MERC_FAITH
Definition:
attributes.h:106
Attributes::HOMUN_MP
@ HOMUN_MP
Definition:
attributes.h:73
Attributes::MERC_CRIT
@ MERC_CRIT
Definition:
attributes.h:98
Attributes::MERC_MAX_HP
@ MERC_MAX_HP
Definition:
attributes.h:92
Attributes::PLAYER_JOB_EXP_NEEDED
@ PLAYER_JOB_EXP_NEEDED
Definition:
attributes.h:67
Attributes::PLAYER_ATK
@ PLAYER_ATK
Definition:
attributes.h:63
Attributes::HOMUN_CRIT
@ HOMUN_CRIT
Definition:
attributes.h:81
Attributes::MERC_HP
@ MERC_HP
Definition:
attributes.h:91
Attributes::PLAYER_ATTACK_DELAY
@ PLAYER_ATTACK_DELAY
Definition:
attributes.h:51
Attributes::PLAYER_HIT
@ PLAYER_HIT
Definition:
attributes.h:59
Attributes::PLAYER_MP
@ PLAYER_MP
Definition:
attributes.h:34
Attributes::HOMUN_ATTACK_RANGE
@ HOMUN_ATTACK_RANGE
Definition:
attributes.h:79
Attributes::HOMUN_MAX_HP
@ HOMUN_MAX_HP
Definition:
attributes.h:72
Attributes::MERC_ATK
@ MERC_ATK
Definition:
attributes.h:104
Attributes::PLAYER_DEF
@ PLAYER_DEF
Definition:
attributes.h:62
Attributes::PLAYER_EXP
@ PLAYER_EXP
Definition:
attributes.h:36
Attributes::ELEMENTAL_MP
@ ELEMENTAL_MP
Definition:
attributes.h:113
Attributes::HOMUN_ATK
@ HOMUN_ATK
Definition:
attributes.h:87
Attributes::MERC_ATTACK_SPEED
@ MERC_ATTACK_SPEED
Definition:
attributes.h:97
Attributes::PLAYER_MDEF
@ PLAYER_MDEF
Definition:
attributes.h:60
Attributes::PLAYER_SKILL_POINTS
@ PLAYER_SKILL_POINTS
Definition:
attributes.h:48
Attributes::HOMUN_ATTACK_DELAY
@ HOMUN_ATTACK_DELAY
Definition:
attributes.h:78
Generated on Wed Mar 17 2021 19:19:05 for ManaPlus by
1.9.1