diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-30 23:40:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-30 23:40:58 +0300 |
commit | 24c274b63f95636619b985db99311f6807e12170 (patch) | |
tree | 237731512e20f05cfa691b9879ab23e85d7feea9 /src/net/ea/playerhandler.cpp | |
parent | fc2702efdf477a96761a6405e5d764c478b2905f (diff) | |
download | plus-24c274b63f95636619b985db99311f6807e12170.tar.gz plus-24c274b63f95636619b985db99311f6807e12170.tar.bz2 plus-24c274b63f95636619b985db99311f6807e12170.tar.xz plus-24c274b63f95636619b985db99311f6807e12170.zip |
Add manner stat to player.
Diffstat (limited to 'src/net/ea/playerhandler.cpp')
-rw-r--r-- | src/net/ea/playerhandler.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net/ea/playerhandler.cpp b/src/net/ea/playerhandler.cpp index 941f96499..01b83e143 100644 --- a/src/net/ea/playerhandler.cpp +++ b/src/net/ea/playerhandler.cpp @@ -197,7 +197,9 @@ void PlayerHandler::processPlayerStatUpdate1(Net::MessageIn &msg) PlayerInfo::setStatMod(Attributes::KARMA, 0); break; case 0x0004: - break; // manner + PlayerInfo::setStatBase(Attributes::MANNER, value); + PlayerInfo::setStatMod(Attributes::MANNER, 0); + break; case 0x0005: PlayerInfo::setAttribute(Attributes::HP, value); if (localPlayer->isInParty() && Party::getParty(1)) |