diff options
Diffstat (limited to 'src/net/ea')
-rw-r--r-- | src/net/ea/eaprotocol.h | 6 | ||||
-rw-r--r-- | src/net/ea/playerhandler.cpp | 2 |
2 files changed, 2 insertions, 6 deletions
diff --git a/src/net/ea/eaprotocol.h b/src/net/ea/eaprotocol.h index 226bb7401..5bb9ef46d 100644 --- a/src/net/ea/eaprotocol.h +++ b/src/net/ea/eaprotocol.h @@ -39,11 +39,7 @@ enum EA_MATK, EA_MDEF, EA_HIT, - EA_FLEE, - EA_CRIT - -// KARMA, -// MANNER + EA_FLEE }; enum diff --git a/src/net/ea/playerhandler.cpp b/src/net/ea/playerhandler.cpp index 831bc08e0..cafd4b681 100644 --- a/src/net/ea/playerhandler.cpp +++ b/src/net/ea/playerhandler.cpp @@ -515,7 +515,7 @@ void PlayerHandler::setStat(const int type, PlayerInfo::setStatMod(EA_FLEE, base); break; case 0x0034: - PlayerInfo::setStatBase(EA_CRIT, base); + PlayerInfo::setStatBase(Attributes::CRIT, base); break; case 0x0035: localPlayer->setAttackSpeed(base); |