Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Robosturm committed Dec 15, 2023
2 parents 038b89b + a057b0f commit 5a820a2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions resources/scripts/units/ZCOUNIT_AUTO_TANK.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ var Constructor = function()
unit.setHasMoved(false);
unit.addMovementBonus(-999, 1);
unitAttackVariable.writeDataInt32(1);
} else if (attackedOnce === 1)
{
unitAttackVariable.writeDataInt32(0);
unit.addMovementBonus(999, 1);
}
}
};
Expand Down

0 comments on commit 5a820a2

Please sign in to comment.