diff options
author | Philipp Sehmisch <tmw@crushnet.org> | 2007-03-22 23:04:06 +0000 |
---|---|---|
committer | Philipp Sehmisch <tmw@crushnet.org> | 2007-03-22 23:04:06 +0000 |
commit | 164f19d705d0fc5745b7dda0547c23d1d06d05a1 (patch) | |
tree | 21e40e143b641a66b231196d21bd20a474834e26 /src/defines.h | |
parent | a2f25c34db9db5c8fe57e0abdc9162531667fd06 (diff) | |
download | manaserv-164f19d705d0fc5745b7dda0547c23d1d06d05a1.tar.gz manaserv-164f19d705d0fc5745b7dda0547c23d1d06d05a1.tar.bz2 manaserv-164f19d705d0fc5745b7dda0547c23d1d06d05a1.tar.xz manaserv-164f19d705d0fc5745b7dda0547c23d1d06d05a1.zip |
Implemented communication of attribute changes from server to client.
Diffstat (limited to 'src/defines.h')
-rw-r--r-- | src/defines.h | 3 |
1 files changed, 2 insertions, 1 deletions
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, |