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
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
MyCard
windbot
Commits
d9578872
Commit
d9578872
authored
Mar 27, 2024
by
苍蓝
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
72bf1203
Pipeline
#26097
passed with stage
in 23 seconds
Changes
8
Pipelines
1
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
832 additions
and
33 deletions
+832
-33
BotWrapper/bot.conf
BotWrapper/bot.conf
+5
-0
Decks/AI_ObsidianMagical.ydk
Decks/AI_ObsidianMagical.ydk
+45
-0
Dialogs/rd-b.json
Dialogs/rd-b.json
+68
-0
Game/AI/AIUtil.cs
Game/AI/AIUtil.cs
+1
-1
Game/AI/Decks/ExcutieExecutor.cs
Game/AI/Decks/ExcutieExecutor.cs
+1
-31
Game/AI/Decks/ObsidianMagicalExecutor.cs
Game/AI/Decks/ObsidianMagicalExecutor.cs
+639
-0
WindBot.csproj
WindBot.csproj
+68
-1
bots.json
bots.json
+5
-0
No files found.
BotWrapper/bot.conf
View file @
d9578872
...
@@ -29,6 +29,11 @@ Name=光天女 Deck=Excutie Dialog=Excutie.zh-CN
...
@@ -29,6 +29,11 @@ Name=光天女 Deck=Excutie Dialog=Excutie.zh-CN
强力的超可爱执行者卡组。
强力的超可爱执行者卡组。
SUPPORT_MASTER_RULE_3
SUPPORT_NEW_MASTER_RULE
SUPPORT_MASTER_RULE_2020
SUPPORT_MASTER_RULE_3
SUPPORT_NEW_MASTER_RULE
SUPPORT_MASTER_RULE_2020
!黑曜魔导
Name
=黑曜魔导
Deck
=
ObsidianMagical
Dialog
=
rd
-
b
.
zh
-
CN
滤抽暗魔术师卡组。
SUPPORT_MASTER_RULE_3
SUPPORT_NEW_MASTER_RULE
SUPPORT_MASTER_RULE_2020
!传说子
!传说子
Name
=传说子
Deck
=
TheLegend
Dialog
=
rd
Name
=传说子
Deck
=
TheLegend
Dialog
=
rd
大量传说卡堆成的卡组。需勾选不检查卡组才能对战。
大量传说卡堆成的卡组。需勾选不检查卡组才能对战。
...
...
Decks/AI_ObsidianMagical.ydk
0 → 100644
View file @
d9578872
#created by ...
#main
120130000
120254035
120254035
120254035
120246080
120246081
120246081
120246081
120181002
120181002
120130041
120130041
120199052
120199052
120199052
120203027
120203027
120208053
120208053
120208053
120203029
120203029
120217018
120217018
120231069
120246018
120246083
120246083
120246083
120246084
120246084
120246084
120246085
120246085
120246085
120249055
120249055
120249055
120244055
120232005
#extra
!side
120105012
Dialogs/rd-b.json
0 → 100644
View file @
d9578872
{
"welcome"
:
[
"杂鱼~杂鱼~"
,
"哼,你就是我的对手吗?看起来不怎么样嘛。"
,
],
"deckerror"
:
[
"哈,你的卡组出了点小问题?看来你还不够格和我对决。"
],
"duelstart"
:
[
"你以为我会对你客气吗?"
,
"我可不会手下留情哟!"
],
"newturn"
:
[
"轮到我了,抽卡!我手中的力量又增强了。"
,
"我抽到了什么?不管怎样,胜利的天平已经倾斜向我这边!"
],
"endturn"
:
[
"回合结束,你就好好体会一下等待失败的煎熬吧。"
,
"我的回合结束,现在轮到你颤抖了。"
,
"轮到你了,希望你不要让我失望。"
,
"大叔生气了吗,嘻嘻~"
],
"directattack"
:
[
"{0},直接攻击!你的生命值就是我的了!"
,
"{0},给我用力揍他!"
,
"{0},直接攻击对手!你的防御在我面前一无是处!"
,
"{0},攻击对手的生命值!让他们见识一下真正的力量!"
,
"{0},让杂鱼大叔见识一下你的力量。!"
],
"attack"
:
[
"{0},攻击这只{1}!你的命运已经注定了!"
,
"你这杂鱼,捉弄起来真无趣。"
,
"{0},冲向那只杂鱼!"
,
"{1}只是个杂鱼罢了,连我的一根汗毛都不如。"
],
"ondirectattack"
:
[
"哎呀呀,杂鱼生气了吗?"
,
"哼,就这点本事吗?"
,
"真是差劲透顶!"
,
"啊!好痛!!!"
,
"刚才的冒犯真的很对不起!请饶了我吧!我没想到会这样。"
,
"呜呜,我错了,我不该小看你的。{0}的攻击好痛。"
,
"请、请停下来!我、我再也不敢了!"
],
"facedownmonstername"
:
"隐匿的怪兽"
,
"activate"
:
[
"我发动{0}。你最好小心了,这将是你噩梦的开始。"
,
"我使用{0}的效果。看来你还没意识到局势的严重性。"
,
"我使用{0}的力量。在我的策略面前,你的抵抗毫无意义。"
],
"summon"
:
[
"我召唤{0}。颤抖吧,因为你面对的是无敌的力量!"
,
"出来吧,{0}!这可不是你的杂鱼怪兽能比的!"
,
"出现吧,{0}!你的到来将宣告对手的末日!"
,
"出来吧{0}!你将见证真正的强者是如何战斗的!"
,
"召唤{0}。在我的怪兽面前,你的防御不过是纸糊的!"
],
"setmonster"
:
[
"我放置了一只怪兽。这只是我胜利之路上的一小步。"
,
"我里侧表示放置了一只怪兽。你最好祈祷能抽到对付它的牌。"
],
"chaining"
:
[
"看这里!我发动{0}!你已经落入我的陷阱!"
,
"你的每一个动作都在我的计算之中。"
,
"发动{0}!你无法逃脱我的掌控。"
,
"这是我为你准备的惊喜。"
]
}
Game/AI/AIUtil.cs
View file @
d9578872
Game/AI/Decks/ExcutieExecutor.cs
View file @
d9578872
...
@@ -493,37 +493,7 @@ namespace WindBot.Game.AI.Decks
...
@@ -493,37 +493,7 @@ namespace WindBot.Game.AI.Decks
list
[
n
]
=
temp
;
list
[
n
]
=
temp
;
}
}
}
}
public
ClientCard
GetBestEnemyCard_random
()
{
// monsters
ClientCard
card
=
Util
.
GetProblematicEnemyMonster
(
0
,
true
);
if
(
card
!=
null
)
return
card
;
if
(
Util
.
GetOneEnemyBetterThanMyBest
()
!=
null
)
{
card
=
Enemy
.
MonsterZone
.
GetHighestAttackMonster
(
true
);
if
(
card
!=
null
)
return
card
;
}
// spells
List
<
ClientCard
>
enemy_spells
=
Enemy
.
GetSpells
();
RandomSort
(
enemy_spells
);
foreach
(
ClientCard
sp
in
enemy_spells
)
{
if
(
sp
.
IsFaceup
()
&&
!
sp
.
IsDisabled
())
return
sp
;
}
if
(
enemy_spells
.
Count
>
0
)
return
enemy_spells
[
0
];
List
<
ClientCard
>
monsters
=
Enemy
.
GetMonsters
();
if
(
monsters
.
Count
>
0
)
{
RandomSort
(
monsters
);
return
monsters
[
0
];
}
return
null
;
}
private
bool
ImFeelingLazy
()
private
bool
ImFeelingLazy
()
{
{
if
(
Executors
.
Any
(
exec
=>
(
exec
.
Type
==
ExecutorType
.
SummonOrSet
||
exec
.
Type
==
ExecutorType
.
Summon
||
exec
.
Type
==
ExecutorType
.
MonsterSet
)
&&
exec
.
CardId
==
Card
.
Id
))
if
(
Executors
.
Any
(
exec
=>
(
exec
.
Type
==
ExecutorType
.
SummonOrSet
||
exec
.
Type
==
ExecutorType
.
Summon
||
exec
.
Type
==
ExecutorType
.
MonsterSet
)
&&
exec
.
CardId
==
Card
.
Id
))
...
...
Game/AI/Decks/ObsidianMagicalExecutor.cs
0 → 100644
View file @
d9578872
This diff is collapsed.
Click to expand it.
WindBot.csproj
View file @
d9578872
...
@@ -83,6 +83,7 @@
...
@@ -83,6 +83,7 @@
<Compile
Include=
"Game\AI\Decks\LuckyExecutor.cs"
/>
<Compile
Include=
"Game\AI\Decks\LuckyExecutor.cs"
/>
<Compile
Include=
"Game\AI\Decks\MathMechExecutor.cs"
/>
<Compile
Include=
"Game\AI\Decks\MathMechExecutor.cs"
/>
<Compile
Include=
"Game\AI\Decks\MituziExecutor.cs"
/>
<Compile
Include=
"Game\AI\Decks\MituziExecutor.cs"
/>
<Compile
Include=
"Game\AI\Decks\ObsidianMagicalExecutor.cs"
/>
<Compile
Include=
"Game\AI\Decks\PureWindsExecutor.cs"
/>
<Compile
Include=
"Game\AI\Decks\PureWindsExecutor.cs"
/>
<Compile
Include=
"Game\AI\Decks\DragunExecutor.cs"
/>
<Compile
Include=
"Game\AI\Decks\DragunExecutor.cs"
/>
<Compile
Include=
"Game\AI\Decks\Level8Executor.cs"
/>
<Compile
Include=
"Game\AI\Decks\Level8Executor.cs"
/>
...
@@ -178,7 +179,73 @@
...
@@ -178,7 +179,73 @@
<None
Include=
"Decks\*.ydk"
>
<None
Include=
"Decks\*.ydk"
>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</None>
</None>
<None
Include=
"Dialogs\*.json"
>
<None
Include=
"Dialogs\anothercopy.zh-CN.json"
>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</None>
<None
Include=
"Dialogs\BA.zh-TW.json"
>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</None>
<None
Include=
"Dialogs\cirno.zh-CN.json"
>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</None>
<None
Include=
"Dialogs\copy.zh-CN.json"
>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</None>
<None
Include=
"Dialogs\default.json"
>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</None>
<None
Include=
"Dialogs\Excutie.zh-CN.json"
>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</None>
<None
Include=
"Dialogs\gugugu.zh-CN.json"
>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</None>
<None
Include=
"Dialogs\kiwi.zh-TW.json"
>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</None>
<None
Include=
"Dialogs\Mituzi.zh-CN.json"
>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</None>
<None
Include=
"Dialogs\mokey.zh-CN.json"
>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</None>
<None
Include=
"Dialogs\near.zh-CN.json"
>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</None>
<None
Include=
"Dialogs\rd-b.json"
>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</None>
<None
Include=
"Dialogs\rd-a.json"
>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</None>
<None
Include=
"Dialogs\rd-c.json"
>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</None>
<None
Include=
"Dialogs\rd-d.json"
>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</None>
<None
Include=
"Dialogs\rd.json"
>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</None>
<None
Include=
"Dialogs\smart.zh-CN.json"
>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</None>
<None
Include=
"Dialogs\soul.zh-CN.json"
>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</None>
<None
Include=
"Dialogs\swordsman.zh-CN.json"
>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</None>
<None
Include=
"Dialogs\verre.zh-CN.json"
>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</None>
<None
Include=
"Dialogs\VI-1911.zh-CN.json"
>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</None>
<None
Include=
"Dialogs\Zefra.zh-CN.json"
>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</None>
<None
Include=
"Dialogs\zh-CN.json"
>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
<CopyToOutputDirectory>
PreserveNewest
</CopyToOutputDirectory>
</None>
</None>
</ItemGroup>
</ItemGroup>
...
...
bots.json
View file @
d9578872
...
@@ -30,6 +30,11 @@
...
@@ -30,6 +30,11 @@
"name"
:
"光天女"
,
"name"
:
"光天女"
,
"deck"
:
"Excutie"
,
"deck"
:
"Excutie"
,
"dialog"
:
"Excutie.zh-CN"
"dialog"
:
"Excutie.zh-CN"
},
{
"name"
:
"黑曜魔导"
,
"deck"
:
"ObsidianMagical"
,
"dialog"
:
"ObsidianMagical.zh-CN"
},
},
{
{
"name"
:
"幻宇子"
,
"name"
:
"幻宇子"
,
...
...
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