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
96bc0f0c
Commit
96bc0f0c
authored
Jul 28, 2016
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init near deck2 3
parent
6746e4b8
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
236 additions
and
0 deletions
+236
-0
Decks/AI_Evilswarm.ydk
Decks/AI_Evilswarm.ydk
+74
-0
Decks/AI_Graydle.ydk
Decks/AI_Graydle.ydk
+74
-0
Game/AI/Decks/EvilswarmExecutor.cs
Game/AI/Decks/EvilswarmExecutor.cs
+39
-0
Game/AI/Decks/GraydleExecutor.cs
Game/AI/Decks/GraydleExecutor.cs
+37
-0
WindBot.csproj
WindBot.csproj
+2
-0
bots.json
bots.json
+10
-0
No files found.
Decks/AI_Evilswarm.ydk
0 → 100644
View file @
96bc0f0c
#created by ...
#main
77542832
77542832
77542832
40921545
79785958
79785958
79785958
59546797
59546797
72429240
4756629
4756629
4756629
8814959
8814959
8814959
85138716
85138716
85138716
23434538
23434538
911883
1475311
1475311
18144506
32807846
8267140
27541267
27541267
26708437
26708437
5851097
35419032
58921041
58921041
40605147
40605147
40605147
41420027
84749824
#extra
88754763
9272381
56832966
86532744
36757171
93568288
21044178
91279700
46772449
82633039
84013237
76067258
359563
91279700
91279700
!side
8233522
8233522
5318639
8267140
12923641
12923641
12923641
18161786
18161786
11109820
11109820
11109820
94192409
94192409
58921041
Decks/AI_Graydle.ydk
0 → 100644
View file @
96bc0f0c
#created by ...
#main
20056760
20056760
20056760
29834183
29834183
29834183
93445074
93445074
93445074
66451379
66451379
66451379
23434538
23434538
23434538
97268402
97268402
97268402
18144507
33057951
33057951
33057951
53129443
83764718
98645731
98645731
98645731
2759860
2759860
2759860
58120309
75361204
75361204
49966595
49966595
49966595
82732705
82732705
82732705
41420027
#extra
52687916
80666118
39765958
52145422
52145422
70902743
76774528
44508094
83994433
95040215
98012938
88033975
26593852
98558751
78156759
!side
46565218
46565218
46565218
5318639
5318639
5318639
95561280
95561280
95561280
47475363
47475363
47475363
98643358
98643358
98643358
Game/AI/Decks/EvilswarmExecutor.cs
0 → 100644
View file @
96bc0f0c
namespace
WindBot.Game.AI.Decks
{
[
Deck
(
"Evilswarm"
,
"AI_Evilswarm"
)]
public
class
EvilswarmExecutor
:
DefaultExecutor
{
public
enum
CardId
{
黑洞
=
53129443
,
宇宙旋风
=
8267140
,
侵略的泛发感染
=
27541267
,
神之宣告
=
41420027
,
神之警告
=
84749824
,
神之通告
=
40605147
}
public
EvilswarmExecutor
(
GameAI
ai
,
Duel
duel
)
:
base
(
ai
,
duel
)
{
AddExecutor
(
ExecutorType
.
Activate
,
(
int
)
CardId
.
黑洞
,
DefaultDarkHole
);
AddExecutor
(
ExecutorType
.
Activate
,
(
int
)
CardId
.
宇宙旋风
,
DefaultMysticalSpaceTyphoon
);
AddExecutor
(
ExecutorType
.
Activate
,
(
int
)
CardId
.
神之宣告
,
DefaultTrap
);
AddExecutor
(
ExecutorType
.
Activate
,
(
int
)
CardId
.
神之警告
,
DefaultTrap
);
AddExecutor
(
ExecutorType
.
Activate
,
(
int
)
CardId
.
神之通告
,
DefaultTrap
);
AddExecutor
(
ExecutorType
.
SpellSet
,
(
int
)
CardId
.
侵略的泛发感染
);
AddExecutor
(
ExecutorType
.
Activate
,
DontChainMyself
);
AddExecutor
(
ExecutorType
.
Summon
);
AddExecutor
(
ExecutorType
.
SpSummon
);
AddExecutor
(
ExecutorType
.
Repos
,
DefaultMonsterRepos
);
AddExecutor
(
ExecutorType
.
SpellSet
);
}
private
bool
DontChainMyself
()
{
return
LastChainPlayer
!=
0
;
}
// will be added soon...?
}
}
\ No newline at end of file
Game/AI/Decks/GraydleExecutor.cs
0 → 100644
View file @
96bc0f0c
namespace
WindBot.Game.AI.Decks
{
[
Deck
(
"Graydle"
,
"AI_Graydle"
)]
public
class
GraydleExecutor
:
DefaultExecutor
{
public
enum
CardId
{
黑洞
=
53129443
,
宇宙旋风
=
8267140
,
神之宣告
=
41420027
,
神之警告
=
84749824
,
神之通告
=
40605147
}
public
GraydleExecutor
(
GameAI
ai
,
Duel
duel
)
:
base
(
ai
,
duel
)
{
AddExecutor
(
ExecutorType
.
Activate
,
(
int
)
CardId
.
黑洞
,
DefaultDarkHole
);
AddExecutor
(
ExecutorType
.
Activate
,
(
int
)
CardId
.
宇宙旋风
,
DefaultMysticalSpaceTyphoon
);
AddExecutor
(
ExecutorType
.
Activate
,
(
int
)
CardId
.
神之宣告
,
DefaultTrap
);
AddExecutor
(
ExecutorType
.
Activate
,
(
int
)
CardId
.
神之警告
,
DefaultTrap
);
AddExecutor
(
ExecutorType
.
Activate
,
(
int
)
CardId
.
神之通告
,
DefaultTrap
);
AddExecutor
(
ExecutorType
.
Activate
,
DontChainMyself
);
AddExecutor
(
ExecutorType
.
MonsterSet
);
AddExecutor
(
ExecutorType
.
SpSummon
);
AddExecutor
(
ExecutorType
.
Repos
,
DefaultMonsterRepos
);
AddExecutor
(
ExecutorType
.
SpellSet
);
}
private
bool
DontChainMyself
()
{
return
LastChainPlayer
!=
0
;
}
// will be added soon...?
}
}
\ No newline at end of file
WindBot.csproj
View file @
96bc0f0c
...
...
@@ -61,6 +61,8 @@
<Compile
Include=
"Game\AI\DecksManager.cs"
/>
<Compile
Include=
"Game\AI\Decks\BlueEyesExecutor.cs"
/>
<Compile
Include=
"Game\AI\Decks\BurnExecutor.cs"
/>
<Compile
Include=
"Game\AI\Decks\EvilswarmExecutor.cs"
/>
<Compile
Include=
"Game\AI\Decks\GraydleExecutor.cs"
/>
<Compile
Include=
"Game\AI\Decks\YosenjuExecutor.cs"
/>
<Compile
Include=
"Game\AI\Decks\DragunityExecutor.cs"
/>
<Compile
Include=
"Game\AI\Decks\FrogExecutor.cs"
/>
...
...
bots.json
View file @
96bc0f0c
...
...
@@ -59,6 +59,16 @@
"name"
:
"尼亚"
,
"deck"
:
"Yosenju"
,
"dialog"
:
"near.zh-CN"
},
{
"name"
:
"尼亚"
,
"deck"
:
"Evilswarm"
,
"dialog"
:
"near.zh-CN"
},
{
"name"
:
"尼亚"
,
"deck"
:
"Graydle"
,
"dialog"
:
"near.zh-CN"
}
]
}
\ No newline at end of file
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