This commit is contained in:
aozhiwei 2023-04-08 17:00:15 +08:00
parent a6112c1b62
commit f747efb205
3 changed files with 7 additions and 0 deletions

View File

@ -1095,6 +1095,7 @@ void Player::_CMGameOver(f8::MsgHdr& hdr, const cs::CMGameOver& msg)
{
if (room->GetGasData().GetGasMode() == GasInactive) {
stats->is_run_away = true;
GetTeam()->RunAway(this);
}
CancelRevive();
if (!dead) {

View File

@ -461,3 +461,8 @@ void Team::GenBattleUuid()
hum->GetBattleContext()->battle_uuid = battle_uuid;
}
}
void Team::RunAway(Human* hum)
{
}

View File

@ -49,6 +49,7 @@ class Team
void SendTeamBattleReport(Human* sender);
void GenBattleReportData(Human* player, a8::MutableXObject* params);
void GenBattleUuid();
void RunAway(Human* hum);
private:
int team_id_ = 0;