Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro2
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
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
nanahira
ygopro2
Commits
601bd894
Commit
601bd894
authored
Feb 08, 2021
by
mercury233
Committed by
nanahira
May 04, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
format
parent
2293b442
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
46 additions
and
47 deletions
+46
-47
Assets/SibylSystem/Ocgcore/Ocgcore.cs
Assets/SibylSystem/Ocgcore/Ocgcore.cs
+46
-47
No files found.
Assets/SibylSystem/Ocgcore/Ocgcore.cs
View file @
601bd894
...
@@ -3997,74 +3997,73 @@ public class Ocgcore : ServantWithCardDescription
...
@@ -3997,74 +3997,73 @@ public class Ocgcore : ServantWithCardDescription
uint
_field
=
~
r
.
ReadUInt32
();
uint
_field
=
~
r
.
ReadUInt32
();
if
(
Program
.
I
().
setting
.
setting
.
hand
.
value
==
true
||
Program
.
I
().
setting
.
setting
.
handm
.
value
==
true
||
(
GameMessage
)
p
.
Fuction
==
GameMessage
.
SelectDisfield
)
if
(
Program
.
I
().
setting
.
setting
.
hand
.
value
==
true
||
Program
.
I
().
setting
.
setting
.
handm
.
value
==
true
||
(
GameMessage
)
p
.
Fuction
==
GameMessage
.
SelectDisfield
)
{
{
ES_min
=
min
;
ES_min
=
min
;
for
(
int
i
=
0
;
i
<
min
;
i
++)
for
(
int
i
=
0
;
i
<
min
;
i
++)
{
{
byte
[]
resp
=
new
byte
[
3
];
byte
[]
resp
=
new
byte
[
3
];
uint
filter
;
uint
filter
;
for
(
int
j
=
0
;
j
<
2
;
j
++)
for
(
int
j
=
0
;
j
<
2
;
j
++)
{
resp
=
new
byte
[
3
];
filter
=
0
;
uint
field
;
if
(
j
==
0
)
{
resp
[
0
]
=
(
byte
)
player
;
field
=
_field
&
0xffff
;
}
else
{
{
resp
[
0
]
=
(
byte
)(
1
-
player
)
;
resp
=
new
byte
[
3
]
;
fi
eld
=
_field
>>
16
;
fi
lter
=
0
;
}
uint
field
;
if
((
field
&
0x7f
)
!=
0
)
if
(
j
==
0
)
{
resp
[
1
]
=
(
byte
)
CardLocation
.
MonsterZone
;
filter
=
field
&
0x7f
;
for
(
int
k
=
0
;
k
<
6
;
k
++)
{
{
if
((
filter
&
(
1u
<<
k
))
!=
0
)
resp
[
0
]
=
(
byte
)
player
;
{
field
=
_field
&
0xffff
;
resp
[
2
]
=
(
byte
)
k
;
createPlaceSelector
(
resp
);
}
}
}
}
else
if
((
field
&
0x1f00
)
!=
0
)
{
{
resp
[
0
]
=
(
byte
)(
1
-
player
);
resp
[
1
]
=
(
byte
)
CardLocation
.
SpellZone
;
field
=
_field
>>
16
;
filter
=
(
field
>>
8
)
&
0x1f
;
}
for
(
int
k
=
0
;
k
<
5
;
k
++)
if
((
field
&
0x7f
)
!=
0
)
{
{
if
((
filter
&
(
1u
<<
k
))
!=
0
)
resp
[
1
]
=
(
byte
)
CardLocation
.
MonsterZone
;
filter
=
field
&
0x7f
;
for
(
int
k
=
0
;
k
<
6
;
k
++)
{
{
resp
[
2
]
=
(
byte
)
k
;
if
((
filter
&
(
1u
<<
k
))
!=
0
)
createPlaceSelector
(
resp
);
{
resp
[
2
]
=
(
byte
)
k
;
createPlaceSelector
(
resp
);
}
}
}
}
}
}
if
((
field
&
0x1f00
)
!=
0
)
if
((
field
&
0xc000
)
!=
0
)
{
resp
[
1
]
=
(
byte
)
CardLocation
.
SpellZone
;
filter
=
(
field
>>
14
)
&
0x3
;
if
((
filter
&
0x2
)
!=
0
)
{
{
resp
[
2
]
=
7
;
resp
[
1
]
=
(
byte
)
CardLocation
.
SpellZone
;
createPlaceSelector
(
resp
);
filter
=
(
field
>>
8
)
&
0x1f
;
for
(
int
k
=
0
;
k
<
5
;
k
++)
{
if
((
filter
&
(
1u
<<
k
))
!=
0
)
{
resp
[
2
]
=
(
byte
)
k
;
createPlaceSelector
(
resp
);
}
}
}
}
if
((
fi
lter
&
0x1
)
!=
0
)
if
((
fi
eld
&
0xc000
)
!=
0
)
{
{
resp
[
2
]
=
6
;
resp
[
1
]
=
(
byte
)
CardLocation
.
SpellZone
;
createPlaceSelector
(
resp
);
filter
=
(
field
>>
14
)
&
0x3
;
if
((
filter
&
0x2
)
!=
0
)
{
resp
[
2
]
=
7
;
createPlaceSelector
(
resp
);
}
if
((
filter
&
0x1
)
!=
0
)
{
resp
[
2
]
=
6
;
createPlaceSelector
(
resp
);
}
}
}
}
}
}
}
}
if
((
GameMessage
)
p
.
Fuction
==
GameMessage
.
SelectPlace
)
if
((
GameMessage
)
p
.
Fuction
==
GameMessage
.
SelectPlace
)
{
{
if
(
Es_selectMSGHintType
==
3
)
if
(
Es_selectMSGHintType
==
3
)
...
...
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