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
5f21679f
Commit
5f21679f
authored
Jun 22, 2016
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
b2d9b3ec
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
5 deletions
+7
-5
Dialogs/cirno.zh-CN.json
Dialogs/cirno.zh-CN.json
+1
-0
Dialogs/default.json
Dialogs/default.json
+1
-0
Dialogs/zh-CN.json
Dialogs/zh-CN.json
+1
-0
Game/GameBehavior.cs
Game/GameBehavior.cs
+4
-5
No files found.
Dialogs/cirno.zh-CN.json
View file @
5f21679f
...
...
@@ -28,6 +28,7 @@
],
"ondirectattack"
:
[
"别开玩笑了~。你这种人,就让我把你和英吉利牛肉一起冷冻保存好了!!"
,
"一只小小的{0},有什么可怕!"
,
"笨蛋是不会感冒的!"
],
"facedownmonstername"
:
"怪兽"
,
...
...
Dialogs/default.json
View file @
5f21679f
...
...
@@ -37,6 +37,7 @@
],
"ondirectattack"
:
[
"Ahhhhh..."
,
"Just {0} ..."
,
"Think you can defeat me?"
],
"activate"
:
[
...
...
Dialogs/zh-CN.json
View file @
5f21679f
...
...
@@ -40,6 +40,7 @@
],
"ondirectattack"
:
[
"可恶……"
,
"不过是{0}而已!"
,
"你以为这样就能打倒我吗?"
],
"facedownmonstername"
:
"怪兽"
,
...
...
Game/GameBehavior.cs
View file @
5f21679f
...
...
@@ -359,7 +359,7 @@ namespace WindBot.Game
private
void
OnAttack
(
BinaryReader
packet
)
{
int
ca
=
packet
.
ReadByte
(
);
int
ca
=
GetLocalPlayer
(
packet
.
ReadByte
()
);
int
la
=
packet
.
ReadByte
();
int
sa
=
packet
.
ReadByte
();
packet
.
ReadByte
();
//
...
...
@@ -368,11 +368,10 @@ namespace WindBot.Game
packet
.
ReadByte
();
// sd
packet
.
ReadByte
();
//
// ClientCard attackcard = _duel.GetCard(ca, (CardLocation)la, sa);
if
(
ld
==
0
)
ClientCard
attackcard
=
_duel
.
GetCard
(
ca
,
(
CardLocation
)
la
,
sa
);
if
(
ld
==
0
&&
(
attackcard
!=
null
)
&&
(
ca
!=
0
))
{
_ai
.
OnDirectAttack
();
_ai
.
OnDirectAttack
(
attackcard
);
}
}
...
...
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