This commit is contained in:
aozhiwei 2019-04-11 13:23:34 +08:00
parent 7e61dc58eb
commit 8f1d7dc710

View File

@ -103,7 +103,7 @@ void AndroidAI::DoMove()
void AndroidAI::DoAttack() void AndroidAI::DoAttack()
{ {
if (owner->updated_times % 2 == 0) { if (owner->updated_times % 10 == 0) {
Human* enemy = owner->room->FindEnemy((Human*)owner); Human* enemy = owner->room->FindEnemy((Human*)owner);
if (enemy) { if (enemy) {
Human* sender = (Human*)owner; Human* sender = (Human*)owner;