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
神之吹息
windbot
Commits
8438970f
Commit
8438970f
authored
Apr 08, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix やぶ蛇 of trickstar deck
parent
987c7ae3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
5 deletions
+13
-5
Game/AI/Decks/TrickstarExecutor.cs
Game/AI/Decks/TrickstarExecutor.cs
+13
-5
No files found.
Game/AI/Decks/TrickstarExecutor.cs
View file @
8438970f
...
@@ -247,11 +247,12 @@ namespace WindBot.Game.AI.Decks
...
@@ -247,11 +247,12 @@ namespace WindBot.Game.AI.Decks
AI
.
SelectCard
(
ex_best
);
AI
.
SelectCard
(
ex_best
);
}
}
}
}
if
(!
judge
||
Duel
.
CurrentChain
.
GetCardCount
(
CardId
.
Grass
)
>
1
)
if
(!
judge
||
AI
.
Utils
.
ChainContainsCard
(
CardId
.
Grass
)
)
{
{
// cannot ss from exdeck
// cannot ss from exdeck
or have more than 1 grass in chain
int
[]
secondselect
=
new
[]
int
[]
secondselect
=
new
[]
{
{
CardId
.
borrel
,
CardId
.
Ultimate
,
CardId
.
Ultimate
,
CardId
.
Abyss
,
CardId
.
Abyss
,
CardId
.
Cardian
,
CardId
.
Cardian
,
...
@@ -261,13 +262,20 @@ namespace WindBot.Game.AI.Decks
...
@@ -261,13 +262,20 @@ namespace WindBot.Game.AI.Decks
CardId
.
Yellow
,
CardId
.
Yellow
,
CardId
.
Pink
CardId
.
Pink
};
};
if
(!
judge
&&
Duel
.
CurrentChain
.
GetCardCount
(
CardId
.
Grass
)
==
1
&&
Bot
.
GetRemainingCount
(
CardId
.
Ghost
,
2
)
>
0
)
if
(!
AI
.
Utils
.
ChainContainsCard
(
CardId
.
Grass
)
)
{
{
AI
.
SelectCard
(
CardId
.
Ghost
);
if
(!
judge
&&
Bot
.
GetRemainingCount
(
CardId
.
Ghost
,
2
)
>
0
)
AI
.
SelectPosition
(
CardPosition
.
FaceUpDefence
);
{
AI
.
SelectCard
(
CardId
.
Ghost
);
AI
.
SelectPosition
(
CardPosition
.
FaceUpDefence
);
}
else
AI
.
SelectCard
(
secondselect
);
}
}
else
else
{
{
if
(!
judge
)
AI
.
SelectCard
(
secondselect
);
AI
.
SelectNextCard
(
secondselect
);
AI
.
SelectNextCard
(
secondselect
);
AI
.
SelectThirdCard
(
secondselect
);
AI
.
SelectThirdCard
(
secondselect
);
}
}
...
...
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