Commit e43db7f5 authored by fallenstardust's avatar fallenstardust

筛选简体中文卡池

parent 21ee960b
......@@ -112,8 +112,13 @@ class CardSearchInfo {
}
}
if (ot > 0) {
if (card.Ot != ot) {
return false;
if (ot == 8) {//8为简中的位数
if((ot&card.Ot) !=ot)
return false;
} else {
if (ot != card.Ot) {
return false;
}
}
}
......
......@@ -348,7 +348,7 @@ public class CardSearcher implements View.OnClickListener {
items.add(new SimpleSpinnerItem(2, getString(R.string.label_ot_TCG)));
items.add(new SimpleSpinnerItem(3, getString(R.string.label_ot_No_Exclusive)));
items.add(new SimpleSpinnerItem(4, getString(R.string.label_ot_CUSTOM)));
items.add(new SimpleSpinnerItem(11, getString(R.string.label_ot_SC_OCG)));
items.add(new SimpleSpinnerItem(8, getString(R.string.label_ot_SC_OCG)));
SimpleSpinnerAdapter adapter = new SimpleSpinnerAdapter(mContext);
adapter.setColor(Color.WHITE);
adapter.setColor(Color.WHITE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment