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
48052612
Commit
48052612
authored
Apr 09, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update ChainBurn deck by handsomekiwi
parent
c55b7a6a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
9 deletions
+17
-9
Game/AI/Decks/ChainBurnExecutor.cs
Game/AI/Decks/ChainBurnExecutor.cs
+17
-9
No files found.
Game/AI/Decks/ChainBurnExecutor.cs
View file @
48052612
...
@@ -62,6 +62,7 @@ namespace WindBot.Game.AI.Decks
...
@@ -62,6 +62,7 @@ namespace WindBot.Game.AI.Decks
AddExecutor
(
ExecutorType
.
SpellSet
,
CardId
.
Waboku
);
AddExecutor
(
ExecutorType
.
SpellSet
,
CardId
.
Waboku
);
AddExecutor
(
ExecutorType
.
SpellSet
,
CardId
.
ThreateningRoar
);
AddExecutor
(
ExecutorType
.
SpellSet
,
CardId
.
ThreateningRoar
);
AddExecutor
(
ExecutorType
.
SpellSet
,
CardId
.
BlazingMirrorForce
);
AddExecutor
(
ExecutorType
.
SpellSet
,
CardId
.
BlazingMirrorForce
);
AddExecutor
(
ExecutorType
.
SpellSet
,
CardId
.
OjamaTrio
,
OjamaTrioset
);
AddExecutor
(
ExecutorType
.
SpellSet
,
BrunSpellSet
);
AddExecutor
(
ExecutorType
.
SpellSet
,
BrunSpellSet
);
//afer set
//afer set
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
CardcarD
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
CardcarD
);
...
@@ -361,7 +362,7 @@ namespace WindBot.Game.AI.Decks
...
@@ -361,7 +362,7 @@ namespace WindBot.Game.AI.Decks
{
{
if
(
must_chain
())
return
true
;
if
(
must_chain
())
return
true
;
if
(
prevent_used
||
Duel
.
Phase
==
DuelPhase
.
End
||
Duel
.
Phase
==
DuelPhase
.
Main2
)
return
false
;
if
(
prevent_used
||
Duel
.
Phase
!=
DuelPhase
.
Main1
)
return
false
;
prevent_used
=
true
;
prevent_used
=
true
;
return
DefaultUniqueTrap
();
return
DefaultUniqueTrap
();
}
}
...
@@ -409,9 +410,8 @@ namespace WindBot.Game.AI.Decks
...
@@ -409,9 +410,8 @@ namespace WindBot.Game.AI.Decks
}
}
private
bool
RecklessGreedeff
()
private
bool
RecklessGreedeff
()
{
{
int
count
=
0
;
int
count
=
0
;
IList
<
ClientCard
>
check
=
Bot
.
SpellZone
;
foreach
(
ClientCard
card
in
Bot
.
GetSpells
())
foreach
(
ClientCard
card
in
check
)
{
{
if
(
card
.
Id
==
CardId
.
RecklessGreed
)
if
(
card
.
Id
==
CardId
.
RecklessGreed
)
count
++;
count
++;
...
@@ -441,6 +441,11 @@ namespace WindBot.Game.AI.Decks
...
@@ -441,6 +441,11 @@ namespace WindBot.Game.AI.Decks
return
false
;
return
false
;
}
}
private
bool
OjamaTrioset
()
{
if
(
Bot
.
HasInSpellZone
(
CardId
.
OjamaTrio
))
return
false
;
return
true
;
}
private
bool
OjamaTrioeff
()
private
bool
OjamaTrioeff
()
{
{
return
OjamaTrioused
;
return
OjamaTrioused
;
...
@@ -493,9 +498,9 @@ namespace WindBot.Game.AI.Decks
...
@@ -493,9 +498,9 @@ namespace WindBot.Game.AI.Decks
}
}
private
bool
DiceJarfacedown
()
private
bool
DiceJarfacedown
()
{
{
IList
<
ClientCard
>
check
=
Bot
.
MonsterZone
;
foreach
(
ClientCard
card
in
Bot
.
GetMonsters
())
foreach
(
ClientCard
card
in
check
)
{
{
if
(
card
.
Id
==
CardId
.
DiceJar
&&
card
.
IsFacedown
())
if
(
card
.
Id
==
CardId
.
DiceJar
&&
card
.
IsFacedown
())
return
true
;
return
true
;
...
@@ -511,8 +516,11 @@ namespace WindBot.Game.AI.Decks
...
@@ -511,8 +516,11 @@ namespace WindBot.Game.AI.Decks
return
false
;
return
false
;
}
}
private
bool
Linkuriboheff
()
private
bool
Linkuriboheff
()
{
{
return
DefaultDontChainMyself
();
ClientCard
lastchaincard
=
AI
.
Utils
.
GetLastChainCard
();
if
(
lastchaincard
==
null
)
return
true
;
if
(
lastchaincard
.
Id
==
CardId
.
Linkuriboh
)
return
false
;
return
true
;
}
}
/*private bool SwordsOfRevealingLight()
/*private bool SwordsOfRevealingLight()
{
{
...
...
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