1
This commit is contained in:
parent
6febdc2ed5
commit
a30efadc98
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user