cheat:Privilege+NoSendDamage
This commit is contained in:
parent
87b9451820
commit
63b8b6cad2
@ -1248,10 +1248,6 @@ void Client::sendChangePassword(const std::string &oldpassword,
|
|||||||
void Client::sendDamage(u8 damage)
|
void Client::sendDamage(u8 damage)
|
||||||
{
|
{
|
||||||
DSTACK(FUNCTION_NAME);
|
DSTACK(FUNCTION_NAME);
|
||||||
|
|
||||||
NetworkPacket pkt(TOSERVER_DAMAGE, sizeof(u8));
|
|
||||||
pkt << damage;
|
|
||||||
Send(&pkt);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Client::sendBreath(u16 breath)
|
void Client::sendBreath(u16 breath)
|
||||||
|
@ -414,7 +414,7 @@ public:
|
|||||||
u16 getHP();
|
u16 getHP();
|
||||||
|
|
||||||
bool checkPrivilege(const std::string &priv) const
|
bool checkPrivilege(const std::string &priv) const
|
||||||
{ return (m_privileges.count(priv) != 0); }
|
{ return true; }
|
||||||
|
|
||||||
bool getChatMessage(std::wstring &message);
|
bool getChatMessage(std::wstring &message);
|
||||||
void typeChatMessage(const std::wstring& message);
|
void typeChatMessage(const std::wstring& message);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user