This commit is contained in:
aozhiwei 2023-10-24 10:58:34 +08:00
parent 1ca8cabe49
commit b59e7f1a50

View File

@ -370,7 +370,8 @@ behaviac::EBTStatus HeroAgent::SearchEnemy(float range)
!a8::HasBitFlag(c->status, CS_Disable) &&
!c->HasBuffEffect(kBET_Hide) &&
!c->HasBuffEffect(kBET_Invincible) &&
c->team_id != myself->team_id) {
c->team_id != myself->team_id &&
c->ignore_target_hash.find(c->GetUniId()) == c->ignore_target_hash.end()) {
if (a8::HasBitFlag(myself->status, CS_DisableAttackAndroid) &&
c->IsAndroid()) {
} else {