This commit is contained in:
aozhiwei 2024-04-18 11:53:45 +08:00
parent f9d969a9d6
commit cdac8c10e2

View File

@ -110,6 +110,9 @@ void Player::_CMExecCommand(f8::MsgHdr* hdr, const cs::CMExecCommand& msg)
} else if (cmd == "!chiji") {
if (room->IsMobaModeRoom()) {
Team* team = room->GetMobaTeamA();
if (team == GetTeam()) {
team = room->GetMobaTeamB();
}
while (team->GetKillCount() <100) {
team->IncKillCount();
}