Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOProUnity_V2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
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
MyCard
YGOProUnity_V2
Commits
0db689f2
Commit
0db689f2
authored
Aug 20, 2021
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix GameMessage.SwapGraveDeck
parent
ed73e672
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
Assets/SibylSystem/Ocgcore/OCGobjects/gameCard.cs
Assets/SibylSystem/Ocgcore/OCGobjects/gameCard.cs
+5
-0
Assets/SibylSystem/Ocgcore/Ocgcore.cs
Assets/SibylSystem/Ocgcore/Ocgcore.cs
+4
-1
No files found.
Assets/SibylSystem/Ocgcore/OCGobjects/gameCard.cs
View file @
0db689f2
...
...
@@ -258,6 +258,11 @@ public class gameCard : OCGobject
FlashingController
MouseFlash
;
public
bool
IsExtraCard
()
{
return
data
.
IsExtraCard
();
}
void
RefreshFunction_decoration
()
{
for
(
int
i
=
0
;
i
<
cardDecorations
.
Count
;
i
++)
...
...
Assets/SibylSystem/Ocgcore/Ocgcore.cs
View file @
0db689f2
...
...
@@ -2352,6 +2352,9 @@ public class Ocgcore : ServantWithCardDescription
{
if
(
cards
[
i
].
p
.
controller
==
player
)
{
if
(
cards
[
i
].
IsExtraCard
())
cards
[
i
].
p
.
location
=
(
UInt32
)
CardLocation
.
Extra
;
else
cards
[
i
].
p
.
location
=
(
UInt32
)
CardLocation
.
Deck
;
}
}
...
...
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