summaryrefslogtreecommitdiff
path: root/src/net/ea/playerhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-30 22:55:31 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-30 22:55:31 +0300
commitf493b31b59c79f8923d23634b7e2450c4df7019b (patch)
treeb4576e3710d5280fcb87d9d0b4df0584e4436fd4 /src/net/ea/playerhandler.cpp
parentb1fa35079365cd92d6a719f5d95e17285bd17659 (diff)
downloadmanaverse-f493b31b59c79f8923d23634b7e2450c4df7019b.tar.gz
manaverse-f493b31b59c79f8923d23634b7e2450c4df7019b.tar.bz2
manaverse-f493b31b59c79f8923d23634b7e2450c4df7019b.tar.xz
manaverse-f493b31b59c79f8923d23634b7e2450c4df7019b.zip
eathena: add karma stat to player.
Diffstat (limited to 'src/net/ea/playerhandler.cpp')
-rw-r--r--src/net/ea/playerhandler.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/net/ea/playerhandler.cpp b/src/net/ea/playerhandler.cpp
index e365ccdfe..941f96499 100644
--- a/src/net/ea/playerhandler.cpp
+++ b/src/net/ea/playerhandler.cpp
@@ -191,7 +191,11 @@ void PlayerHandler::processPlayerStatUpdate1(Net::MessageIn &msg)
value), static_cast<float>(value), 0));
PlayerInfo::setStatBase(Attributes::WALK_SPEED, value);
PlayerInfo::setStatMod(Attributes::WALK_SPEED, 0);
- break;
+ break;
+ case 0x0003:
+ PlayerInfo::setStatBase(Attributes::KARMA, value);
+ PlayerInfo::setStatMod(Attributes::KARMA, 0);
+ break;
case 0x0004:
break; // manner
case 0x0005: