diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-01 15:28:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-01 19:28:08 +0300 |
commit | 081e86a783d33e92d9566f5262b629031887d404 (patch) | |
tree | f5a5004837089887fc3a8d99093e8beae9236727 /src/net/eathena/playerhandler.cpp | |
parent | a001d8490f6996d5228d0e86ef3b3c6ee1712c47 (diff) | |
download | mv-081e86a783d33e92d9566f5262b629031887d404.tar.gz mv-081e86a783d33e92d9566f5262b629031887d404.tar.bz2 mv-081e86a783d33e92d9566f5262b629031887d404.tar.xz mv-081e86a783d33e92d9566f5262b629031887d404.zip |
Move CRIT stat from net enum into attributes.
Diffstat (limited to 'src/net/eathena/playerhandler.cpp')
-rw-r--r-- | src/net/eathena/playerhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/eathena/playerhandler.cpp b/src/net/eathena/playerhandler.cpp index 089a06d26..2617b70f6 100644 --- a/src/net/eathena/playerhandler.cpp +++ b/src/net/eathena/playerhandler.cpp @@ -353,7 +353,7 @@ void PlayerHandler::processPlayerStatUpdate5(Net::MessageIn &msg) PlayerInfo::setStatBase(FLEE, msg.readInt16("flee"), false); PlayerInfo::setStatMod(FLEE, msg.readInt16("flee2/10")); - PlayerInfo::setStatBase(CRIT, msg.readInt16("crit/10")); + PlayerInfo::setStatBase(Attributes::CRIT, msg.readInt16("crit/10")); PlayerInfo::setAttribute(Attributes::ATTACK_DELAY, msg.readInt16("attack speed")); |