Commit 8d1b81c3 authored by kenan's avatar kenan

精确搜索

parent c4bc062f
...@@ -133,6 +133,15 @@ class CardSearchInfo { ...@@ -133,6 +133,15 @@ class CardSearchInfo {
} }
} }
if(types.length == 2){
if(types[0] == types[1]){
long type = types[0];
if ((card.Type & type) != type) {
return false;
}
}
}
for (long type : types) { for (long type : types) {
if (type > 0) { if (type > 0) {
if (st) { if (st) {
......
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