diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-07-25 19:55:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-07-25 19:55:16 +0300 |
commit | 6afbd218f72684241e34e3561c900f41a5542010 (patch) | |
tree | 82050ce2d6bb8e8ff5c7f0cfe4568fb5e49a8675 /src/net | |
parent | 2c1a20a6abe784ac6bcb72b9b961db6b8567bd32 (diff) | |
download | manaverse-6afbd218f72684241e34e3561c900f41a5542010.tar.gz manaverse-6afbd218f72684241e34e3561c900f41a5542010.tar.bz2 manaverse-6afbd218f72684241e34e3561c900f41a5542010.tar.xz manaverse-6afbd218f72684241e34e3561c900f41a5542010.zip |
Fix too big lines.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/eathena/playerhandler.cpp | 6 | ||||
-rw-r--r-- | src/net/eathena/playerrecv.cpp | 18 | ||||
-rw-r--r-- | src/net/tmwa/playerhandler.cpp | 6 |
3 files changed, 20 insertions, 10 deletions
diff --git a/src/net/eathena/playerhandler.cpp b/src/net/eathena/playerhandler.cpp index 5b7b8baf5..b0edf5c1c 100644 --- a/src/net/eathena/playerhandler.cpp +++ b/src/net/eathena/playerhandler.cpp @@ -547,7 +547,8 @@ void PlayerHandler::setStat(Net::MessageIn &msg, if (m) { m->setHp(base); - m->setMaxHp(PlayerInfo::getAttribute(Attributes::PLAYER_MAX_HP)); + m->setMaxHp(PlayerInfo::getAttribute( + Attributes::PLAYER_MAX_HP)); } } break; @@ -629,7 +630,8 @@ void PlayerHandler::setStat(Net::MessageIn &msg, // ++ here used in wrong way. Need like Sp::NEXTBASEEXP? case Sp::NEXTJOBEXP: PlayerInfo::setStatExperience(Attributes::PLAYER_JOB, - PlayerInfo::getStatExperience(Attributes::PLAYER_JOB).first, base); + PlayerInfo::getStatExperience(Attributes::PLAYER_JOB).first, + base); break; case Sp::WEIGHT: PlayerInfo::setAttribute(Attributes::TOTAL_WEIGHT, base); diff --git a/src/net/eathena/playerrecv.cpp b/src/net/eathena/playerrecv.cpp index 3c32be745..8f223363c 100644 --- a/src/net/eathena/playerrecv.cpp +++ b/src/net/eathena/playerrecv.cpp @@ -151,7 +151,8 @@ void PlayerRecv::processPlayerStatUpdate5(Net::MessageIn &msg) PlayerInfo::setStatBase(Attributes::PLAYER_ATK, msg.readInt16("left atk"), Notify_false); - PlayerInfo::setStatMod(Attributes::PLAYER_ATK, msg.readInt16("right atk")); + PlayerInfo::setStatMod(Attributes::PLAYER_ATK, + msg.readInt16("right atk")); PlayerInfo::updateAttrs(); val = msg.readInt16("right matk"); @@ -162,19 +163,24 @@ void PlayerRecv::processPlayerStatUpdate5(Net::MessageIn &msg) PlayerInfo::setStatBase(Attributes::PLAYER_DEF, msg.readInt16("left def"), Notify_false); - PlayerInfo::setStatMod(Attributes::PLAYER_DEF, msg.readInt16("right def")); + PlayerInfo::setStatMod(Attributes::PLAYER_DEF, + msg.readInt16("right def")); PlayerInfo::setStatBase(Attributes::PLAYER_MDEF, msg.readInt16("left mdef"), Notify_false); - PlayerInfo::setStatMod(Attributes::PLAYER_MDEF, msg.readInt16("right mdef")); + PlayerInfo::setStatMod(Attributes::PLAYER_MDEF, + msg.readInt16("right mdef")); - PlayerInfo::setStatBase(Attributes::PLAYER_HIT, msg.readInt16("hit")); + PlayerInfo::setStatBase(Attributes::PLAYER_HIT, + msg.readInt16("hit")); PlayerInfo::setStatBase(Attributes::PLAYER_FLEE, msg.readInt16("flee"), Notify_false); - PlayerInfo::setStatMod(Attributes::PLAYER_FLEE, msg.readInt16("flee2/10")); + PlayerInfo::setStatMod(Attributes::PLAYER_FLEE, + msg.readInt16("flee2/10")); - PlayerInfo::setStatBase(Attributes::PLAYER_CRIT, msg.readInt16("crit/10")); + PlayerInfo::setStatBase(Attributes::PLAYER_CRIT, + msg.readInt16("crit/10")); PlayerInfo::setAttribute(Attributes::PLAYER_ATTACK_DELAY, msg.readInt16("attack speed")); diff --git a/src/net/tmwa/playerhandler.cpp b/src/net/tmwa/playerhandler.cpp index 5058e1d39..dba6f5162 100644 --- a/src/net/tmwa/playerhandler.cpp +++ b/src/net/tmwa/playerhandler.cpp @@ -251,7 +251,8 @@ void PlayerHandler::setStat(Net::MessageIn &msg, if (m) { m->setHp(base); - m->setMaxHp(PlayerInfo::getAttribute(Attributes::PLAYER_MAX_HP)); + m->setMaxHp(PlayerInfo::getAttribute( + Attributes::PLAYER_MAX_HP)); } } break; @@ -332,7 +333,8 @@ void PlayerHandler::setStat(Net::MessageIn &msg, break; case Sp::JOB_MOD: PlayerInfo::setStatExperience(Attributes::PLAYER_JOB, - PlayerInfo::getStatExperience(Attributes::PLAYER_JOB).first, base); + PlayerInfo::getStatExperience(Attributes::PLAYER_JOB).first, + base); break; case Sp::WEIGHT: PlayerInfo::setAttribute(Attributes::TOTAL_WEIGHT, base); |