summaryrefslogtreecommitdiff
path: root/src/net/ea/protocol.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-07-15 14:43:16 -0600
committerJared Adams <jaxad0127@gmail.com>2009-07-15 14:47:24 -0600
commit18aaa873abcaa617bbd296f73138d062423662b8 (patch)
treecfdcf6d3a5750549c01df38cda27f0ea14b47279 /src/net/ea/protocol.h
parentfa6d39d9f56e09abfb6b48bacdd66ddbad20c641 (diff)
downloadMana-18aaa873abcaa617bbd296f73138d062423662b8.tar.gz
Mana-18aaa873abcaa617bbd296f73138d062423662b8.tar.bz2
Mana-18aaa873abcaa617bbd296f73138d062423662b8.tar.xz
Mana-18aaa873abcaa617bbd296f73138d062423662b8.zip
Merge and cleanup attribute code
Diffstat (limited to 'src/net/ea/protocol.h')
-rw-r--r--src/net/ea/protocol.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/net/ea/protocol.h b/src/net/ea/protocol.h
index fcb96f22..268c8c67 100644
--- a/src/net/ea/protocol.h
+++ b/src/net/ea/protocol.h
@@ -22,6 +22,30 @@
#ifndef EA_PROTOCOL_H
#define EA_PROTOCOL_H
+enum {
+ STR = 0xd,
+ AGI,
+ VIT,
+ INT,
+ DEX,
+ LUK,
+
+ STR_U,
+ AGI_U,
+ VIT_U,
+ INT_U,
+ DEX_U,
+ LUK_U,
+
+ ATK,
+ DEF,
+ MATK,
+ MDEF,
+ HIT,
+ FLEE,
+ CRIT
+};
+
static const int INVENTORY_OFFSET = 2;
static const int STORAGE_OFFSET = 1;