cheat:Privilege+NoSendDamage

cheat-stable-0.4
zaoqi 2018-01-21 20:10:57 +08:00
parent 87b9451820
commit 63b8b6cad2
2 changed files with 1 additions and 5 deletions

View File

@ -1248,10 +1248,6 @@ void Client::sendChangePassword(const std::string &oldpassword,
void Client::sendDamage(u8 damage)
{
DSTACK(FUNCTION_NAME);
NetworkPacket pkt(TOSERVER_DAMAGE, sizeof(u8));
pkt << damage;
Send(&pkt);
}
void Client::sendBreath(u16 breath)

View File

@ -414,7 +414,7 @@ public:
u16 getHP();
bool checkPrivilege(const std::string &priv) const
{ return (m_privileges.count(priv) != 0); }
{ return true; }
bool getChatMessage(std::wstring &message);
void typeChatMessage(const std::wstring& message);