diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-17 02:33:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-17 02:33:41 +0300 |
commit | 1be5a1cd679a5476e1ad3339c01a8b7237b84aec (patch) | |
tree | 8fcbe25cd0444185f66e3d22ae31000aaa28173a /src/net/eathena/playerrecv.cpp | |
parent | e91a8c39e38cddb085320ae390cf985a73eaee5c (diff) | |
download | manaverse-1be5a1cd679a5476e1ad3339c01a8b7237b84aec.tar.gz manaverse-1be5a1cd679a5476e1ad3339c01a8b7237b84aec.tar.bz2 manaverse-1be5a1cd679a5476e1ad3339c01a8b7237b84aec.tar.xz manaverse-1be5a1cd679a5476e1ad3339c01a8b7237b84aec.zip |
Remove default parameter from PlayerInfo::setStatMod.
Diffstat (limited to 'src/net/eathena/playerrecv.cpp')
-rw-r--r-- | src/net/eathena/playerrecv.cpp | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/src/net/eathena/playerrecv.cpp b/src/net/eathena/playerrecv.cpp index 802563b97..397b93f22 100644 --- a/src/net/eathena/playerrecv.cpp +++ b/src/net/eathena/playerrecv.cpp @@ -158,26 +158,31 @@ void PlayerRecv::processPlayerStatUpdate5(Net::MessageIn &msg) msg.readInt16("left atk"), Notify_false); PlayerInfo::setStatMod(Attributes::PLAYER_ATK, - msg.readInt16("right atk")); + msg.readInt16("right atk"), + Notify_true); PlayerInfo::updateAttrs(); val = msg.readInt16("right matk"); PlayerInfo::setStatBase(Attributes::PLAYER_MATK, val, Notify_false); val = msg.readInt16("left matk"); - PlayerInfo::setStatMod(Attributes::PLAYER_MATK, val); + PlayerInfo::setStatMod(Attributes::PLAYER_MATK, + val, + Notify_true); PlayerInfo::setStatBase(Attributes::PLAYER_DEF, msg.readInt16("left def"), Notify_false); PlayerInfo::setStatMod(Attributes::PLAYER_DEF, - msg.readInt16("right def")); + msg.readInt16("right def"), + Notify_true); PlayerInfo::setStatBase(Attributes::PLAYER_MDEF, msg.readInt16("left mdef"), Notify_false); PlayerInfo::setStatMod(Attributes::PLAYER_MDEF, - msg.readInt16("right mdef")); + msg.readInt16("right mdef"), + Notify_true); PlayerInfo::setStatBase(Attributes::PLAYER_HIT, msg.readInt16("hit"), @@ -187,7 +192,8 @@ void PlayerRecv::processPlayerStatUpdate5(Net::MessageIn &msg) msg.readInt16("flee"), Notify_false); PlayerInfo::setStatMod(Attributes::PLAYER_FLEE, - msg.readInt16("flee2/10")); + msg.readInt16("flee2/10"), + Notify_true); PlayerInfo::setStatBase(Attributes::PLAYER_CRIT, msg.readInt16("crit/10"), |