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