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
b94542d3
Commit
b94542d3
authored
Nov 06, 2017
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
6b4c0ccb
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
Game/AI/Decks/DragunityExecutor.cs
Game/AI/Decks/DragunityExecutor.cs
+2
-2
Game/AI/Decks/RainbowExecutor.cs
Game/AI/Decks/RainbowExecutor.cs
+2
-2
README.md
README.md
+2
-0
No files found.
Game/AI/Decks/DragunityExecutor.cs
View file @
b94542d3
...
@@ -337,13 +337,13 @@ namespace WindBot.Game.AI.Decks
...
@@ -337,13 +337,13 @@ namespace WindBot.Game.AI.Decks
{
{
//if (AI.Utils.IsOneEnemyBetterThanValue(2500, true))
//if (AI.Utils.IsOneEnemyBetterThanValue(2500, true))
// return true;
// return true;
ClientCard
invincible
=
AI
.
Utils
.
GetProblematicEnemyCard
();
ClientCard
invincible
=
AI
.
Utils
.
GetProblematicEnemyCard
(
3000
);
return
invincible
!=
null
;
return
invincible
!=
null
;
}
}
private
bool
ScrapDragonEffect
()
private
bool
ScrapDragonEffect
()
{
{
ClientCard
invincible
=
AI
.
Utils
.
GetProblematicEnemyCard
();
ClientCard
invincible
=
AI
.
Utils
.
GetProblematicEnemyCard
(
3000
);
if
(
invincible
==
null
&&
!
AI
.
Utils
.
IsOneEnemyBetterThanValue
(
2800
-
1
,
false
))
if
(
invincible
==
null
&&
!
AI
.
Utils
.
IsOneEnemyBetterThanValue
(
2800
-
1
,
false
))
return
false
;
return
false
;
...
...
Game/AI/Decks/RainbowExecutor.cs
View file @
b94542d3
...
@@ -67,7 +67,7 @@ namespace WindBot.Game.AI.Decks
...
@@ -67,7 +67,7 @@ namespace WindBot.Game.AI.Decks
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
PotOfDesires
,
DefaultPotOfDesires
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
PotOfDesires
,
DefaultPotOfDesires
);
AddExecutor
(
ExecutorType
.
Summon
,
CardId
.
AngelTrumpeter
,
AngelTrumpeterSummon
);
AddExecutor
(
ExecutorType
.
Summon
,
CardId
.
AngelTrumpeter
,
AngelTrumpeterSummon
);
AddExecutor
(
ExecutorType
.
Summon
,
CardId
.
MegalosmasherX
,
Kabazauls
Summon
);
AddExecutor
(
ExecutorType
.
Summon
,
CardId
.
MegalosmasherX
,
MegalosmasherX
Summon
);
AddExecutor
(
ExecutorType
.
Summon
,
CardId
.
MasterPendulumTheDracoslayer
,
MasterPendulumTheDracoslayerSummon
);
AddExecutor
(
ExecutorType
.
Summon
,
CardId
.
MasterPendulumTheDracoslayer
,
MasterPendulumTheDracoslayerSummon
);
AddExecutor
(
ExecutorType
.
Summon
,
CardId
.
MysteryShellDragon
,
MysteryShellDragonSummon
);
AddExecutor
(
ExecutorType
.
Summon
,
CardId
.
MysteryShellDragon
,
MysteryShellDragonSummon
);
AddExecutor
(
ExecutorType
.
Summon
,
CardId
.
PhantomGryphon
,
PhantomGryphonSummon
);
AddExecutor
(
ExecutorType
.
Summon
,
CardId
.
PhantomGryphon
,
PhantomGryphonSummon
);
...
@@ -233,7 +233,7 @@ namespace WindBot.Game.AI.Decks
...
@@ -233,7 +233,7 @@ namespace WindBot.Game.AI.Decks
{
{
return
Bot
.
HasInMonstersZone
(
CardId
.
MetalfoesGoldriver
);
return
Bot
.
HasInMonstersZone
(
CardId
.
MetalfoesGoldriver
);
}
}
private
bool
Kabazauls
Summon
()
private
bool
MegalosmasherX
Summon
()
{
{
return
Bot
.
HasInMonstersZone
(
CardId
.
MegalosmasherX
);
return
Bot
.
HasInMonstersZone
(
CardId
.
MegalosmasherX
);
}
}
...
...
README.md
View file @
b94542d3
...
@@ -127,6 +127,8 @@ The parameters are same as commandlines, but low cased.
...
@@ -127,6 +127,8 @@ The parameters are same as commandlines, but low cased.
*
Get equip of card.
*
Get equip of card.
*
Get attack target.
*
Better new master rule support
*
Better new master rule support
*
Update the known card enums
*
Update the known card enums
...
...
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