Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
W
Windbot-408
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
神之吹息
Windbot-408
Commits
a9450a78
Commit
a9450a78
authored
Jul 26, 2017
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update version
parent
648eef1e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
Game/GameAI.cs
Game/GameAI.cs
+1
-1
Game/GameBehavior.cs
Game/GameBehavior.cs
+3
-2
WindBotInfo.cs
WindBotInfo.cs
+1
-1
No files found.
Game/GameAI.cs
View file @
a9450a78
...
...
@@ -237,7 +237,7 @@ namespace WindBot.Game
/// </summary>
/// <param name="card">Card to activate.</param>
/// <returns>True for yes, false for no.</returns>
public
bool
OnSelectEffectYn
(
ClientCard
card
)
public
bool
OnSelectEffectYn
(
ClientCard
card
,
int
desc
)
{
foreach
(
CardExecutor
exec
in
Executor
.
Executors
)
{
...
...
Game/GameBehavior.cs
View file @
a9450a78
...
...
@@ -258,7 +258,7 @@ namespace WindBot.Game
else
_ai
.
OnDeckError
(
"Unknown Card"
);
}
Connection
.
Close
();
//
Connection.Close();
}
private
void
OnRetry
(
BinaryReader
packet
)
...
...
@@ -766,6 +766,7 @@ namespace WindBot.Game
CardLocation
loc
=
(
CardLocation
)
packet
.
ReadByte
();
int
seq
=
packet
.
ReadByte
();
packet
.
ReadByte
();
int
desc
=
packet
.
ReadInt32
();
ClientCard
card
=
_duel
.
GetCard
(
player
,
loc
,
seq
);
if
(
card
==
null
)
...
...
@@ -776,7 +777,7 @@ namespace WindBot.Game
if
(
card
.
Id
==
0
)
card
.
SetId
(
cardId
);
int
reply
=
_ai
.
OnSelectEffectYn
(
card
)
?
(
1
)
:
(
0
);
int
reply
=
_ai
.
OnSelectEffectYn
(
card
,
desc
)
?
(
1
)
:
(
0
);
Connection
.
Send
(
CtosMessage
.
Response
,
reply
);
}
...
...
WindBotInfo.cs
View file @
a9450a78
...
...
@@ -20,7 +20,7 @@ namespace WindBot
Host
=
"127.0.0.1"
;
Port
=
7911
;
HostInfo
=
""
;
Version
=
0x
1
33C
;
Version
=
0x
2
33C
;
}
}
}
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