mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +00:00
[12164] Fix inspect honor kill stats, arena stats.
Fix SMSG_NOTIFICATION structure Move back Updatehonorfields, too fastly removed Define some pvp opcodes Signed-off-by: Yaki Khadafi <elsoldollo@gmail.com>
This commit is contained in:
parent
f911964642
commit
4dcb91df9f
16 changed files with 128 additions and 24 deletions
|
|
@ -4147,6 +4147,24 @@ bool ChatHandler::HandleHonorAddKillCommand(char* /*args*/)
|
|||
return true;
|
||||
}
|
||||
|
||||
bool ChatHandler::HandleHonorKillsUpdateCommand(char* /*args*/)
|
||||
{
|
||||
Player* target = getSelectedPlayer();
|
||||
if (!target)
|
||||
{
|
||||
SendSysMessage(LANG_PLAYER_NOT_FOUND);
|
||||
SetSentErrorMessage(true);
|
||||
return false;
|
||||
}
|
||||
|
||||
// check online security
|
||||
if (HasLowerSecurity(target))
|
||||
return false;
|
||||
|
||||
target->UpdateHonorKills();
|
||||
return true;
|
||||
}
|
||||
|
||||
bool ChatHandler::HandleLookupEventCommand(char* args)
|
||||
{
|
||||
if (!*args)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue