Browse Source

大感谢祭的中文

tags/v6.9.5
枫谷剑仙 5 years ago
parent
commit
0aac2f3ac5
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      script-universal_function.js

+ 2
- 2
script-universal_function.js View File

@@ -399,8 +399,8 @@ function searchCards(cards,attr1,attr2,fixMainColor,types,typeAndOr,awokens,sawo
//属性
if (attr1 != null && attr1 === attr2)
{ //当两个颜色相同时,主副一样颜色的只需判断一次
cardsRange = cardsRange.filter(c=>c.attrs[0] == attr1 && c.attrs[1] == attr1);
}else if (fixMainColor || attr2 == -1) //如果固定了顺序,或者副属性选的是无
cardsRange = cardsRange.filter(c=>c.attrs[0] === attr1 && c.attrs[1] === attr1);
}else if (fixMainColor || attr1 === 6 || attr2 === -1) //如果固定了顺序,或者副属性选的是无
{
if (attr1 != null)
{


Loading…
Cancel
Save