This commit is contained in:
aozhiwei 2023-10-24 13:47:22 +08:00
parent f902ead3b1
commit 14e50a5b7c

View File

@ -371,7 +371,7 @@ behaviac::EBTStatus HeroAgent::SearchEnemy(float range)
!c->HasBuffEffect(kBET_Hide) &&
!c->HasBuffEffect(kBET_Invincible) &&
c->team_id != myself->team_id &&
myself->IsIgnoreTarget(c->GetUniId())) {
!myself->IsIgnoreTarget(c->GetUniId())) {
if (a8::HasBitFlag(myself->status, CS_DisableAttackAndroid) &&
c->IsAndroid()) {
} else {