Function adventureMacro

  • Adventure in a location and handle all combats with a given macro. To use this function 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.

    • macro: Macro

      Macro to execute.

    Returns void