From 164f19d705d0fc5745b7dda0547c23d1d06d05a1 Mon Sep 17 00:00:00 2001 From: Philipp Sehmisch Date: Thu, 22 Mar 2007 23:04:06 +0000 Subject: Implemented communication of attribute changes from server to client. --- src/defines.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/defines.h') diff --git a/src/defines.h b/src/defines.h index dc27c3b4..ad1b47e0 100644 --- a/src/defines.h +++ b/src/defines.h @@ -147,6 +147,7 @@ enum { PGMSG_EQUIP = 0x0112, // B slot GPMSG_INVENTORY = 0x0120, // { B slot, W item id [, B amount] }* GPMSG_INVENTORY_FULL = 0x0121, // { B slot, W item id [, B amount] }* + GPMSG_PLAYER_ATTRIBUTE_UPDATE = 0x0130, // { W attribute, W value }* GPMSG_BEING_ENTER = 0x0200, // B type, W being id, B action, W*2 position // character: S name, B hair style, B hair color, B gender // monster: W type id @@ -302,7 +303,7 @@ enum BeingStats ATTR_EFF_INTELLIGENCE, ATTR_EFF_WILLPOWER, ATTR_EFF_CHARISMA, - NB_EFFECTIVE_ATTRIBUTES = ATTR_EFF_CHARISMA, + NB_EFFECTIVE_ATTRIBUTES, DERIVED_ATTR_HP_MAXIMUM = NB_EFFECTIVE_ATTRIBUTES, // Computed stats DERIVED_ATTR_PHYSICAL_ATTACK_MINIMUM, -- cgit v1.2.3-60-g2f50