This commit is contained in:
aozhiwei 2023-10-23 17:58:36 +08:00
parent 6febdc2ed5
commit a30efadc98

View File

@ -897,7 +897,10 @@ bool HeroAgent::HasObserver()
int HeroAgent::GetAliveEnemyNum()
{
if (owner_->IsHuman()) {
return std::max(0, owner_->room->RealAliveCount() - owner_->GetTeam()->GetAliveNum());
}
return 0;
}
int HeroAgent::GetLastShotPassTime()