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
xiaoye
windbot
Commits
edd7f02f
Commit
edd7f02f
authored
Apr 26, 2019
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Pacifis vs Topologic Bomber Dragon
parent
e3728df6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
Game/AI/Decks/PhantasmExecutor.cs
Game/AI/Decks/PhantasmExecutor.cs
+8
-2
No files found.
Game/AI/Decks/PhantasmExecutor.cs
View file @
edd7f02f
...
@@ -117,11 +117,13 @@ namespace WindBot.Game.AI.Decks
...
@@ -117,11 +117,13 @@ namespace WindBot.Game.AI.Decks
bool
summon_used
=
false
;
bool
summon_used
=
false
;
bool
CardOfDemiseeff_used
=
false
;
bool
CardOfDemiseeff_used
=
false
;
bool
SeaStealthAttackeff_used
=
false
;
bool
SeaStealthAttackeff_used
=
false
;
int
City_count
=
0
;
public
override
void
OnNewTurn
()
public
override
void
OnNewTurn
()
{
{
summon_used
=
false
;
summon_used
=
false
;
CardOfDemiseeff_used
=
false
;
CardOfDemiseeff_used
=
false
;
SeaStealthAttackeff_used
=
false
;
SeaStealthAttackeff_used
=
false
;
City_count
=
0
;
base
.
OnNewTurn
();
base
.
OnNewTurn
();
}
}
private
bool
PreventFeatherDustereff
()
private
bool
PreventFeatherDustereff
()
...
@@ -354,6 +356,9 @@ namespace WindBot.Game.AI.Decks
...
@@ -354,6 +356,9 @@ namespace WindBot.Game.AI.Decks
}
}
else
else
{
{
if
(
City_count
>
10
)
return
false
;
ClientCard
target
=
null
;
ClientCard
target
=
null
;
foreach
(
ClientCard
s
in
Bot
.
GetSpells
())
foreach
(
ClientCard
s
in
Bot
.
GetSpells
())
{
{
...
@@ -375,6 +380,7 @@ namespace WindBot.Game.AI.Decks
...
@@ -375,6 +380,7 @@ namespace WindBot.Game.AI.Decks
break
;
break
;
}
}
}
}
City_count
++;
AI
.
SelectPlace
(
Zones
.
z1
|
Zones
.
z3
);
AI
.
SelectPlace
(
Zones
.
z1
|
Zones
.
z3
);
AI
.
SelectCard
(
CardId
.
PhantasmSprialBattle
);
AI
.
SelectCard
(
CardId
.
PhantasmSprialBattle
);
return
true
;
return
true
;
...
...
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