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
Tang Xinwei
windbot
Commits
9a2852d8
Commit
9a2852d8
authored
Aug 18, 2017
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new deck S71732
parent
eb3eeb25
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
561 additions
and
1 deletion
+561
-1
Decks/AI_ST1732.ydk
Decks/AI_ST1732.ydk
+59
-0
Game/AI/Decks/ST1732Executor.cs
Game/AI/Decks/ST1732Executor.cs
+475
-0
Game/AI/DefaultExecutor.cs
Game/AI/DefaultExecutor.cs
+1
-1
Game/ClientField.cs
Game/ClientField.cs
+10
-0
WindBot.csproj
WindBot.csproj
+1
-0
bots.json
bots.json
+15
-0
No files found.
Decks/AI_ST1732.ydk
0 → 100644
View file @
9a2852d8
#created by ...
#main
32295838
36211150
7445307
70950698
70950698
70950698
35595518
35595518
9190563
9190563
44956694
44956694
44956694
8567955
8567955
8567955
71172240
71172240
45778242
45778242
62706865
62706865
18789533
37520316
53129443
83764718
5318639
8267140
14087893
43839002
43839002
19508728
61583217
29401950
44095762
53582587
70238111
83326048
94192409
40605147
#extra
1861629
1861629
1861629
6622715
6622715
6622715
32617464
32617464
34472920
34472920
79016563
79016563
98978921
98978921
98978921
!side
Game/AI/Decks/ST1732Executor.cs
0 → 100644
View file @
9a2852d8
This diff is collapsed.
Click to expand it.
Game/AI/DefaultExecutor.cs
View file @
9a2852d8
...
@@ -289,7 +289,7 @@ namespace WindBot.Game.AI
...
@@ -289,7 +289,7 @@ namespace WindBot.Game.AI
/// </summary>
/// </summary>
protected
bool
DefaultSpellSet
()
protected
bool
DefaultSpellSet
()
{
{
return
Card
.
IsTrap
(
)
&&
Bot
.
GetSpellCountWithoutField
()
<
4
;
return
(
Card
.
IsTrap
()
||
Card
.
HasType
(
CardType
.
QuickPlay
)
)
&&
Bot
.
GetSpellCountWithoutField
()
<
4
;
}
}
/// <summary>
/// <summary>
...
...
Game/ClientField.cs
View file @
9a2852d8
...
@@ -89,6 +89,16 @@ namespace WindBot.Game
...
@@ -89,6 +89,16 @@ namespace WindBot.Game
return
GetCards
(
SpellZone
);
return
GetCards
(
SpellZone
);
}
}
public
List
<
ClientCard
>
GetMonstersInExtraZone
()
{
List
<
ClientCard
>
cards
=
new
List
<
ClientCard
>();
if
(
MonsterZone
[
5
]
!=
null
)
cards
.
Add
(
MonsterZone
[
5
]);
if
(
MonsterZone
[
6
]
!=
null
)
cards
.
Add
(
MonsterZone
[
6
]);
return
cards
;
}
public
bool
HasInHand
(
int
cardId
)
public
bool
HasInHand
(
int
cardId
)
{
{
return
HasInCards
(
Hand
,
cardId
);
return
HasInCards
(
Hand
,
cardId
);
...
...
WindBot.csproj
View file @
9a2852d8
...
@@ -74,6 +74,7 @@
...
@@ -74,6 +74,7 @@
<Compile
Include=
"Game\AI\Decks\GraydleExecutor.cs"
/>
<Compile
Include=
"Game\AI\Decks\GraydleExecutor.cs"
/>
<Compile
Include=
"Game\AI\Decks\LightswornExecutor.cs"
/>
<Compile
Include=
"Game\AI\Decks\LightswornExecutor.cs"
/>
<Compile
Include=
"Game\AI\Decks\QliphortExecutor.cs"
/>
<Compile
Include=
"Game\AI\Decks\QliphortExecutor.cs"
/>
<Compile
Include=
"Game\AI\Decks\ST1732Executor.cs"
/>
<Compile
Include=
"Game\AI\Decks\YosenjuExecutor.cs"
/>
<Compile
Include=
"Game\AI\Decks\YosenjuExecutor.cs"
/>
<Compile
Include=
"Game\AI\Decks\DragunityExecutor.cs"
/>
<Compile
Include=
"Game\AI\Decks\DragunityExecutor.cs"
/>
<Compile
Include=
"Game\AI\Decks\FrogExecutor.cs"
/>
<Compile
Include=
"Game\AI\Decks\FrogExecutor.cs"
/>
...
...
bots.json
View file @
9a2852d8
...
@@ -60,6 +60,21 @@
...
@@ -60,6 +60,21 @@
"deck"
:
"Qliphort"
,
"deck"
:
"Qliphort"
,
"dialog"
:
"near.zh-CN"
"dialog"
:
"near.zh-CN"
},
},
{
"name"
:
"试作型机器人1732"
,
"deck"
:
"ST1732"
,
"dialog"
:
"default"
},
{
"name"
:
"试作型机器人1732"
,
"deck"
:
"ST1732"
,
"dialog"
:
"default"
},
{
"name"
:
"试作型机器人1732"
,
"deck"
:
"ST1732"
,
"dialog"
:
"default"
},
{
{
"name"
:
"永远之魂"
,
"name"
:
"永远之魂"
,
"deck"
:
"Burn"
,
"deck"
:
"Burn"
,
...
...
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