Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
W
windbot
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
alstroemeria-silentlove
windbot
Commits
485e265e
Commit
485e265e
authored
Nov 18, 2018
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/IceYGO/windbot
parents
eeb14bff
bd858159
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
4 deletions
+8
-4
Game/ClientCard.cs
Game/ClientCard.cs
+4
-4
Game/GameBehavior.cs
Game/GameBehavior.cs
+4
-0
YGOSharp.Network.dll
YGOSharp.Network.dll
+0
-0
YGOSharp.OCGWrapper.Enums.dll
YGOSharp.OCGWrapper.Enums.dll
+0
-0
YGOSharp.OCGWrapper.dll
YGOSharp.OCGWrapper.dll
+0
-0
No files found.
Game/ClientCard.cs
View file @
485e265e
...
@@ -143,10 +143,10 @@ namespace WindBot.Game
...
@@ -143,10 +143,10 @@ namespace WindBot.Game
}
}
if
((
flag
&
(
int
)
Query
.
Owner
)
!=
0
)
if
((
flag
&
(
int
)
Query
.
Owner
)
!=
0
)
Owner
=
duel
.
GetLocalPlayer
(
packet
.
ReadInt32
());
Owner
=
duel
.
GetLocalPlayer
(
packet
.
ReadInt32
());
if
((
flag
&
(
int
)
Query
.
IsDisabled
)
!=
0
)
if
((
flag
&
(
int
)
Query
.
Status
)
!=
0
)
{
Disabled
=
packet
.
ReadInt32
();
int
status
=
packet
.
ReadInt32
();
if
((
flag
&
(
int
)
Query
.
IsPublic
)
!=
0
)
Disabled
=
status
&
0x0001
;
packet
.
ReadInt32
();
}
if
((
flag
&
(
int
)
Query
.
LScale
)
!=
0
)
if
((
flag
&
(
int
)
Query
.
LScale
)
!=
0
)
LScale
=
packet
.
ReadInt32
();
LScale
=
packet
.
ReadInt32
();
if
((
flag
&
(
int
)
Query
.
RScale
)
!=
0
)
if
((
flag
&
(
int
)
Query
.
RScale
)
!=
0
)
...
...
Game/GameBehavior.cs
View file @
485e265e
...
@@ -1050,6 +1050,10 @@ namespace WindBot.Game
...
@@ -1050,6 +1050,10 @@ namespace WindBot.Game
int
sseq
=
packet
.
ReadByte
();
int
sseq
=
packet
.
ReadByte
();
int
desc
=
packet
.
ReadInt32
();
int
desc
=
packet
.
ReadInt32
();
if
(
desc
==
221
)
// trigger effect
{
desc
=
0
;
}
cards
.
Add
(
_duel
.
GetCard
(
con
,
loc
,
seq
,
sseq
));
cards
.
Add
(
_duel
.
GetCard
(
con
,
loc
,
seq
,
sseq
));
descs
.
Add
(
desc
);
descs
.
Add
(
desc
);
}
}
...
...
YGOSharp.Network.dll
View file @
485e265e
No preview for this file type
YGOSharp.OCGWrapper.Enums.dll
View file @
485e265e
No preview for this file type
YGOSharp.OCGWrapper.dll
View file @
485e265e
No preview for this file type
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