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
HiiragiGuardians
windbot
Commits
046c0bec
Commit
046c0bec
authored
Apr 27, 2019
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update Orcust
add GetFogBladeTarget
parent
9e8da7d3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletion
+15
-1
Game/AI/Decks/OrcustExecutor.cs
Game/AI/Decks/OrcustExecutor.cs
+15
-1
No files found.
Game/AI/Decks/OrcustExecutor.cs
View file @
046c0bec
...
...
@@ -640,7 +640,9 @@ namespace WindBot.Game.AI.Decks
{
if
(
ActivateDescription
==
-
1
||
ActivateDescription
==
Util
.
GetStringId
(
CardId
.
ThePhantomKnightsofRustyBardiche
,
0
))
{
ClientCard
target
=
Util
.
GetBestEnemyCard
(
false
,
true
);
ClientCard
target
=
GetFogBladeTarget
();
if
(
target
==
null
)
target
=
Util
.
GetBestEnemyCard
(
false
,
true
);
if
(
target
==
null
)
return
false
;
RustyBardicheTarget
=
target
;
...
...
@@ -658,6 +660,11 @@ namespace WindBot.Game.AI.Decks
}
}
private
ClientCard
GetFogBladeTarget
()
{
return
Enemy
.
MonsterZone
.
GetFirstMatchingCard
(
card
=>
card
.
OwnTargets
.
Any
(
cont
=>
cont
.
IsCode
(
CardId
.
PhantomKnightsFogBlade
)));
}
private
bool
CymbalSkeletonEffect
()
{
int
[]
botTurnTargets
=
new
[]
{
CardId
.
GalateaTheOrcustAutomaton
,
CardId
.
SheorcustDingirsu
};
...
...
@@ -695,6 +702,13 @@ namespace WindBot.Game.AI.Decks
private
bool
SheorcustDingirsuEffect
()
{
ClientCard
target
;
target
=
GetFogBladeTarget
();
if
(
target
!=
null
&&
target
!=
RustyBardicheTarget
)
{
AI
.
SelectOption
(
0
);
AI
.
SelectCard
(
target
);
return
true
;
}
target
=
Util
.
GetProblematicEnemyMonster
();
if
(
target
!=
null
&&
target
!=
RustyBardicheTarget
)
{
...
...
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