bitburner-src/markdown/bitburner.go.cheat.md
2023-12-26 11:45:27 -05:00

1.2 KiB

Home > bitburner > Go > cheat

Go.cheat property

Illicit and dangerous IPvGO tools. Not for the faint of heart. Requires Bitnode 14.2 to use.

Signature:

cheat: {
    getCheatSuccessChance(): number;
    removeRouter(
      x: number,
      y: number,
    ): Promise<{
      type: "invalid" | "move" | "pass" | "gameOver";
      x: number;
      y: number;
      success: boolean;
    }>;
    playTwoMoves(
      x1: number,
      y1: number,
      x2: number,
      x2: number,
    ): Promise<{
      type: "invalid" | "move" | "pass" | "gameOver";
      x: number;
      y: number;
      success: boolean;
    }>;

    repairOfflineNode(
      x: number,
      y: number,
    ): Promise<{
      type: "invalid" | "move" | "pass" | "gameOver";
      x: number;
      y: number;
      success: boolean;
    }>;

    destroyNode(
      x: number,
      y: number,
    ): Promise<{
      type: "invalid" | "move" | "pass" | "gameOver";
      x: number;
      y: number;
      success: boolean;
    }>;
  };