diff --git a/server/gameserver/human.cc b/server/gameserver/human.cc index b2ec1ae9..b20a5b01 100644 --- a/server/gameserver/human.cc +++ b/server/gameserver/human.cc @@ -3662,8 +3662,20 @@ void Human::ShiledBreak() void Human::SendPersonalBattleReport() { + if (room->IsPveRoom()) { + return; + } std::shared_ptr params = a8::MutableXObject::CreateObject(); - GenBattleReportData(params.get()); + { + params->SetVal("account_id", account_id); + params->SetVal("session_id", session_id); + + params->SetVal("version", 2023030201); + params->SetVal("battle_uuid", a8::XValue(battle_uuid)); + params->SetVal("room_uuid", a8::XValue(room->GetRoomUuid())); + params->SetVal("room_mode", room->GetReportRoomMode()); + params->SetVal("team_id", GetTeam()->GetTeamId()); + } std::string url; JsonDataMgr::Instance()->GetApiUrl(url); if (url.find('?') != std::string::npos) {