Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOMobile-Cn-Ko-En
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fallenstardust
YGOMobile-Cn-Ko-En
Commits
0efc6394
Commit
0efc6394
authored
Mar 26, 2020
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
筛选通常怪兽时过滤掉衍生物
parent
473a3bbf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
mobile/src/main/java/cn/garymb/ygomobile/loader/CardSearchInfo.java
.../main/java/cn/garymb/ygomobile/loader/CardSearchInfo.java
+10
-4
No files found.
mobile/src/main/java/cn/garymb/ygomobile/loader/CardSearchInfo.java
View file @
0efc6394
...
...
@@ -155,6 +155,12 @@ class CardSearchInfo {
}
continue
;
}
}
else
{
//排除通常怪兽里的token卡
if
(
type
==
CardType
.
Normal
.
value
())
{
if
((
card
.
Type
&
CardType
.
Token
.
value
())
==
CardType
.
Token
.
value
())
return
false
;
}
}
//效果怪兽
if
(
type
==
CardType
.
Effect
.
value
())
{
...
...
@@ -165,16 +171,16 @@ class CardSearchInfo {
||
(
card
.
Type
&
CardType
.
Synchro
.
value
())
==
CardType
.
Synchro
.
value
()
||
(
card
.
Type
&
CardType
.
Xyz
.
value
())
==
CardType
.
Xyz
.
value
()
||
(
card
.
Type
&
CardType
.
Link
.
value
())
==
CardType
.
Link
.
value
()
)
)
return
false
;
}
else
{
}
else
{
return
false
;
}
}
else
if
(
type
==
CardType
.
Non_Effect
.
value
())
{
}
else
if
(
type
==
CardType
.
Non_Effect
.
value
())
{
//非效果怪兽
if
((
card
.
Type
&
CardType
.
Effect
.
value
())
==
CardType
.
Effect
.
value
())
return
false
;
}
else
if
((
card
.
Type
&
type
)
!=
type
)
{
}
else
if
((
card
.
Type
&
type
)
!=
type
)
{
return
false
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment