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
6e96e522
Commit
6e96e522
authored
Apr 27, 2019
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update Orcust
parent
39290293
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
3 deletions
+21
-3
Game/AI/Decks/OrcustExecutor.cs
Game/AI/Decks/OrcustExecutor.cs
+21
-3
No files found.
Game/AI/Decks/OrcustExecutor.cs
View file @
6e96e522
...
...
@@ -208,6 +208,11 @@ namespace WindBot.Game.AI.Decks
LightStageTarget
=
null
;
}
public
override
void
OnChainEnd
()
{
RustyBardicheTarget
=
null
;
}
public
override
CardPosition
OnSelectPosition
(
int
cardId
,
IList
<
CardPosition
>
positions
)
{
YGOSharp
.
OCGWrapper
.
NamedCard
cardData
=
YGOSharp
.
OCGWrapper
.
NamedCard
.
Get
(
cardId
);
...
...
@@ -449,7 +454,7 @@ namespace WindBot.Game.AI.Decks
private
bool
DestrudoSummon
()
{
return
Bot
.
GetMonsterCount
()
>
0
&&
Bot
.
HasInExtra
(
new
[]
{
CardId
.
CrystronNeedlefiber
,
CardId
.
KnightmarePhoenix
});
return
Bot
.
GetMonsterCount
()
<
3
&&
Bot
.
HasInExtra
(
new
[]
{
CardId
.
CrystronNeedlefiber
,
CardId
.
KnightmarePhoenix
});
}
private
bool
NeedlefiberSummonFirst
()
...
...
@@ -589,7 +594,7 @@ namespace WindBot.Game.AI.Decks
{
if
(!
Bot
.
HasInGraveyard
(
CardId
.
OrcustHarpHorror
))
{
AI
.
SelectCard
(
CardId
.
GalateaTheOrcustAutomaton
);
AI
.
SelectCard
(
Util
.
GetBestBotMonster
()
);
AI
.
SelectNextCard
(
CardId
.
OrcustHarpHorror
);
return
true
;
}
...
...
@@ -728,10 +733,23 @@ namespace WindBot.Game.AI.Decks
AI
.
SelectCard
(
target
);
return
true
;
}
if
(
Bot
.
HasInBanished
(
CardId
.
OrcustCymbalSkeleton
))
{
AI
.
SelectOption
(
1
);
AI
.
SelectCard
(
CardId
.
OrcustCymbalSkeleton
);
return
true
;
}
target
=
Enemy
.
MonsterZone
.
GetFirstMatchingCard
(
card
=>
card
!=
RustyBardicheTarget
)
??
Enemy
.
SpellZone
.
GetFirstMatchingCard
(
card
=>
card
!=
RustyBardicheTarget
);
if
(
target
!=
null
)
{
AI
.
SelectOption
(
0
);
AI
.
SelectCard
(
target
);
return
true
;
}
AI
.
SelectOption
(
1
);
//AI.SelectCard(); any card
return
true
;
}
private
bool
AncientCloakEffect
()
{
...
...
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