Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
W
Windbot-408
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-408
Commits
59b2dbd1
Commit
59b2dbd1
authored
May 28, 2019
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update Level8
parent
9115283b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
4 deletions
+15
-4
Game/AI/Decks/Level8Executor.cs
Game/AI/Decks/Level8Executor.cs
+15
-4
No files found.
Game/AI/Decks/Level8Executor.cs
View file @
59b2dbd1
...
@@ -62,8 +62,11 @@ namespace WindBot.Game.AI.Decks
...
@@ -62,8 +62,11 @@ namespace WindBot.Game.AI.Decks
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
Raigeki
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
Raigeki
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
HarpiesFeatherDuster
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
HarpiesFeatherDuster
);
AddExecutor
(
ExecutorType
.
Repos
,
CardId
.
Number41BagooskaTheTerriblyTiredTapir
,
MonsterRepos
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
CrystalWingSynchroDragon
,
CrystalWingSynchroDragonEffect
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
CrystalWingSynchroDragon
,
CrystalWingSynchroDragonEffect
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
BorreloadSavageDragon
,
BorreloadSavageDragonEffect
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
BorreloadSavageDragon
,
BorreloadSavageDragonEffect
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
ScrapGolem
,
ScrapGolemEffect
);
// empty field
// empty field
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
UnexpectedDai
,
UnexpectedDaiFirst
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
UnexpectedDai
,
UnexpectedDaiFirst
);
...
@@ -83,7 +86,6 @@ namespace WindBot.Game.AI.Decks
...
@@ -83,7 +86,6 @@ namespace WindBot.Game.AI.Decks
AddExecutor
(
ExecutorType
.
SpSummon
,
CardId
.
ScrapWyvern
,
ScrapWyvernSummon
);
AddExecutor
(
ExecutorType
.
SpSummon
,
CardId
.
ScrapWyvern
,
ScrapWyvernSummon
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
ScrapWyvern
,
ScrapWyvernEffect
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
ScrapWyvern
,
ScrapWyvernEffect
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
ScrapGolem
,
ScrapGolemEffect
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
JetSynchron
,
JetSynchronEffect
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
JetSynchron
,
JetSynchronEffect
);
AddExecutor
(
ExecutorType
.
SpSummon
,
CardId
.
CrystronNeedlefiber
,
CrystronNeedlefiberSummon
);
AddExecutor
(
ExecutorType
.
SpSummon
,
CardId
.
CrystronNeedlefiber
,
CrystronNeedlefiberSummon
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
CrystronNeedlefiber
,
CrystronNeedlefiberEffect
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
CrystronNeedlefiber
,
CrystronNeedlefiberEffect
);
...
@@ -170,6 +172,8 @@ namespace WindBot.Game.AI.Decks
...
@@ -170,6 +172,8 @@ namespace WindBot.Game.AI.Decks
AddExecutor
(
ExecutorType
.
SpSummon
,
CardId
.
Number41BagooskaTheTerriblyTiredTapir
,
Number41BagooskaTheTerriblyTiredTapirSummon
);
AddExecutor
(
ExecutorType
.
SpSummon
,
CardId
.
Number41BagooskaTheTerriblyTiredTapir
,
Number41BagooskaTheTerriblyTiredTapirSummon
);
AddExecutor
(
ExecutorType
.
Summon
,
CardId
.
ScrapGolem
,
ScrapGolemSummon
);
AddExecutor
(
ExecutorType
.
SpellSet
,
CardId
.
CalledbyTheGrave
);
AddExecutor
(
ExecutorType
.
SpellSet
,
CardId
.
CalledbyTheGrave
);
AddExecutor
(
ExecutorType
.
SpellSet
,
CardId
.
SolemnStrike
);
AddExecutor
(
ExecutorType
.
SpellSet
,
CardId
.
SolemnStrike
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
SolemnStrike
,
DefaultSolemnStrike
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
SolemnStrike
,
DefaultSolemnStrike
);
...
@@ -322,9 +326,9 @@ namespace WindBot.Game.AI.Decks
...
@@ -322,9 +326,9 @@ namespace WindBot.Game.AI.Decks
return
true
;
return
true
;
}
}
AI
.
SelectCard
(
new
[]
{
AI
.
SelectCard
(
new
[]
{
CardId
.
PhotonThrasher
,
CardId
.
Goblindbergh
,
CardId
.
Goblindbergh
,
CardId
.
RaidenHandofTheLightsworn
CardId
.
RaidenHandofTheLightsworn
,
CardId
.
PhotonThrasher
});
});
return
true
;
return
true
;
}
}
...
@@ -450,6 +454,8 @@ namespace WindBot.Game.AI.Decks
...
@@ -450,6 +454,8 @@ namespace WindBot.Game.AI.Decks
private
bool
ScrapGolemEffect
()
private
bool
ScrapGolemEffect
()
{
{
if
(
Bot
.
GetMonstersInMainZone
().
Count
==
5
)
return
false
;
AI
.
SelectCard
(
CardId
.
ScrapRecycler
);
AI
.
SelectCard
(
CardId
.
ScrapRecycler
);
AI
.
SelectOption
(
0
);
AI
.
SelectOption
(
0
);
return
true
;
return
true
;
...
@@ -558,7 +564,7 @@ namespace WindBot.Game.AI.Decks
...
@@ -558,7 +564,7 @@ namespace WindBot.Game.AI.Decks
ClientCard
target
=
Util
.
GetBestEnemyCard
();
ClientCard
target
=
Util
.
GetBestEnemyCard
();
if
(
target
==
null
)
if
(
target
==
null
)
return
false
;
return
false
;
AI
.
Select
Next
Card
(
target
);
AI
.
SelectCard
(
target
);
return
true
;
return
true
;
}
}
}
}
...
@@ -649,6 +655,11 @@ namespace WindBot.Game.AI.Decks
...
@@ -649,6 +655,11 @@ namespace WindBot.Game.AI.Decks
return
!
Bot
.
HasInMonstersZone
(
L4NonTuners
);
return
!
Bot
.
HasInMonstersZone
(
L4NonTuners
);
}
}
private
bool
ScrapGolemSummon
()
{
return
Bot
.
GetMonsterCount
()
<=
2
&&
Bot
.
HasInMonstersZoneOrInGraveyard
(
CardId
.
ScrapRecycler
);
}
private
bool
BorreloadSavageDragonSummon
()
private
bool
BorreloadSavageDragonSummon
()
{
{
if
(!
Bot
.
HasInGraveyard
(
new
[]
{
if
(!
Bot
.
HasInGraveyard
(
new
[]
{
...
...
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