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
alstroemeria-silentlove
windbot
Commits
54d06a13
Commit
54d06a13
authored
Aug 21, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix some usage of SelectNextCard
parent
01bcb3d0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
0 deletions
+4
-0
Game/AI/Decks/RainbowExecutor.cs
Game/AI/Decks/RainbowExecutor.cs
+2
-0
Game/AI/Decks/YosenjuExecutor.cs
Game/AI/Decks/YosenjuExecutor.cs
+1
-0
Game/AI/DefaultExecutor.cs
Game/AI/DefaultExecutor.cs
+1
-0
No files found.
Game/AI/Decks/RainbowExecutor.cs
View file @
54d06a13
...
@@ -358,6 +358,7 @@ namespace WindBot.Game.AI.Decks
...
@@ -358,6 +358,7 @@ namespace WindBot.Game.AI.Decks
private
bool
LightningChidoriEffect
()
private
bool
LightningChidoriEffect
()
{
{
ClientCard
problematicCard
=
AI
.
Utils
.
GetProblematicEnemyCard
();
ClientCard
problematicCard
=
AI
.
Utils
.
GetProblematicEnemyCard
();
AI
.
SelectCard
(
0
);
AI
.
SelectNextCard
(
problematicCard
);
AI
.
SelectNextCard
(
problematicCard
);
return
true
;
return
true
;
}
}
...
@@ -423,6 +424,7 @@ namespace WindBot.Game.AI.Decks
...
@@ -423,6 +424,7 @@ namespace WindBot.Game.AI.Decks
ClientCard
result
=
AI
.
Utils
.
GetOneEnemyBetterThanValue
(
2000
,
true
);
ClientCard
result
=
AI
.
Utils
.
GetOneEnemyBetterThanValue
(
2000
,
true
);
if
(
result
!=
null
)
if
(
result
!=
null
)
{
{
AI
.
SelectCard
(
0
);
AI
.
SelectNextCard
(
result
);
AI
.
SelectNextCard
(
result
);
return
true
;
return
true
;
}
}
...
...
Game/AI/Decks/YosenjuExecutor.cs
View file @
54d06a13
...
@@ -312,6 +312,7 @@ namespace WindBot.Game.AI.Decks
...
@@ -312,6 +312,7 @@ namespace WindBot.Game.AI.Decks
ClientCard
target
=
AI
.
Utils
.
GetOneEnemyBetterThanValue
(
oppoBestAttack
,
true
);
ClientCard
target
=
AI
.
Utils
.
GetOneEnemyBetterThanValue
(
oppoBestAttack
,
true
);
if
(
target
!=
null
)
if
(
target
!=
null
)
{
{
AI
.
SelectCard
(
0
);
AI
.
SelectNextCard
(
target
);
AI
.
SelectNextCard
(
target
);
}
}
return
true
;
return
true
;
...
...
Game/AI/DefaultExecutor.cs
View file @
54d06a13
...
@@ -862,6 +862,7 @@ namespace WindBot.Game.AI
...
@@ -862,6 +862,7 @@ namespace WindBot.Game.AI
ClientCard
target
=
AI
.
Utils
.
GetProblematicEnemyCard
();
ClientCard
target
=
AI
.
Utils
.
GetProblematicEnemyCard
();
if
(
target
!=
null
)
if
(
target
!=
null
)
{
{
AI
.
SelectCard
(
0
);
AI
.
SelectNextCard
(
target
);
AI
.
SelectNextCard
(
target
);
return
true
;
return
true
;
}
}
...
...
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