Function haveCounter

  • Determine whether the player has the specified counter

    Parameters

    • counterName: string

      Name of the counter

    • minTurns: number = 0

      Minimum turns the counter is set to

    • maxTurns: number = 500

      Maximum turns the counter is set to

    Returns boolean

    Whether player has the counter