summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorpanikon <panikon@zoho.com>2014-04-10 01:23:13 -0300
committerpanikon <panikon@zoho.com>2014-04-10 01:23:13 -0300
commitb5c2a71ef2575b66e7b1b25aed0ad3c60b4fef2b (patch)
tree5bea5273e47b379bc8c89cc44789c6f66a3898eb /src/common
parent4147d9f7966e7ebd94811248527cc45af1e54941 (diff)
downloadhercules-b5c2a71ef2575b66e7b1b25aed0ad3c60b4fef2b.tar.gz
hercules-b5c2a71ef2575b66e7b1b25aed0ad3c60b4fef2b.tar.bz2
hercules-b5c2a71ef2575b66e7b1b25aed0ad3c60b4fef2b.tar.xz
hercules-b5c2a71ef2575b66e7b1b25aed0ad3c60b4fef2b.zip
Fixed issue: 7936
http://hercules.ws/board/tracker/issue-7936-guildparty-item-bounded/
Diffstat (limited to 'src/common')
-rw-r--r--src/common/mmo.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/common/mmo.h b/src/common/mmo.h
index 019472acb..476d12d3f 100644
--- a/src/common/mmo.h
+++ b/src/common/mmo.h
@@ -230,6 +230,32 @@ struct item {
uint64 unique_id;
};
+//Equip position constants
+enum equip_pos {
+ EQP_HEAD_LOW = 0x000001,
+ EQP_HEAD_MID = 0x000200, //512
+ EQP_HEAD_TOP = 0x000100, //256
+ EQP_HAND_R = 0x000002, //2
+ EQP_HAND_L = 0x000020, //32
+ EQP_ARMOR = 0x000010, //16
+ EQP_SHOES = 0x000040, //64
+ EQP_GARMENT = 0x000004, //4
+ EQP_ACC_L = 0x000008, //8
+ EQP_ACC_R = 0x000080, //128
+ EQP_COSTUME_HEAD_TOP = 0x000400, //1024
+ EQP_COSTUME_HEAD_MID = 0x000800, //2048
+ EQP_COSTUME_HEAD_LOW = 0x001000, //4096
+ EQP_COSTUME_GARMENT = 0x002000, //8192
+ //UNUSED_COSTUME_FLOOR = 0x004000, //16384
+ EQP_AMMO = 0x008000, //32768
+ EQP_SHADOW_ARMOR = 0x010000, //65536
+ EQP_SHADOW_WEAPON = 0x020000, //131072
+ EQP_SHADOW_SHIELD = 0x040000, //262144
+ EQP_SHADOW_SHOES = 0x080000, //524288
+ EQP_SHADOW_ACC_R = 0x100000, //1048576
+ EQP_SHADOW_ACC_L = 0x200000, //2097152
+};
+
struct point {
unsigned short map;
short x,y;