ManaPlus
sp.h
Go to the documentation of this file.
1 /*
2  * The ManaPlus Client
3  * Copyright (C) 2004-2009 The Mana World Development Team
4  * Copyright (C) 2009-2010 The Mana Developers
5  * Copyright (C) 2011-2019 The ManaPlus Developers
6  * Copyright (C) 2019-2021 Andrei Karas
7  *
8  * This file is part of The ManaPlus Client.
9  *
10  * This program is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation; either version 2 of the License, or
13  * any later version.
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  * GNU General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License
21  * along with this program. If not, see <http://www.gnu.org/licenses/>.
22  */
23 
24 #ifndef NET_EATHENA_SP_H
25 #define NET_EATHENA_SP_H
26 
27 namespace Sp
28 {
29  enum
30  {
31  SPEED = 0,
32  BASEEXP = 1,
33  JOBEXP = 2,
34  KARMA = 3,
35  MANNER = 4,
36  HP = 5,
37  MAXHP = 6,
38  SP = 7,
39  MAXSP = 8,
41  VAL10 = 10,
42  BASELEVEL = 11,
43  SKILLPOINT = 12,
44  STR = 13,
45  AGI = 14,
46  VIT = 15,
47  INT = 16,
48  DEX = 17,
49  LUK = 18,
50  CLASS = 19,
51  ZENY = 20,
52  SEX = 21,
54  NEXTJOBEXP = 23,
55  WEIGHT = 24,
56  MAXWEIGHT = 25,
57  VAL26 = 26,
58  VAL27 = 27,
59  VAL28 = 28,
60  VAL29 = 29,
61  VAL30 = 30,
62  VAL31 = 31,
63  USTR = 32,
64  UAGI = 33,
65  UVIT = 34,
66  UINT = 35,
67  UDEX = 36,
68  ULUK = 37,
69  VAL38 = 38,
70  VAL39 = 39,
71  VAL40 = 40,
72  ATK1 = 41,
73  ATK2 = 42,
74  MATK1 = 43,
75  MATK2 = 44,
76  DEF1 = 45,
77  DEF2 = 46,
78  MDEF1 = 47,
79  MDEF2 = 48,
80  HIT = 49,
81  FLEE1 = 50,
82  FLEE2 = 51,
83  CRITICAL = 52,
84  ASPD = 53,
85  VAL54 = 54,
86  JOBLEVEL = 55,
87  UPPER = 56,
88  PARTNER = 57,
89  CART = 58,
90  FAME = 59,
92 
93  CARTINFO = 99,
94 
95  BASEJOB = 119,
96  BASECLASS = 120,
97  KILLERRID = 121,
98  KILLEDRID = 122,
99  SLOTCHANGE = 123,
100  CHARRENAME = 124,
101  MOD_EXP = 125,
102  MOD_DROP = 126,
103  MOD_DEATH = 127,
104 
105  MERCFLEE = 165,
106 
107  MERCKILLS = 189,
108  MERCFAITH = 190,
109 
110  ATTACKRANGE = 1000,
111  ATKELE = 1001,
112  DEFELE = 1002,
113  CASTRATE = 1003,
114  MAXHPRATE = 1004,
115  MAXSPRATE = 1005,
116  SPRATE = 1006,
117 
118  ADDELE = 1007,
119  ADDRACE = 1008,
120  ADDSIZE = 1009,
121  SUBELE = 1010,
122  SUBRACE = 1011,
123  ADDEFF = 1012,
124  RESEFF = 1013,
125  BASE_ATK = 1014,
126  ASPD_RATE = 1015,
128  RECOV_RATE = 1017,
129  SPEED_RATE = 1018,
130  CRITICAL_DEF = 1019,
131  NEAR_ATK_DEF = 1020,
132  LONG_ATK_DEF = 1021,
133  DOUBLE_RATE = 1022,
135  SKILL_HEAL = 1024,
136  MATK_RATE = 1025,
139  ATK_RATE = 1028,
141  REGEN_RATE = 1030,
143  MISC_ATK_DEF = 1032,
146  MAGIC_ADDELE = 1035,
152  GET_ZENY_NUM = 1041,
162  HIT_RATE = 1051,
163  FLEE_RATE = 1052,
164  FLEE2_RATE = 1053,
165  DEF_RATE = 1054,
166  DEF2_RATE = 1055,
167  MDEF_RATE = 1056,
168  MDEF2_RATE = 1057,
169  SPLASH_RANGE = 1058,
171  AUTOSPELL = 1060,
173  DRAIN_RATE = 1062,
178  ADDEFF2 = 1067,
183 
184  ALL_STATS = 1073,
185  AGI_VIT = 1074,
186  AGI_DEX_STR = 1075,
187  PERFECT_HIDE = 1076,
188  NO_KNOCKBACK = 1077,
189  CLASSCHANGE = 1078,
191  DRAIN_VALUE = 1080,
192  WEAPON_ATK = 1081,
194  DELAYRATE = 1083,
199  SKILL_HEAL2 = 1088,
204 
207  NO_SIZEFIX = 2002,
210  NO_GEMSTONE = 2005,
218 
221  NO_REGEN = 2015,
224  SKILL_ATK = 2018,
225  UNSTRIPABLE = 2019,
227  GAIN_VALUE = 2021,
229  HP_LOSS_RATE = 2023,
230  ADDRACE2 = 2024,
232  SUBSIZE = 2026,
236  EXP_ADDRACE = 2030,
237  GAIN_RACE = 2031,
238  SUBRACE2 = 2032,
244  INTRAVISION = 2038,
246  LOSS_RATE = 2040,
248  VANISH_RATE = 2042,
252  EMATK = 2046,
259  FIXCASTRATE = 2053,
260  VARCASTRATE = 2054,
261  SKILL_USE_SP = 2055,
265  SET_DEF_RACE = 2059,
268  ADDMAXWEIGHT = 2062
269  };
270 } // namespace Sp
271 
272 #endif // NET_EATHENA_SP_H
Definition: sp.h:28
@ WEAPON_ATK_RATE
Definition: sp.h:193
@ UNSTRIPABLE_ARMOR
Definition: sp.h:241
@ UNBREAKABLE_GARMENT
Definition: sp.h:161
@ DRAIN_RATE
Definition: sp.h:173
@ VARCASTRATE
Definition: sp.h:260
@ SKILL_FIXEDCAST
Definition: sp.h:257
@ ADD_MAGIC_DAMAGE_CLASS
Definition: sp.h:155
@ VAL29
Definition: sp.h:60
@ ADD_GET_ZENY_NUM
Definition: sp.h:153
@ NEXTJOBEXP
Definition: sp.h:54
@ ADD_FIXEDCAST
Definition: sp.h:263
@ MERCKILLS
Definition: sp.h:107
@ ASPD_RATE
Definition: sp.h:126
@ AGI_DEX_STR
Definition: sp.h:186
@ AUTOSPELL_WHENHIT
Definition: sp.h:223
@ ADD_HEAL_RATE
Definition: sp.h:201
@ VAL28
Definition: sp.h:59
@ CRITICAL_DEF
Definition: sp.h:130
@ ADD_STEAL_RATE
Definition: sp.h:181
@ WEAPON_COMA_ELE
Definition: sp.h:176
@ VAL27
Definition: sp.h:58
@ IGNORE_MDEF_ELE
Definition: sp.h:144
@ HP_REGEN_RATE
Definition: sp.h:228
@ FAME
Definition: sp.h:90
@ MISC_ATK_DEF
Definition: sp.h:143
@ LOSS_RATE
Definition: sp.h:246
@ DEF_RATIO_ATK_RACE
Definition: sp.h:160
@ MAGIC_ADDELE
Definition: sp.h:146
@ ATK_RATE
Definition: sp.h:139
@ WEAPON_COMA_RACE
Definition: sp.h:177
@ IGNORE_DEF_RACE
Definition: sp.h:138
@ VAL39
Definition: sp.h:70
@ UNSTRIPABLE
Definition: sp.h:225
@ HP_VANISH_RATE
Definition: sp.h:203
@ FIXCASTRATE
Definition: sp.h:259
@ LONG_ATK_RATE
Definition: sp.h:217
@ BREAK_WEAPON_RATE
Definition: sp.h:179
@ RESTART_FULL_RECOVER
Definition: sp.h:205
@ DEFELE
Definition: sp.h:112
@ ADDEFF_ONSKILL
Definition: sp.h:200
@ PERFECT_HIDE
Definition: sp.h:187
@ IGNORE_MDEF_RATE
Definition: sp.h:197
@ HP_GAIN_RACE_ATTACK
Definition: sp.h:254
@ SPEED_RATE
Definition: sp.h:129
@ ADDMAXWEIGHT
Definition: sp.h:268
@ SPEED_ADDRATE
Definition: sp.h:140
@ CRITICAL_ADDRACE
Definition: sp.h:220
@ MAXHPRATE
Definition: sp.h:114
@ PERFECT_HIT_RATE
Definition: sp.h:149
@ VAL54
Definition: sp.h:85
@ RECOV_RATE
Definition: sp.h:128
@ SUBELE
Definition: sp.h:121
@ VAL40
Definition: sp.h:71
@ HP_DRAIN_RATE_RACE
Definition: sp.h:195
@ ADD_VARIABLECAST
Definition: sp.h:264
@ BASE_ATK
Definition: sp.h:125
@ MAGIC_GAIN_VALUE
Definition: sp.h:249
@ VAL10
Definition: sp.h:41
@ AUTOSPELL
Definition: sp.h:171
@ MOD_DEATH
Definition: sp.h:103
@ CRITICAL_RATE
Definition: sp.h:151
@ BASEJOB
Definition: sp.h:95
@ VAL31
Definition: sp.h:62
@ DELAYRATE
Definition: sp.h:194
@ UNSTRIPABLE_HELM
Definition: sp.h:242
@ VANISH_RATE
Definition: sp.h:248
@ NO_MISC_DAMAGE
Definition: sp.h:212
@ SET_MDEF_RACE
Definition: sp.h:266
@ ADDEFF2
Definition: sp.h:178
@ DOUBLE_ADD_RATE
Definition: sp.h:134
@ HP_RECOV_RATE
Definition: sp.h:127
@ ADD_ITEM_HEAL_RATE
Definition: sp.h:234
@ HP_LOSS_RATE
Definition: sp.h:229
@ NO_MAGIC_DAMAGE
Definition: sp.h:208
@ EXP_ADDRACE
Definition: sp.h:236
@ CLASSCHANGE
Definition: sp.h:189
@ UNBREAKABLE_SHIELD
Definition: sp.h:216
@ GAIN_VALUE
Definition: sp.h:227
@ DEF2_RATE
Definition: sp.h:166
@ INTRAVISION
Definition: sp.h:244
@ UNBREAKABLE_SHOES
Definition: sp.h:239
@ DRAIN_VALUE
Definition: sp.h:191
@ UNSTRIPABLE_WEAPON
Definition: sp.h:240
@ NO_REGEN
Definition: sp.h:221
@ SKILL_HEAL2
Definition: sp.h:199
@ SKILL_ATK
Definition: sp.h:224
@ VAL26
Definition: sp.h:57
@ MAGIC_ATK_ELE
Definition: sp.h:262
@ NO_SIZEFIX
Definition: sp.h:207
@ UPPER
Definition: sp.h:87
@ UNBREAKABLE_ARMOR
Definition: sp.h:214
@ MAGIC_DAMAGE_RETURN
Definition: sp.h:182
@ MAGIC_ATK_DEF
Definition: sp.h:142
@ MAXSPRATE
Definition: sp.h:115
@ NO_CASTCANCEL
Definition: sp.h:206
@ CRIT_ATK_RATE
Definition: sp.h:219
@ PERFECT_HIT_ADD_RATE
Definition: sp.h:150
@ SUBRACE
Definition: sp.h:122
@ RACE_TOLERANCE
Definition: sp.h:267
@ FLEE2_RATE
Definition: sp.h:164
@ HP_DRAIN_RATE
Definition: sp.h:172
@ KILLEDRID
Definition: sp.h:98
@ SKILL_USE_RATE
Definition: sp.h:255
@ HP_GAIN_VALUE
Definition: sp.h:231
@ SKILL_USE_SP
Definition: sp.h:261
@ ADDRACE2
Definition: sp.h:230
@ SLOTCHANGE
Definition: sp.h:99
@ DRAIN_VALUE_RACE
Definition: sp.h:235
@ DEF_RATIO_ATK_ELE
Definition: sp.h:159
@ SUBRACE2
Definition: sp.h:238
@ SET_DEF_RACE
Definition: sp.h:265
@ SHORT_WEAPON_DAMAGE_RETURN
Definition: sp.h:174
@ ADD_MONSTER_DROP_ITEM
Definition: sp.h:158
@ CART
Definition: sp.h:89
@ UNBREAKABLE_WEAPON
Definition: sp.h:213
@ GAIN_RACE_ATTACK
Definition: sp.h:253
@ DRAIN_RATE_RACE
Definition: sp.h:196
@ MERCFLEE
Definition: sp.h:105
@ AUTOSPELL_ONSKILL
Definition: sp.h:226
@ GET_ZENY_NUM
Definition: sp.h:152
@ EMATK
Definition: sp.h:252
@ SUBSIZE
Definition: sp.h:232
@ SKILL_VARIABLECAST
Definition: sp.h:258
@ MAGIC_HP_GAIN_VALUE
Definition: sp.h:250
@ SPRATE
Definition: sp.h:116
@ IGNORE_DEF_ELE
Definition: sp.h:137
@ PARTNER
Definition: sp.h:88
@ NO_WEAPON_DAMAGE
Definition: sp.h:209
@ IGNORE_MDEF_RACE
Definition: sp.h:145
@ VAL38
Definition: sp.h:69
@ FLEE_RATE
Definition: sp.h:163
@ RESEFF
Definition: sp.h:124
@ ADD_CLASS_DROP_ITEM
Definition: sp.h:251
@ SKILL_COOLDOWN
Definition: sp.h:256
@ MDEF2_RATE
Definition: sp.h:168
@ MAGIC_ADDRACE
Definition: sp.h:147
@ DOUBLE_RATE
Definition: sp.h:133
@ ADD_DAMAGE_CLASS
Definition: sp.h:154
@ CASTRATE
Definition: sp.h:113
@ ATKELE
Definition: sp.h:111
@ ATTACKRANGE
Definition: sp.h:110
@ MOD_EXP
Definition: sp.h:101
@ CARTINFO
Definition: sp.h:93
@ AGI_VIT
Definition: sp.h:185
@ BASECLASS
Definition: sp.h:96
@ ADDEFF_WHENHIT
Definition: sp.h:222
@ MDEF_RATE
Definition: sp.h:167
@ MOD_DROP
Definition: sp.h:102
@ CHARRENAME
Definition: sp.h:100
@ SKILL_HEAL
Definition: sp.h:135
@ MERCFAITH
Definition: sp.h:108
@ GAIN_RACE
Definition: sp.h:237
@ NO_KNOCKBACK
Definition: sp.h:188
@ UNBREAKABLE_HELM
Definition: sp.h:215
@ ADD_SKILL_BLOW
Definition: sp.h:247
@ HP_DRAIN_VALUE
Definition: sp.h:190
@ NO_GEMSTONE
Definition: sp.h:210
@ HIT_RATE
Definition: sp.h:162
@ ADD_MDEF_CLASS
Definition: sp.h:157
@ SPLASH_RANGE
Definition: sp.h:169
@ ADD_HEAL2_RATE
Definition: sp.h:202
@ WEAPON_ATK
Definition: sp.h:192
@ KILLERRID
Definition: sp.h:97
@ ADDEFF
Definition: sp.h:123
@ LONG_ATK_DEF
Definition: sp.h:132
@ LONG_WEAPON_DAMAGE_RETURN
Definition: sp.h:175
@ DEF_RATE
Definition: sp.h:165
@ NEAR_ATK_DEF
Definition: sp.h:131
@ ADDELE
Definition: sp.h:118
@ HP_DRAIN_VALUE_RACE
Definition: sp.h:233
@ IGNORE_DEF_RATE
Definition: sp.h:198
@ VAL30
Definition: sp.h:61
@ ADDRACE
Definition: sp.h:119
@ REGEN_RATE
Definition: sp.h:141
@ ADDSIZE
Definition: sp.h:120
@ MATK_RATE
Definition: sp.h:136
@ SPLASH_ADD_RANGE
Definition: sp.h:170
@ ADD_DEF_CLASS
Definition: sp.h:156
@ NO_CASTCANCEL2
Definition: sp.h:211
@ MAGIC_ADDSIZE
Definition: sp.h:148
@ BREAK_ARMOR_RATE
Definition: sp.h:180
@ ADD_MONSTER_DROP_CHAINITEM
Definition: sp.h:245
@ ALL_STATS
Definition: sp.h:184
@ UNBREAKABLE
Definition: sp.h:91
@ UNSTRIPABLE_SHIELD
Definition: sp.h:243
@ STATUSPOINT
Definition: sp.h:40
@ SPEED
Definition: sp.h:31
@ MAXSP
Definition: sp.h:39
@ DEF1
Definition: sp.h:76
@ MATK1
Definition: sp.h:74
@ CRITICAL
Definition: sp.h:83
@ FLEE2
Definition: sp.h:82
@ ATK2
Definition: sp.h:73
@ UAGI
Definition: sp.h:64
@ LUK
Definition: sp.h:49
@ ASPD
Definition: sp.h:84
@ MDEF1
Definition: sp.h:78
@ MAXWEIGHT
Definition: sp.h:56
@ CLASS
Definition: sp.h:50
@ ATK1
Definition: sp.h:72
@ NEXTBASEEXP
Definition: sp.h:53
@ JOBLEVEL
Definition: sp.h:86
@ DEX
Definition: sp.h:48
@ SP
Definition: sp.h:38
@ KARMA
Definition: sp.h:34
@ FLEE1
Definition: sp.h:81
@ USTR
Definition: sp.h:63
@ BASEEXP
Definition: sp.h:32
@ AGI
Definition: sp.h:45
@ ZENY
Definition: sp.h:51
@ HIT
Definition: sp.h:80
@ MANNER
Definition: sp.h:35
@ ULUK
Definition: sp.h:68
@ VIT
Definition: sp.h:46
@ WEIGHT
Definition: sp.h:55
@ DEF2
Definition: sp.h:77
@ HP
Definition: sp.h:36
@ INT
Definition: sp.h:47
@ JOBEXP
Definition: sp.h:33
@ STR
Definition: sp.h:44
@ UDEX
Definition: sp.h:67
@ UVIT
Definition: sp.h:65
@ UINT
Definition: sp.h:66
@ SKILLPOINT
Definition: sp.h:43
@ BASELEVEL
Definition: sp.h:42
@ MDEF2
Definition: sp.h:79
@ SEX
Definition: sp.h:52
@ MATK2
Definition: sp.h:75
@ MAXHP
Definition: sp.h:37