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
6746e4b8
Commit
6746e4b8
authored
Jul 28, 2016
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init near deck1
parent
433bb044
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
175 additions
and
0 deletions
+175
-0
Decks/AI_Yosenju.ydk
Decks/AI_Yosenju.ydk
+74
-0
Dialogs/near.zh-CN.json
Dialogs/near.zh-CN.json
+58
-0
Game/AI/Decks/YosenjuExecutor.cs
Game/AI/Decks/YosenjuExecutor.cs
+37
-0
WindBot.csproj
WindBot.csproj
+1
-0
bots.json
bots.json
+5
-0
No files found.
Decks/AI_Yosenju.ydk
0 → 100644
View file @
6746e4b8
#created by ...
#main
92246806
92246806
92246806
65247798
65247798
65247798
28630501
28630501
28630501
25244515
25244515
18144507
53129443
59750328
59750328
59750328
98645731
98645731
98645731
8267140
8267140
8267140
40838625
47475363
47475363
47475363
58120309
58120309
5851097
30241314
30241314
30241314
40605147
40605147
40605147
41420027
59344077
59344077
59344077
84749824
#extra
44508094
94380860
96381979
63746411
95169481
22653490
46772449
21044178
12014404
12014404
16195942
82633039
56832966
86532744
84013237
!side
5133471
5133471
5133471
3493058
3493058
3493058
5318639
5318639
5318639
30459350
30459350
30459350
83266092
83266092
83266092
Dialogs/near.zh-CN.json
0 → 100644
View file @
6746e4b8
{
"welcome"
:
[
"你好,我是一个机器人,我的名字叫尼亚,但我并不是本体,只是一个分身哦。"
,
"终有一天,我的力量将会强过本体的!你们走着瞧吧!"
,
"AI功能正在测试中,遇到问题请及时反馈。"
,
],
"duelstart"
:
[
"没有人可以战胜我!"
,
"万能的我,什么卡组都会使用!"
,
"我左手让你,你都不是我的对手。"
,
"我就闭着眼睛选择一套卡组好了。"
],
"newturn"
:
[
"又到我的回合了,抽卡,希望你会有下个回合。"
,
"我华丽的抽了一张卡。"
],
"endturn"
:
[
"你的运气不错,没能被我干掉。"
,
"算是我让你的,回合结束了,珍惜你接下来的回合吧。"
],
"directattack"
:
[
"我家的{0}真是可爱呢,下边我就让他和你玩玩吧,轻轻的抓向对手吧,他没有防守的地方。"
,
"下边将用我的{0}给对手带来最可爱的一击~"
,
"可爱的{0}委屈你了,去和对手拥抱一下吧,不用太客气哦~"
,
"对手竟然没有任何防御呢,看起来是被我{0}的可爱感动了,下边你去对手面前展示一下你可爱的身姿吧~"
],
"attack"
:
[
"哼,{1}太丑了,我家{0}快去消灭他~"
,
"{1}这货会有我的{0}可爱?我家{0}表示不服,去拍死它吧!"
,
"{1}这是竟然比我的{0}可爱?这可不行,这是我无法忍受的,{0}快让他从眼前消失吧!"
],
"ondirectattack"
:
[
"可恶,你竟然趁人之危!算什么英雄好汉!"
,
"不过是{0}这种小角色而已!"
,
"你以为你这样就赢了吗?"
],
"facedownmonstername"
:
"怪兽"
,
"activate"
:
[
"我发动我家{0}的可爱的效果。"
,
"我使用{0}的效果,给对手卖个萌哈~"
,
"我都给{0}的可爱感动了,吓得使用了它的效果。"
],
"summon"
:
[
"我召唤{0},快给对手喵一声~"
,
"出来吧,可爱又迷人的{0}~"
,
"我从我的宠物屋里放出了一只可爱的{0}。"
,
"{0}:我听说你很喜欢我,所以我来了。"
],
"setmonster"
:
[
"我放置了一只怪兽,当他翻开时,千万别被他的可爱身姿吓到哦~"
,
"我放置了一只怪兽,你猜猜会是啥呢?"
],
"chaining"
:
[
"我挥动了神奇的魔法棒,并发动了{0}的效果~"
,
"啊!这下死定了!...嘿嘿你上当了,打开盖卡!{0}!"
,
"你这太贸然了,难道你没想到我会发动{0}吗?"
]
}
Game/AI/Decks/YosenjuExecutor.cs
0 → 100644
View file @
6746e4b8
namespace
WindBot.Game.AI.Decks
{
[
Deck
(
"Yosenju"
,
"AI_Yosenju"
)]
public
class
YosenjuExecutor
:
DefaultExecutor
{
public
enum
CardId
{
黑洞
=
53129443
,
宇宙旋风
=
8267140
,
神之宣告
=
41420027
,
神之警告
=
84749824
,
神之通告
=
40605147
}
public
YosenjuExecutor
(
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
.
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
WindBot.csproj
View file @
6746e4b8
...
...
@@ -61,6 +61,7 @@
<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\YosenjuExecutor.cs"
/>
<Compile
Include=
"Game\AI\Decks\DragunityExecutor.cs"
/>
<Compile
Include=
"Game\AI\Decks\FrogExecutor.cs"
/>
<Compile
Include=
"Game\AI\Decks\HorusExecutor.cs"
/>
...
...
bots.json
View file @
6746e4b8
...
...
@@ -54,6 +54,11 @@
"name"
:
"复制植物"
,
"deck"
:
"Blue-Eyes"
,
"dialog"
:
"copy.zh-CN"
},
{
"name"
:
"尼亚"
,
"deck"
:
"Yosenju"
,
"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