summaryrefslogtreecommitdiff
path: root/src/net/tmwa/playerrecv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa/playerrecv.cpp')
-rw-r--r--src/net/tmwa/playerrecv.cpp20
1 files changed, 15 insertions, 5 deletions
diff --git a/src/net/tmwa/playerrecv.cpp b/src/net/tmwa/playerrecv.cpp
index a914d50d6..f6dadcbed 100644
--- a/src/net/tmwa/playerrecv.cpp
+++ b/src/net/tmwa/playerrecv.cpp
@@ -116,24 +116,32 @@ void PlayerRecv::processPlayerStatUpdate5(Net::MessageIn &msg)
PlayerInfo::setStatBase(Attributes::PLAYER_ATK,
msg.readInt16("atk"),
Notify_false);
- PlayerInfo::setStatMod(Attributes::PLAYER_ATK, msg.readInt16("atk+"));
+ PlayerInfo::setStatMod(Attributes::PLAYER_ATK,
+ msg.readInt16("atk+"),
+ Notify_true);
PlayerInfo::updateAttrs();
val = msg.readInt16("matk");
PlayerInfo::setStatBase(Attributes::PLAYER_MATK, val, Notify_false);
val = msg.readInt16("matk+");
- PlayerInfo::setStatMod(Attributes::PLAYER_MATK, val);
+ PlayerInfo::setStatMod(Attributes::PLAYER_MATK,
+ val,
+ Notify_true);
PlayerInfo::setStatBase(Attributes::PLAYER_DEF,
msg.readInt16("def"),
Notify_false);
- PlayerInfo::setStatMod(Attributes::PLAYER_DEF, msg.readInt16("def+"));
+ PlayerInfo::setStatMod(Attributes::PLAYER_DEF,
+ msg.readInt16("def+"),
+ Notify_true);
PlayerInfo::setStatBase(Attributes::PLAYER_MDEF,
msg.readInt16("mdef"),
Notify_false);
- PlayerInfo::setStatMod(Attributes::PLAYER_MDEF, msg.readInt16("mdef+"));
+ PlayerInfo::setStatMod(Attributes::PLAYER_MDEF,
+ msg.readInt16("mdef+"),
+ Notify_true);
PlayerInfo::setStatBase(Attributes::PLAYER_HIT,
msg.readInt16("hit"),
@@ -142,7 +150,9 @@ void PlayerRecv::processPlayerStatUpdate5(Net::MessageIn &msg)
PlayerInfo::setStatBase(Attributes::PLAYER_FLEE,
msg.readInt16("flee"),
Notify_false);
- PlayerInfo::setStatMod(Attributes::PLAYER_FLEE, msg.readInt16("flee+"));
+ PlayerInfo::setStatMod(Attributes::PLAYER_FLEE,
+ msg.readInt16("flee+"),
+ Notify_true);
PlayerInfo::setStatBase(Attributes::PLAYER_CRIT,
msg.readInt16("crit"),