Widget:Test4: mudanças entre as edições

Ir para navegação Ir para pesquisar
sem sumário de edição
Sem resumo de edição
Sem resumo de edição
Linha 333: Linha 333:
                 imageContainer.innerHTML = "";
                 imageContainer.innerHTML = "";


                 if (!selectedMap || !selectedDifficulty) return;
                 if (!selectedMap) return;


                 const huntList = hunts[selectedMap];
                 const huntList = hunts[selectedMap];
Linha 339: Linha 339:
                     const matchesTags = selectedTags.length === 0 || selectedTags.some(tag => hunt.classes.includes(tag));
                     const matchesTags = selectedTags.length === 0 || selectedTags.some(tag => hunt.classes.includes(tag));
                     const matchesTypes = selectedTypes.length === 0 || selectedTypes.some(type => hunt.huntTypes.includes(type));
                     const matchesTypes = selectedTypes.length === 0 || selectedTypes.some(type => hunt.huntTypes.includes(type));
                     const matchesDifficulty = hunt.difficulty === selectedDifficulty;
                     const matchesDifficulty = selectedDifficulty === "" || hunt.difficulty === selectedDifficulty;
                     const isNeutro = hunt.huntTipo === "Neutro";
                     const isNeutro = hunt.huntTipo === "Neutro";
                     const matchesSearch = hunt.name.toLowerCase().includes(searchTerm);
                     const matchesSearch = hunt.name.toLowerCase().includes(searchTerm);
7 895

edições

Menu de navegação