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
c53428bc
Commit
c53428bc
authored
Nov 09, 2017
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix ZoodiacExecutor to use AI.SelectMaterials
parent
bba4eedd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
Game/AI/Decks/ToadallyAwesomeExecutor.cs
Game/AI/Decks/ToadallyAwesomeExecutor.cs
+1
-1
Game/AI/Decks/ZoodiacExecutor.cs
Game/AI/Decks/ZoodiacExecutor.cs
+8
-3
No files found.
Game/AI/Decks/ToadallyAwesomeExecutor.cs
View file @
c53428bc
...
@@ -97,7 +97,7 @@ namespace WindBot.Game.AI.Decks
...
@@ -97,7 +97,7 @@ namespace WindBot.Game.AI.Decks
AddExecutor
(
ExecutorType
.
Repos
,
Repos
);
AddExecutor
(
ExecutorType
.
Repos
,
Repos
);
// cards got by Toadall
y
Awesome
// cards got by Toadall
y
Awesome
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
MysticalSpaceTyphoon
,
DefaultMysticalSpaceTyphoon
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
MysticalSpaceTyphoon
,
DefaultMysticalSpaceTyphoon
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
BookOfMoon
,
DefaultBookOfMoon
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
BookOfMoon
,
DefaultBookOfMoon
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
CallOfTheHaunted
,
SurfaceEffect
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
CallOfTheHaunted
,
SurfaceEffect
);
...
...
Game/AI/Decks/ZoodiacExecutor.cs
View file @
c53428bc
...
@@ -403,7 +403,7 @@ namespace WindBot.Game.AI.Decks
...
@@ -403,7 +403,7 @@ namespace WindBot.Game.AI.Decks
{
{
AI
.
SelectYesNo
(
false
);
AI
.
SelectYesNo
(
false
);
AI
.
SelectPosition
(
CardPosition
.
FaceUpDefence
);
AI
.
SelectPosition
(
CardPosition
.
FaceUpDefence
);
AI
.
Select
Card
(
new
[]
AI
.
Select
Materials
(
new
[]
{
{
CardId
.
Ratpier
,
CardId
.
Ratpier
,
CardId
.
PhotonThrasher
,
CardId
.
PhotonThrasher
,
...
@@ -415,7 +415,7 @@ namespace WindBot.Game.AI.Decks
...
@@ -415,7 +415,7 @@ namespace WindBot.Game.AI.Decks
private
bool
DridentSummon
()
private
bool
DridentSummon
()
{
{
AI
.
Select
Card
(
new
[]
AI
.
Select
Materials
(
new
[]
{
{
CardId
.
Broadbull
,
CardId
.
Broadbull
,
CardId
.
Tigermortar
,
CardId
.
Tigermortar
,
...
@@ -506,6 +506,11 @@ namespace WindBot.Game.AI.Decks
...
@@ -506,6 +506,11 @@ namespace WindBot.Game.AI.Decks
private
bool
DaigustoEmeralSummon
()
private
bool
DaigustoEmeralSummon
()
{
{
AI
.
SelectMaterials
(
new
[]
{
CardId
.
PhotonThrasher
,
CardId
.
AleisterTheInvoker
});
return
Bot
.
GetGraveyardMonsters
().
Count
>=
3
;
return
Bot
.
GetGraveyardMonsters
().
Count
>=
3
;
}
}
...
@@ -599,7 +604,7 @@ namespace WindBot.Game.AI.Decks
...
@@ -599,7 +604,7 @@ namespace WindBot.Game.AI.Decks
private
bool
MonsterRepos
()
private
bool
MonsterRepos
()
{
{
if
(
Card
.
Id
==
CardId
.
NumberS39UtopiatheLightning
)
if
(
Card
.
Id
==
CardId
.
NumberS39UtopiatheLightning
&&
Card
.
IsAttack
()
)
return
false
;
return
false
;
return
base
.
DefaultMonsterRepos
();
return
base
.
DefaultMonsterRepos
();
}
}
...
...
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