This commit is contained in:
aozhiwei 2023-09-26 17:28:49 +08:00
parent 7d5656d946
commit ba365a2ed6

View File

@ -933,7 +933,11 @@ void Human::FillSMGameOver(cs::SMGameOver& msg)
return true; return true;
}); });
} }
if (GetBattleContext()->GetBattleTimes() < 10) {
msg.set_star_num(10);
} else {
msg.set_star_num(mt::Param::GetStarNum(stats->rank)); msg.set_star_num(mt::Param::GetStarNum(stats->rank));
}
if (GetTeam()->already_report_battle) { if (GetTeam()->already_report_battle) {
msg.mutable_settlement_new()->set_settlement_status(1); msg.mutable_settlement_new()->set_settlement_status(1);
auto p = msg.mutable_settlement_new(); auto p = msg.mutable_settlement_new();