1
This commit is contained in:
parent
ad44ba7cea
commit
c68bac3a5e
@ -491,6 +491,10 @@ void AndroidNewAI::UpdateAttack()
|
||||
ChangeToStateNewAI(ASE_Thinking);
|
||||
return;
|
||||
}
|
||||
if (node_.exec_frame_num > SERVER_FRAME_RATE * 8) {
|
||||
ChangeToStateNewAI(ASE_Thinking);
|
||||
return;
|
||||
}
|
||||
float distance = myself->GetPos().Distance(node_.target->GetPos());
|
||||
if (distance > GetAttackRange()) {
|
||||
if (ai_meta->i->pursuit_radius() <= 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user