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
bd6396a6
Commit
bd6396a6
authored
Jan 05, 2020
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:IceYGO/windbot
parents
c72a7ef5
eab7b31c
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
27 additions
and
8 deletions
+27
-8
Game/AI/Decks/Level8Executor.cs
Game/AI/Decks/Level8Executor.cs
+6
-1
Game/AI/Decks/LightswornShaddoldinosourExecutor.cs
Game/AI/Decks/LightswornShaddoldinosourExecutor.cs
+8
-2
Game/AI/Decks/OrcustExecutor.cs
Game/AI/Decks/OrcustExecutor.cs
+6
-1
Game/AI/Decks/SalamangreatExecutor.cs
Game/AI/Decks/SalamangreatExecutor.cs
+1
-0
Game/AI/Decks/ToadallyAwesomeExecutor.cs
Game/AI/Decks/ToadallyAwesomeExecutor.cs
+1
-1
Game/AI/Decks/ZoodiacExecutor.cs
Game/AI/Decks/ZoodiacExecutor.cs
+1
-1
README.md
README.md
+4
-2
No files found.
Game/AI/Decks/Level8Executor.cs
View file @
bd6396a6
...
@@ -184,6 +184,7 @@ namespace WindBot.Game.AI.Decks
...
@@ -184,6 +184,7 @@ namespace WindBot.Game.AI.Decks
private
bool
JetSynchronUsed
=
false
;
private
bool
JetSynchronUsed
=
false
;
private
bool
ScrapWyvernUsed
=
false
;
private
bool
ScrapWyvernUsed
=
false
;
private
bool
MaskedChameleonUsed
=
false
;
private
bool
MaskedChameleonUsed
=
false
;
private
int
ShootingRiserDragonCount
=
0
;
private
int
[]
HandCosts
=
new
[]
private
int
[]
HandCosts
=
new
[]
{
{
...
@@ -217,6 +218,7 @@ namespace WindBot.Game.AI.Decks
...
@@ -217,6 +218,7 @@ namespace WindBot.Game.AI.Decks
JetSynchronUsed
=
false
;
JetSynchronUsed
=
false
;
ScrapWyvernUsed
=
false
;
ScrapWyvernUsed
=
false
;
MaskedChameleonUsed
=
false
;
MaskedChameleonUsed
=
false
;
ShootingRiserDragonCount
=
0
;
}
}
public
override
void
OnChainEnd
()
public
override
void
OnChainEnd
()
...
@@ -843,12 +845,15 @@ namespace WindBot.Game.AI.Decks
...
@@ -843,12 +845,15 @@ namespace WindBot.Game.AI.Decks
}
}
else
else
{
{
if
(
Duel
.
LastChainPlayer
==
0
||
ShootingRiserDragonCount
>=
10
)
return
false
;
ShootingRiserDragonCount
++;
AI
.
SelectCard
(
new
[]
{
AI
.
SelectCard
(
new
[]
{
CardId
.
BlackRoseMoonlightDragon
,
CardId
.
BlackRoseMoonlightDragon
,
CardId
.
ScrapDragon
,
CardId
.
ScrapDragon
,
CardId
.
PSYFramelordOmega
CardId
.
PSYFramelordOmega
});
});
return
Duel
.
LastChainPlayer
!=
0
;
return
true
;
}
}
}
}
...
...
Game/AI/Decks/LightswornShaddoldinosourExecutor.cs
View file @
bd6396a6
...
@@ -106,7 +106,7 @@ namespace WindBot.Game.AI.Decks
...
@@ -106,7 +106,7 @@ namespace WindBot.Game.AI.Decks
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
Lumina
,
Luminaeff
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
Lumina
,
Luminaeff
);
//activate
//activate
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
GlowUpBulb
,
GlowUpBulbeff
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
GlowUpBulb
,
GlowUpBulbeff
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
TG_WonderMagician
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
TG_WonderMagician
,
TG_WonderMagicianeff
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
CoralDragon
,
CoralDragoneff
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
CoralDragon
,
CoralDragoneff
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
RedWyvern
,
RedWyverneff
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
RedWyvern
,
RedWyverneff
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
CrystalWingSynchroDragon
,
CrystalWingSynchroDragoneff
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
CrystalWingSynchroDragon
,
CrystalWingSynchroDragoneff
);
...
@@ -230,6 +230,7 @@ namespace WindBot.Game.AI.Decks
...
@@ -230,6 +230,7 @@ namespace WindBot.Game.AI.Decks
}
}
int
Ultimate_ss
=
0
;
int
Ultimate_ss
=
0
;
int
Enemy_atk
=
0
;
int
Enemy_atk
=
0
;
int
TG_WonderMagician_count
=
0
;
bool
Pillused
=
false
;
bool
Pillused
=
false
;
bool
CrystronNeedlefibereff_used
=
false
;
bool
CrystronNeedlefibereff_used
=
false
;
bool
OvertexCoatlseff_used
=
false
;
bool
OvertexCoatlseff_used
=
false
;
...
@@ -274,6 +275,7 @@ namespace WindBot.Game.AI.Decks
...
@@ -274,6 +275,7 @@ namespace WindBot.Game.AI.Decks
ShaddollSquamata_used
=
false
;
ShaddollSquamata_used
=
false
;
ShaddollDragon_used
=
false
;
ShaddollDragon_used
=
false
;
ShaddollHedgehog_used
=
false
;
ShaddollHedgehog_used
=
false
;
TG_WonderMagician_count
=
0
;
}
}
private
bool
Luminasummon
()
private
bool
Luminasummon
()
...
@@ -572,7 +574,11 @@ namespace WindBot.Game.AI.Decks
...
@@ -572,7 +574,11 @@ namespace WindBot.Game.AI.Decks
return
false
;
return
false
;
}
}
private
bool
TG_WonderMagicianeff
()
{
TG_WonderMagician_count
++;
return
TG_WonderMagician_count
<=
10
;
}
private
bool
AllureofDarkness
()
private
bool
AllureofDarkness
()
{
{
IList
<
ClientCard
>
materials
=
Bot
.
Hand
;
IList
<
ClientCard
>
materials
=
Bot
.
Hand
;
...
...
Game/AI/Decks/OrcustExecutor.cs
View file @
bd6396a6
...
@@ -181,6 +181,7 @@ namespace WindBot.Game.AI.Decks
...
@@ -181,6 +181,7 @@ namespace WindBot.Game.AI.Decks
private
bool
CymbalSkeletonUsed
=
false
;
private
bool
CymbalSkeletonUsed
=
false
;
private
bool
BorrelswordDragonUsed
=
false
;
private
bool
BorrelswordDragonUsed
=
false
;
private
ClientCard
RustyBardicheTarget
=
null
;
private
ClientCard
RustyBardicheTarget
=
null
;
private
int
ShootingRiserDragonCount
=
0
;
private
int
[]
HandCosts
=
new
[]
private
int
[]
HandCosts
=
new
[]
{
{
...
@@ -214,6 +215,7 @@ namespace WindBot.Game.AI.Decks
...
@@ -214,6 +215,7 @@ namespace WindBot.Game.AI.Decks
CymbalSkeletonUsed
=
false
;
CymbalSkeletonUsed
=
false
;
BorrelswordDragonUsed
=
false
;
BorrelswordDragonUsed
=
false
;
RustyBardicheTarget
=
null
;
RustyBardicheTarget
=
null
;
ShootingRiserDragonCount
=
0
;
}
}
public
override
void
OnChainEnd
()
public
override
void
OnChainEnd
()
...
@@ -609,7 +611,10 @@ namespace WindBot.Game.AI.Decks
...
@@ -609,7 +611,10 @@ namespace WindBot.Game.AI.Decks
}
}
else
else
{
{
return
Duel
.
LastChainPlayer
!=
0
;
if
(
Duel
.
LastChainPlayer
==
0
)
return
false
;
ShootingRiserDragonCount
++;
return
ShootingRiserDragonCount
<=
10
;
}
}
}
}
...
...
Game/AI/Decks/SalamangreatExecutor.cs
View file @
bd6396a6
...
@@ -1096,6 +1096,7 @@ namespace WindBot.Game.AI.Decks
...
@@ -1096,6 +1096,7 @@ namespace WindBot.Game.AI.Decks
{
{
if
(
Duel
.
Phase
!=
DuelPhase
.
Main1
)
return
false
;
if
(
Duel
.
Phase
!=
DuelPhase
.
Main1
)
return
false
;
if
(
Duel
.
Turn
==
1
)
return
false
;
if
(
Duel
.
Turn
==
1
)
return
false
;
if
(
wasStallioActivated
)
return
false
;
List
<
ClientCard
>
material_list
=
new
List
<
ClientCard
>();
List
<
ClientCard
>
material_list
=
new
List
<
ClientCard
>();
List
<
ClientCard
>
bot_monster
=
Bot
.
GetMonsters
();
List
<
ClientCard
>
bot_monster
=
Bot
.
GetMonsters
();
...
...
Game/AI/Decks/ToadallyAwesomeExecutor.cs
View file @
bd6396a6
...
@@ -6,7 +6,7 @@ using WindBot.Game.AI;
...
@@ -6,7 +6,7 @@ using WindBot.Game.AI;
namespace
WindBot.Game.AI.Decks
namespace
WindBot.Game.AI.Decks
{
{
[
Deck
(
"Toadally Awesome"
,
"AI_ToadallyAwesome"
,
"OutDated"
)]
[
Deck
(
"Toadally Awesome"
,
"AI_ToadallyAwesome"
)]
public
class
ToadallyAwesomeExecutor
:
DefaultExecutor
public
class
ToadallyAwesomeExecutor
:
DefaultExecutor
{
{
public
class
CardId
public
class
CardId
...
...
Game/AI/Decks/ZoodiacExecutor.cs
View file @
bd6396a6
...
@@ -6,7 +6,7 @@ using WindBot.Game.AI;
...
@@ -6,7 +6,7 @@ using WindBot.Game.AI;
namespace
WindBot.Game.AI.Decks
namespace
WindBot.Game.AI.Decks
{
{
[
Deck
(
"Zoodiac"
,
"AI_Zoodiac"
,
"OutDated"
)]
[
Deck
(
"Zoodiac"
,
"AI_Zoodiac"
)]
class
ZoodiacExecutor
:
DefaultExecutor
class
ZoodiacExecutor
:
DefaultExecutor
{
{
public
class
CardId
public
class
CardId
...
...
README.md
View file @
bd6396a6
...
@@ -78,6 +78,8 @@ WindBot can run as a "server", provide a http interface to create bot.
...
@@ -78,6 +78,8 @@ WindBot can run as a "server", provide a http interface to create bot.
*
DarkMagician
*
DarkMagician
*
Dragun
*
Dragunity
*
Dragunity
*
GrenMajuThunderBoarder
*
GrenMajuThunderBoarder
...
@@ -102,7 +104,7 @@ WindBot can run as a "server", provide a http interface to create bot.
...
@@ -102,7 +104,7 @@ WindBot can run as a "server", provide a http interface to create bot.
*
ST1732
*
ST1732
*
Toadally Awesome
(old lflist, master rule 3 only)
*
Toadally Awesome
*
Trickstar
*
Trickstar
...
@@ -110,7 +112,7 @@ WindBot can run as a "server", provide a http interface to create bot.
...
@@ -110,7 +112,7 @@ WindBot can run as a "server", provide a http interface to create bot.
*
Zexal Weapons
*
Zexal Weapons
*
Zoodiac
(old lflist, master rule 3 only)
*
Zoodiac
### Unfinished decks
### Unfinished decks
...
...
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