diff options
author | Yohann Ferreira <bertram@cegetel.net> | 2005-09-17 13:25:13 +0000 |
---|---|---|
committer | Yohann Ferreira <bertram@cegetel.net> | 2005-09-17 13:25:13 +0000 |
commit | 3bfcee0d9c033a46fe1b13795d89909c8fb6a239 (patch) | |
tree | 087d110421d9e27b2d54d90af5790e3e14df5b43 | |
parent | 86db7587fed4adb99b9092a5d13da127d43c65a9 (diff) | |
download | mana-3bfcee0d9c033a46fe1b13795d89909c8fb6a239.tar.gz mana-3bfcee0d9c033a46fe1b13795d89909c8fb6a239.tar.bz2 mana-3bfcee0d9c033a46fe1b13795d89909c8fb6a239.tar.xz mana-3bfcee0d9c033a46fe1b13795d89909c8fb6a239.zip |
Now derived stats are updated on equip/unequip. The status win is also resizable.
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | src/game.cpp | 18 |
2 files changed, 20 insertions, 0 deletions
@@ -20,6 +20,8 @@ are got from the server, and then, are correct ones. * src/gui/minimap.cpp : Only shows the Minimap Window if there's actually a minimap to the current map. + * src/gui/status.cpp, src/game.cpp: The derived stats are now updated + correctly upon equipping/unequipping. 2005-09-16 Bjørn Lindeijer <bjorn@lindeijer.nl> diff --git a/src/game.cpp b/src/game.cpp index 0eed5da9..1f725858 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -1516,6 +1516,24 @@ void do_parse() case 0x0009: player_info->statsPointsToAttribute = msg.readLong(); break; + case 0x0029: + player_info->ATK = msg.readLong(); + break; + case 0x002b: + player_info->MATK = msg.readLong(); + break; + case 0x002d: + player_info->DEF = msg.readLong(); + break; + case 0x002f: + player_info->MDEF = msg.readLong(); + break; + case 0x0031: + player_info->HIT = msg.readLong(); + break; + case 0x0032: + player_info->FLEE = msg.readLong(); + break; case 0x0035: player_node->aspd = msg.readLong(); break; |