summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2005-09-17 13:25:13 +0000
committerYohann Ferreira <bertram@cegetel.net>2005-09-17 13:25:13 +0000
commit3bfcee0d9c033a46fe1b13795d89909c8fb6a239 (patch)
tree087d110421d9e27b2d54d90af5790e3e14df5b43 /src/game.cpp
parent86db7587fed4adb99b9092a5d13da127d43c65a9 (diff)
downloadmana-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.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp18
1 files changed, 18 insertions, 0 deletions
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;