diff --git a/languages/en.css b/languages/en.css index df8f93c9..fa530e6e 100644 --- a/languages/en.css +++ b/languages/en.css @@ -308,9 +308,6 @@ content: "Dark Attribute Enemy"; } -.setting-box .row-mon-id .open-search::before{ - content: "Simple Search"; -} .search-box::before{ content: "Search Cards"; } @@ -415,6 +412,10 @@ { content: "⛓️Evo Search"; } +.search-evolution-by-this::after +{ + content: "Cards that need this card as evolutionary material"; +} .real-time-change-card-label::after { content: "Real-Time change card"; diff --git a/languages/ja.css b/languages/ja.css index 48766dfc..fca32159 100644 --- a/languages/ja.css +++ b/languages/ja.css @@ -300,9 +300,6 @@ content: "暗属性の敵"; } -.setting-box .row-mon-id .open-search::before{ - content: "簡単な検索"; -} .search-box::before{ content: "モンスターの検索"; } @@ -407,6 +404,10 @@ { content: "⛓️進化サーチ"; } +.search-evolution-by-this::after +{ + content: "このカードを進化的な素材として必要とするカード"; +} .real-time-change-card-label::after { content: "カードを即座に更新します"; diff --git a/languages/ko.css b/languages/ko.css index 9d6df6be..a6a426e2 100644 --- a/languages/ko.css +++ b/languages/ko.css @@ -297,9 +297,6 @@ content: "숨겨진 속성의 적"; } -.setting-box .row-mon-id .open-search::before{ - content: "간단한 검색"; -} .search-box::before{ content: "몬스터 검색"; } @@ -404,6 +401,10 @@ { content: "⛓️진화 계통"; } +.search-evolution-by-this::after +{ + content: "진화 자료로이 카드를 필요로하는 카드"; +} .real-time-change-card-label::after { content: "카드를 즉시 업데이트합니다"; diff --git a/languages/zh-TW.css b/languages/zh-TW.css index d9c59f18..114e1319 100644 --- a/languages/zh-TW.css +++ b/languages/zh-TW.css @@ -303,9 +303,6 @@ content: "暗屬性敵人"; } -.setting-box .row-mon-id .open-search::before{ - content: "簡易搜索"; -} .search-box::before{ content: "搜索怪物"; } @@ -410,6 +407,10 @@ { content: "⛓️進化鏈"; } +.search-evolution-by-this::after +{ + content: "需要此寵物作為進化素材的寵物"; +} .real-time-change-card-label::after { content: "即時更新卡片"; diff --git a/languages/zh.css b/languages/zh.css index 07ef2cb7..955b732e 100644 --- a/languages/zh.css +++ b/languages/zh.css @@ -303,9 +303,6 @@ content: "暗属性敵人"; } -.setting-box .row-mon-id .open-search::before{ - content: "简易搜索"; -} .search-box::before{ content: "搜索怪物"; } @@ -410,6 +407,10 @@ { content: "⛓️进化链"; } +.search-evolution-by-this::after +{ + content: "需要此宠物作为进化素材的宠物"; +} .real-time-change-card-label::after { content: "即时更新卡片"; diff --git a/multi.html b/multi.html index 32dcaab7..42aee4f3 100644 --- a/multi.html +++ b/multi.html @@ -916,7 +916,7 @@ var formation = new Formation(teamsCount,5);
- + diff --git a/script.js b/script.js index e27430ea..9a8f4b74 100644 --- a/script.js +++ b/script.js @@ -2127,13 +2127,8 @@ function initialize() { evolutionaryTreeMask_Close.onclick = function(){evolutionaryTreeMask.hide();}; const openEvolutionaryTree = settingBox.querySelector(".row-mon-id .open-evolutionary-tree"); openEvolutionaryTree.onclick = function() {evolutionaryTreeMask.show(editBox.mid)}; - - const searchOpen = settingBox.querySelector(".row-mon-id .open-search"); - searchOpen.onclick = function() { - s_includeSuperAwoken.onchange(); - s_canAssist.onchange(); - searchBox.classList.toggle(className_displayNone); - }; + const searchEvolutionByThis = settingBox.querySelector(".row-mon-id .search-evolution-by-this"); + searchEvolutionByThis.onclick = function() {showSearch(Cards.filter(card=>card.evoMaterials.includes(editBox.mid)))}; const s_attr1s = Array.from(searchBox.querySelectorAll(".attrs-div .attr-list-1 .attr-radio")); const s_attr2s = Array.from(searchBox.querySelectorAll(".attrs-div .attr-list-2 .attr-radio")); @@ -2566,6 +2561,8 @@ function initialize() { //字符串搜索 btnSearchByString.onclick = function() { + s_includeSuperAwoken.onchange(); + s_canAssist.onchange(); showSearch(searchByString(monstersID.value)); }; //觉醒 @@ -3349,6 +3346,14 @@ function editBoxChangeMonId(id) { { openEvolutionaryTree.classList.add(className_displayNone); //隐藏进化树按钮 } + const searchEvolutionByThis = settingBox.querySelector(".row-mon-id .search-evolution-by-this"); + if (card.types.includes(0)) + { + searchEvolutionByThis.classList.remove(className_displayNone); + }else + { + searchEvolutionByThis.classList.add(className_displayNone); + } const mType = monInfoBox.querySelectorAll(".monster-type li"); for (let ti = 0; ti < mType.length; ti++) { diff --git a/solo.html b/solo.html index 5e0b053e..aa34806f 100644 --- a/solo.html +++ b/solo.html @@ -788,7 +788,7 @@ var formation = new Formation(teamsCount,6);
- + diff --git a/style.css b/style.css index 36f13b00..b9e81afa 100644 --- a/style.css +++ b/style.css @@ -1804,6 +1804,7 @@ icon.inflicts::after border: 1px solid white; border-radius: 5px; background: grey; + width: 100%; } .search-box .search-list-length { @@ -2678,6 +2679,11 @@ table .orb-icon { content: "⛓️进化链"; }*/ +.search-evolution-by-this icon +{ + transform: scale(50%); + margin: -8px; +} .mask { diff --git a/triple.html b/triple.html index bc046ba7..286e0682 100644 --- a/triple.html +++ b/triple.html @@ -1669,7 +1669,7 @@ var formation = new Formation(teamsCount,6);
- +