Function fightPiece

  • Fight a Witchess piece of your choice

    Parameters

    • piece: Monster

      The piece to fight

    • Rest...combatParams: [filterFunction?: string | ((round: number, monster: Monster, text: string) => string)]

      Any parameters you'd like to pass to runCombat

    Returns string

    The value of runCombat(), which is the page html of the final round