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
72497b5d
Commit
72497b5d
authored
Mar 12, 2023
by
wind2009
Committed by
GitHub
Mar 12, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add Exosister Deck (#161)
parent
3c40d4c4
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
3043 additions
and
3 deletions
+3043
-3
BotWrapper/bot.conf
BotWrapper/bot.conf
+6
-1
Decks/AI_Exosister.ydk
Decks/AI_Exosister.ydk
+60
-0
Game/AI/Decks/ExosisterExecutor.cs
Game/AI/Decks/ExosisterExecutor.cs
+2963
-0
Game/AI/DefaultExecutor.cs
Game/AI/DefaultExecutor.cs
+3
-1
Game/Duel.cs
Game/Duel.cs
+4
-0
Game/GameBehavior.cs
Game/GameBehavior.cs
+6
-1
WindBot.csproj
WindBot.csproj
+1
-0
No files found.
BotWrapper/bot.conf
View file @
72497b5d
...
...
@@ -189,11 +189,16 @@ Name=我太帅了 Deck=Brave Dialog=smart.zh-CN
水机百头龙凤凰人勇者卡组。
AI_LV3
SUPPORT_MASTER_RULE_2020
!玻璃女巫
!玻璃女巫
-魔女术
Name
=玻璃女巫
Deck
=
Witchcraft
Dialog
=
verre
.
zh
-
CN
魔女术卡组。
AI_LV3
SUPPORT_MASTER_RULE_3
SUPPORT_NEW_MASTER_RULE
SUPPORT_MASTER_RULE_2020
!玻璃女巫-救祓少女
Name
=玻璃女巫
Deck
=
Exosister
Dialog
=
verre
.
zh
-
CN
救祓少女卡组。
AI_LV3
SUPPORT_MASTER_RULE_3
SUPPORT_MASTER_RULE_2020
!神数不神-刹帝利
Name
=神数不神
Deck
=
Kashtira
Dialog
=
Zefra
.
zh
-
CN
俱舍怒威族卡组。
...
...
Decks/AI_Exosister.ydk
0 → 100644
View file @
72497b5d
#created by ...
#main
37343995
37343995
37343995
16889337
16889337
16889337
16474916
16474916
16474916
67972302
67972302
67972302
79858629
79858629
43863925
43863925
43863925
5352328
5352328
14558127
14558127
14558127
23434538
23434538
23434538
84211599
84211599
4408198
24224830
24224830
77913594
77913594
77913594
197042
197042
10045474
10045474
77891946
77891946
77891946
#extra
90448279
59242457
59242457
9272381
42741437
42741437
42741437
78135071
78135071
41524885
41524885
46772449
5530780
58858807
8728498
!side
74689476
Game/AI/Decks/ExosisterExecutor.cs
0 → 100644
View file @
72497b5d
This source diff could not be displayed because it is too large. You can
view the blob
instead.
Game/AI/DefaultExecutor.cs
View file @
72497b5d
...
...
@@ -124,6 +124,7 @@ namespace WindBot.Game.AI
public
const
int
VaylantzWorld_ShinraBansho
=
49568943
;
public
const
int
VaylantzWorld_KonigWissen
=
75952542
;
public
const
int
DivineArsenalAAZEUS_SkyThunder
=
90448279
;
}
protected
DefaultExecutor
(
GameAI
ai
,
Duel
duel
)
...
...
@@ -798,7 +799,8 @@ namespace WindBot.Game.AI
_CardId
.
BlackRoseDragon
,
_CardId
.
JudgmentDragon
,
_CardId
.
TopologicTrisbaena
,
_CardId
.
EvenlyMatched
_CardId
.
EvenlyMatched
,
_CardId
.
DivineArsenalAAZEUS_SkyThunder
};
int
[]
destroyAllOpponentSpellList
=
{
...
...
Game/Duel.cs
View file @
72497b5d
...
...
@@ -18,8 +18,10 @@ namespace WindBot.Game
public
BattlePhase
BattlePhase
{
get
;
set
;
}
public
int
LastChainPlayer
{
get
;
set
;
}
public
CardLocation
LastChainLocation
{
get
;
set
;
}
public
IList
<
ClientCard
>
CurrentChain
{
get
;
set
;
}
public
IList
<
ClientCard
>
ChainTargets
{
get
;
set
;
}
public
IList
<
ClientCard
>
LastChainTargets
{
get
;
set
;
}
public
IList
<
ClientCard
>
ChainTargetOnly
{
get
;
set
;
}
public
int
LastSummonPlayer
{
get
;
set
;
}
public
IList
<
ClientCard
>
SummoningCards
{
get
;
set
;
}
...
...
@@ -31,8 +33,10 @@ namespace WindBot.Game
Fields
[
0
]
=
new
ClientField
();
Fields
[
1
]
=
new
ClientField
();
LastChainPlayer
=
-
1
;
LastChainLocation
=
0
;
CurrentChain
=
new
List
<
ClientCard
>();
ChainTargets
=
new
List
<
ClientCard
>();
LastChainTargets
=
new
List
<
ClientCard
>();
ChainTargetOnly
=
new
List
<
ClientCard
>();
LastSummonPlayer
=
-
1
;
SummoningCards
=
new
List
<
ClientCard
>();
...
...
Game/GameBehavior.cs
View file @
72497b5d
...
...
@@ -728,7 +728,8 @@ namespace WindBot.Game
card
.
SetId
(
cardId
);
int
cc
=
GetLocalPlayer
(
packet
.
ReadByte
());
if
(
_debug
)
if
(
card
!=
null
)
Logger
.
WriteLine
(
"("
+
cc
.
ToString
()
+
" 's "
+
(
card
.
Name
??
"UnKnowCard"
)
+
" activate effect)"
);
if
(
card
!=
null
)
Logger
.
WriteLine
(
"("
+
cc
.
ToString
()
+
" 's "
+
(
card
.
Name
??
"UnKnowCard"
)
+
" activate effect from "
+
(
CardLocation
)
pcl
+
")"
);
_duel
.
LastChainLocation
=
(
CardLocation
)
pcl
;
_ai
.
OnChaining
(
card
,
cc
);
//_duel.ChainTargets.Clear();
_duel
.
ChainTargetOnly
.
Clear
();
...
...
@@ -742,8 +743,10 @@ namespace WindBot.Game
{
_ai
.
OnChainEnd
();
_duel
.
LastChainPlayer
=
-
1
;
_duel
.
LastChainLocation
=
0
;
_duel
.
CurrentChain
.
Clear
();
_duel
.
ChainTargets
.
Clear
();
_duel
.
LastChainTargets
.
Clear
();
_duel
.
ChainTargetOnly
.
Clear
();
}
...
...
@@ -856,6 +859,7 @@ namespace WindBot.Game
private
void
OnBecomeTarget
(
BinaryReader
packet
)
{
_duel
.
LastChainTargets
.
Clear
();
int
count
=
packet
.
ReadByte
();
for
(
int
i
=
0
;
i
<
count
;
++
i
)
{
...
...
@@ -868,6 +872,7 @@ namespace WindBot.Game
if
(
_debug
)
Logger
.
WriteLine
(
"("
+
(
CardLocation
)
loc
+
" 's "
+
(
card
.
Name
??
"UnKnowCard"
)
+
" become target)"
);
_duel
.
ChainTargets
.
Add
(
card
);
_duel
.
LastChainTargets
.
Add
(
card
);
_duel
.
ChainTargetOnly
.
Add
(
card
);
}
}
...
...
WindBot.csproj
View file @
72497b5d
...
...
@@ -73,6 +73,7 @@
<Compile
Include=
"Game\AI\Decks\BraveExecutor.cs"
/>
<Compile
Include=
"Game\AI\Decks\FamiliarPossessedExecutor.cs"
/>
<Compile
Include=
"Game\AI\Decks\BlackwingExecutor.cs"
/>
<Compile
Include=
"Game\AI\Decks\ExosisterExecutor.cs"
/>
<Compile
Include=
"Game\AI\Decks\KashtiraExecutor.cs"
/>
<Compile
Include=
"Game\AI\Decks\LuckyExecutor.cs"
/>
<Compile
Include=
"Game\AI\Decks\MathMechExecutor.cs"
/>
...
...
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