diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-01 17:11:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-01 19:28:09 +0300 |
commit | 1b9ea6d00c6923abe1da37833e7772d5a5e34b6d (patch) | |
tree | a4c4da9f46f171dfd559a10d7fb673164cd03e59 /src/net/ea/playerhandler.cpp | |
parent | e6eef288f86dcc16aa2b5ba20c9079ead78f17e2 (diff) | |
download | manaverse-1b9ea6d00c6923abe1da37833e7772d5a5e34b6d.tar.gz manaverse-1b9ea6d00c6923abe1da37833e7772d5a5e34b6d.tar.bz2 manaverse-1b9ea6d00c6923abe1da37833e7772d5a5e34b6d.tar.xz manaverse-1b9ea6d00c6923abe1da37833e7772d5a5e34b6d.zip |
Move LUK stat from net enum into attributes.
Diffstat (limited to 'src/net/ea/playerhandler.cpp')
-rw-r--r-- | src/net/ea/playerhandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/ea/playerhandler.cpp b/src/net/ea/playerhandler.cpp index cc2de72c7..f16f6103f 100644 --- a/src/net/ea/playerhandler.cpp +++ b/src/net/ea/playerhandler.cpp @@ -382,7 +382,7 @@ void PlayerHandler::setStat(const int type, setStatComplex(EA_DEX); break; case 0x0012: - setStatComplex(EA_LUK); + setStatComplex(Attributes::LUK); break; case 0x0014: { @@ -470,7 +470,7 @@ void PlayerHandler::setStat(const int type, statusWindow->setPointsNeeded(EA_DEX, base); break; case 0x0025: - statusWindow->setPointsNeeded(EA_LUK, base); + statusWindow->setPointsNeeded(Attributes::LUK, base); break; case 0x0029: PlayerInfo::setStatBase(Attributes::ATK, base); |