Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
W
Windbot-408
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
神之吹息
Windbot-408
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
Hide 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
()
...
@@ -353,7 +355,10 @@ namespace WindBot.Game.AI.Decks
...
@@ -353,7 +355,10 @@ namespace WindBot.Game.AI.Decks
return
true
;
return
true
;
}
}
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
())
{
{
...
@@ -374,7 +379,8 @@ namespace WindBot.Game.AI.Decks
...
@@ -374,7 +379,8 @@ 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