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
9926dc37
Commit
9926dc37
authored
Apr 08, 2020
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cardSort
parent
d27e2c33
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
mobile/assets/changelog.html
mobile/assets/changelog.html
+3
-2
mobile/src/main/java/cn/garymb/ygomobile/utils/CardSort.java
mobile/src/main/java/cn/garymb/ygomobile/utils/CardSort.java
+8
-0
No files found.
mobile/assets/changelog.html
View file @
9926dc37
...
...
@@ -23,8 +23,9 @@
变更:
1.ygopro进程将不再能从
历史进程中被单独唤起。
游戏途中切回请点击
“点此返回决斗”
游戏途中切回请点击“点此返回决斗”
2.未退出ygopro但重新从服务器进入游戏
不再重复建立房间而是回到当前游戏
</pre>
<h3
style=
"color:#ff0000"
>
注意
</h3>
<pre>
...
...
mobile/src/main/java/cn/garymb/ygomobile/utils/CardSort.java
View file @
9926dc37
...
...
@@ -76,6 +76,8 @@ public class CardSort implements Comparator<Card> {
}
if
(
c2
.
isType
(
CardType
.
Fusion
))
{
return
-
2
;
}
if
(
c2
.
isType
(
CardType
.
Link
))
{
return
1
;
}
}
else
if
(
c1
.
isType
(
CardType
.
Synchro
))
{
if
(
c2
.
isType
(
CardType
.
Xyz
))
{
...
...
@@ -84,6 +86,9 @@ public class CardSort implements Comparator<Card> {
if
(
c2
.
isType
(
CardType
.
Fusion
))
{
return
-
1
;
}
if
(
c2
.
isType
(
CardType
.
Link
))
{
return
2
;
}
}
else
if
(
c1
.
isType
(
CardType
.
Fusion
))
{
if
(
c2
.
isType
(
CardType
.
Xyz
))
{
return
2
;
...
...
@@ -91,6 +96,9 @@ public class CardSort implements Comparator<Card> {
if
(
c2
.
isType
(
CardType
.
Synchro
))
{
return
1
;
}
if
(
c2
.
isType
(
CardType
.
Link
))
{
return
3
;
}
}
int
rs
=
comp
(
c1
.
getStar
(),
c2
.
getStar
());
if
(
rs
!=
0
)
{
...
...
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