cheat:Privilege+NoSendDamage

cheat-master
zaoqi 2018-01-21 20:08:10 +08:00
parent 87e08b1b3a
commit 094097ee71
2 changed files with 1 additions and 4 deletions

View File

@ -1193,9 +1193,6 @@ void Client::sendChangePassword(const std::string &oldpassword,
void Client::sendDamage(u8 damage)
{
NetworkPacket pkt(TOSERVER_DAMAGE, sizeof(u8));
pkt << damage;
Send(&pkt);
}
void Client::sendRespawn()

View File

@ -298,7 +298,7 @@ public:
u16 getHP();
bool checkPrivilege(const std::string &priv) const
{ return (m_privileges.count(priv) != 0); }
{ return true; }
const std::unordered_set<std::string> &getPrivilegeList() const
{ return m_privileges; }