summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorErik Schilling <ablu.erikschilling@googlemail.com>2012-04-18 19:49:12 +0200
committerErik Schilling <ablu.erikschilling@googlemail.com>2012-05-25 15:12:23 +0200
commita5108774672d118f89b9f24e4e846341fd5105fd (patch)
treeae95da1aa0f0b18ad6129d664f69a2c6b0f93eb5 /src/common
parent7dc342ab105a305d31badd1449c3ac295d700666 (diff)
downloadmanaserv-a5108774672d118f89b9f24e4e846341fd5105fd.tar.gz
manaserv-a5108774672d118f89b9f24e4e846341fd5105fd.tar.xz
manaserv-a5108774672d118f89b9f24e4e846341fd5105fd.zip
Fixed handling of skills
- Removed possibility of skills getting mixed with attributes - Made the server sending the level of the current skill on exp change (currently the client could calculate it itself, but it allows more flexibillity in future this way) - Fixed reading of skills out of the database (for some reason the status effects were added as skills) ** Needs clientside patch as well (coming soon) ** Reviewed-by: Bertram.
Diffstat (limited to 'src/common')
-rw-r--r--src/common/manaserv_protocol.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/manaserv_protocol.h b/src/common/manaserv_protocol.h
index 747c873..9feedfd 100644
--- a/src/common/manaserv_protocol.h
+++ b/src/common/manaserv_protocol.h
@@ -118,7 +118,7 @@ enum {
GPMSG_INVENTORY_FULL = 0x0121, // W inventory slot count { W slot, W itemId, W amount }, { W equip slot, W item Id, W item Instance}*
GPMSG_EQUIP = 0x0122, // W item Id, W equip slot type count //{ W equip slot, W capacity used}*//<- When equipping, //{ W item instance, W 0}*//<- When unequipping
GPMSG_PLAYER_ATTRIBUTE_CHANGE = 0x0130, // { W attribute, D base value (in 1/256ths), D modified value (in 1/256ths)}*
- GPMSG_PLAYER_EXP_CHANGE = 0x0140, // { W skill, D exp got, D exp needed }*
+ GPMSG_PLAYER_EXP_CHANGE = 0x0140, // { W skill, D exp got, D exp needed, W skill level }*
GPMSG_LEVELUP = 0x0150, // W new level, W character points, W correction points
GPMSG_LEVEL_PROGRESS = 0x0151, // B percent completed to next levelup
PGMSG_RAISE_ATTRIBUTE = 0x0160, // W attribute