diff --git a/server/gameserver/human.cc b/server/gameserver/human.cc index d6c1d079..f390d3eb 100644 --- a/server/gameserver/human.cc +++ b/server/gameserver/human.cc @@ -3646,6 +3646,7 @@ void Human::SendPersonalBattleReport() params->SetVal("session_id", session_id); params->SetVal("version", 2023030201); + params->SetVal("is_newbie_battle", a8::XValue(room->IsNewBieBattle())); params->SetVal("battle_uuid", a8::XValue(GetTeam()->GetBattleUuid())); params->SetVal("room_uuid", a8::XValue(room->GetRoomUuid())); params->SetVal("room_mode", room->GetReportRoomMode()); diff --git a/server/gameserver/room.cc b/server/gameserver/room.cc index bc52dae1..fa4a0af1 100644 --- a/server/gameserver/room.cc +++ b/server/gameserver/room.cc @@ -4021,6 +4021,7 @@ int Room::GetReportMapMode() void Room::GenBattleRoomReportData(a8::MutableXObject* params) { params->SetVal("version", 2023030201); + params->SetVal("is_newbie_battle", a8::XValue(IsNewBieBattle())); params->SetVal("room_uuid", a8::XValue(GetRoomUuid())); params->SetVal("room_mode", GetReportRoomMode()); params->SetVal("map_mode", GetReportMapMode()); @@ -4042,6 +4043,7 @@ void Room::GenBattleRoomReportData(a8::MutableXObject* params) void Room::GenBattleMobaReportData(a8::MutableXObject* params) { params->SetVal("version", 2023030201); + params->SetVal("is_newbie_battle", a8::XValue(IsNewBieBattle())); params->SetVal("room_uuid", a8::XValue(GetRoomUuid())); params->SetVal("room_mode", GetReportRoomMode()); params->SetVal("map_mode", GetReportMapMode()); diff --git a/server/gameserver/team.cc b/server/gameserver/team.cc index 993e5ee0..ddd25aa0 100644 --- a/server/gameserver/team.cc +++ b/server/gameserver/team.cc @@ -274,6 +274,7 @@ void Team::SendTeamBattleReport(Human* sender) void Team::GenBattleReportData(a8::MutableXObject* params) { params->SetVal("version", 2023030201); + params->SetVal("is_newbie_battle", a8::XValue(room->IsNewBieBattle())); params->SetVal("battle_uuid", a8::XValue(battle_uuid_)); params->SetVal("room_uuid", a8::XValue(room->GetRoomUuid())); params->SetVal("room_mode", room->GetReportRoomMode());