Browse Source

修订文字上的小问题

tags/v18.2
枫谷剑仙 5 years ago
parent
commit
2e07190142
2 changed files with 1 additions and 2 deletions
  1. +1
    -1
      script-json_data.js
  2. +0
    -1
      script.js

+ 1
- 1
script-json_data.js View File

@@ -2821,7 +2821,7 @@ const specialSearchFunctions = (function() {
return false;
}
})},
{name:"4 same Killer Awoken, or 2 with same latent",otLangName:{chs:"4个相同杀觉醒(含超觉),或相同潜觉"},function:cards=>cards.filter(card=>{
{name:"4 same Killer Awoken(include super awoken), or 3 with same latent",otLangName:{chs:"4个相同杀觉醒(含超觉),或相同潜觉"},function:cards=>cards.filter(card=>{
const hasAwokenKiller = typekiller_for_type.find(type=>card.awakenings.filter(ak=>ak===type.awoken).length+(card.superAwakenings.includes(type.awoken)?1:0)>=3);
if (hasAwokenKiller)
{ //大于2个杀的进行判断


+ 0
- 1
script.js View File

@@ -2356,7 +2356,6 @@ function initialize() {
specialSearchFunctions.forEach((sfunc,idx)=>{
if (sfunc.group)
{
console.debug(returnMonsterNameArr(sfunc, currentLanguage.searchlist, currentDataSource.code))
const groupName = returnMonsterNameArr(sfunc, currentLanguage.searchlist, currentDataSource.code)[0];
const optgroup = specialFirstSelect.appendChild(document.createElement("optgroup"));
optgroup.label = groupName;


Loading…
Cancel
Save