summaryrefslogtreecommitdiff
path: root/src/net/ea/eaprotocol.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-01 19:19:15 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-01 19:28:09 +0300
commita88beff0cb22094bd5d4558fcc6937f94480c150 (patch)
treeb1b649c2caaa12afe3ad255020548b8f2edbb56a /src/net/ea/eaprotocol.h
parent624ddd306ebbd1cfdfd5bf85832ee969e15a619c (diff)
downloadManaVerse-a88beff0cb22094bd5d4558fcc6937f94480c150.tar.gz
ManaVerse-a88beff0cb22094bd5d4558fcc6937f94480c150.tar.bz2
ManaVerse-a88beff0cb22094bd5d4558fcc6937f94480c150.tar.xz
ManaVerse-a88beff0cb22094bd5d4558fcc6937f94480c150.zip
Use constants for all server side stats.
Diffstat (limited to 'src/net/ea/eaprotocol.h')
-rw-r--r--src/net/ea/eaprotocol.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/src/net/ea/eaprotocol.h b/src/net/ea/eaprotocol.h
index 589e7bdcd..00cf0f067 100644
--- a/src/net/ea/eaprotocol.h
+++ b/src/net/ea/eaprotocol.h
@@ -23,6 +23,56 @@
#ifndef NET_EA_EAPROTOCOL_H
#define NET_EA_EAPROTOCOL_H
+namespace Ea
+{
+ enum
+ {
+ WALK_SPEED = 0,
+ EXP = 1,
+ JOB_EXP = 2,
+ KARMA = 3,
+ MANNER = 4,
+ HP = 5,
+ MAX_HP = 6,
+ MP = 7,
+ MAX_MP = 8,
+ CHAR_POINTS = 9,
+ LEVEL = 11,
+ SKILL_POINTS = 12,
+ STR = 13,
+ AGI = 14,
+ VIT = 15,
+ INT = 16,
+ DEX = 17,
+ LUK = 18,
+ MONEY = 20,
+ EXP_NEEDED = 22,
+ JOB_MOD = 23,
+ TOTAL_WEIGHT = 24,
+ MAX_WEIGHT = 25,
+ STR_NEEDED = 32,
+ AGI_NEEDED = 33,
+ VIT_NEEDED = 34,
+ INT_NEEDED = 35,
+ DEX_NEEDED = 36,
+ LUK_NEEDED = 37,
+ ATK = 41,
+ ATK_MOD = 42,
+ MATK = 43,
+ MATK_MOD = 44,
+ DEF = 45,
+ DEF_MOD = 46,
+ MDEF = 47,
+ MDEF_MOD = 48,
+ HIT = 49,
+ FLEE = 50,
+ FLEE_MOD = 51,
+ CRIT = 52,
+ ATTACK_DELAY = 53,
+ JOB = 55
+ };
+} // namespace Net
+
enum
{
EA_SPRITE_BASE = 0,