summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--src/game.cpp18
2 files changed, 20 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 792a3ca5..68d2de43 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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;