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/game-server/itemmanager.cpp | |
parent | a2f25c34db9db5c8fe57e0abdc9162531667fd06 (diff) | |
download | manaserv-164f19d705d0fc5745b7dda0547c23d1d06d05a1.tar.gz manaserv-164f19d705d0fc5745b7dda0547c23d1d06d05a1.tar.xz manaserv-164f19d705d0fc5745b7dda0547c23d1d06d05a1.zip |
Implemented communication of attribute changes from server to client.
Diffstat (limited to 'src/game-server/itemmanager.cpp')
-rw-r--r-- | src/game-server/itemmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game-server/itemmanager.cpp b/src/game-server/itemmanager.cpp index 1c45617..8802ce7 100644 --- a/src/game-server/itemmanager.cpp +++ b/src/game-server/itemmanager.cpp @@ -89,9 +89,9 @@ ItemManager::ItemManager(std::string const &itemReferenceFile) modifiers.lifetime = XML::getProperty(node, "lifetime", 0); modifiers.attributes[BASE_ATTR_STRENGTH] = XML::getProperty(node, "strength", 0); modifiers.attributes[BASE_ATTR_AGILITY] = XML::getProperty(node, "agility", 0); + modifiers.attributes[BASE_ATTR_DEXTERITY] = XML::getProperty(node, "dexterity", 0); modifiers.attributes[BASE_ATTR_VITALITY] = XML::getProperty(node, "vitality", 0); modifiers.attributes[BASE_ATTR_INTELLIGENCE] = XML::getProperty(node, "intelligence", 0); - modifiers.attributes[BASE_ATTR_DEXTERITY] = XML::getProperty(node, "dexterity", 0); modifiers.attributes[BASE_ATTR_WILLPOWER] = XML::getProperty(node, "willpower", 0); modifiers.attributes[BASE_ATTR_CHARISMA] = XML::getProperty(node, "charisma", 0); modifiers.attributes[DERIVED_ATTR_HP_MAXIMUM] = XML::getProperty(node, "hp", 0); |