Function adventureMacroAuto

  • Adventure in a location and handle all combats with a given autoattack and manual macro. To use the nextMacro parameter you will need to create a consult script that runs Macro.load().submit() and a CCS that calls that consult script. See examples/consult.ts for an example.

    Parameters

    • loc: Location

      Location to adventure in.

    • autoMacro: Macro

      Macro to execute via KoL autoattack.

    • nextMacro: null | Macro = null

      Macro to execute manually after autoattack completes.

    Returns void