GithubHelp home page GithubHelp logo

mir4-character-seach's Introduction

Mir4 character search

A search bot for characters with exchangeable items by according filters.

How to use

  • Clone or download .zip repository;
  • npm install or yarn to install libs;
  • Config discord webhook in src/config/config.json;
  • npm start or yarn start to start search.

mir4-character-seach's People

Contributors

victorhurchella avatar

Watchers

 avatar

Forkers

naustagic

mir4-character-seach's Issues

Qual a GRADE que define itens Lendários?

Oi, tudo bem?

Bem útil seu bot, parabéns.

uma dúvida, o identificador de itens trade serve para qualquer grade? Epico e Lendário, por ex?

  for (let item = 1; item < charItemsLength; item += 1) {
    // Verificar se é um item trocavel
    if (charItems[item]) {
      if (charItems[item].itemIdx.substr(3, 1) === "1") {
        // Verificar se é um item vermelho
        if (charItems[item].grade >= 4) {
          tradableItems.push({
            itemGrade: charItems[item].grade,
            itemName: charItems[item].itemName,
            itemTier: charItems[item].tier,
            itemEnhance: charItems[item].enhance,
          });
          const itemTier = charItems[item].tier;
          itemsTier[itemTier] = itemsTier[itemTier] += 1;
        }
      }
    }
  }
  return { tradableItems, itemsTier };

sempre que houver o numero 1 no terceiro digito do item, ele é trade?

Gostaria de fazer algumas modificações adicionando mais filtros, talvez um bot usando slash em que o usuario registra o item que ele quer comprar e quando o bot encontrar, informa no canal e marca o usuario.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.