1
This commit is contained in:
parent
7e61dc58eb
commit
8f1d7dc710
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user