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
0df55dad
Commit
0df55dad
authored
Oct 23, 2016
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
414a914d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
Game/AI/AIFunctions.cs
Game/AI/AIFunctions.cs
+1
-1
Game/AI/Decks/ToadallyAwesomeExecutor.cs
Game/AI/Decks/ToadallyAwesomeExecutor.cs
+4
-4
No files found.
Game/AI/AIFunctions.cs
View file @
0df55dad
...
@@ -128,7 +128,7 @@ namespace WindBot.Game.AI
...
@@ -128,7 +128,7 @@ namespace WindBot.Game.AI
return
card
;
return
card
;
if
(
attack
==
0
)
if
(
attack
==
0
)
attack
=
GetBestAttack
(
Duel
.
Fields
[
0
],
true
);
attack
=
GetBestAttack
(
Duel
.
Fields
[
0
],
true
);
return
GetOneEnnemyBetterThanValue
(
attack
,
fals
e
);
return
GetOneEnnemyBetterThanValue
(
attack
,
tru
e
);
}
}
...
...
Game/AI/Decks/ToadallyAwesomeExecutor.cs
View file @
0df55dad
...
@@ -122,7 +122,7 @@ namespace WindBot.Game.AI.Decks
...
@@ -122,7 +122,7 @@ namespace WindBot.Game.AI.Decks
if
(
attacker
.
Id
==
(
int
)
CardId
.
神骑矢车菊圣人马
&&
!
attacker
.
IsDisabled
()
&&
attacker
.
HasXyzMaterial
())
if
(
attacker
.
Id
==
(
int
)
CardId
.
神骑矢车菊圣人马
&&
!
attacker
.
IsDisabled
()
&&
attacker
.
HasXyzMaterial
())
attacker
.
RealPower
=
Duel
.
LifePoints
[
0
]
+
attacker
.
Attack
;
attacker
.
RealPower
=
Duel
.
LifePoints
[
0
]
+
attacker
.
Attack
;
}
}
return
attacker
.
RealPower
>
defender
.
GetDefensePower
();
return
attacker
.
RealPower
>
=
defender
.
GetDefensePower
();
}
}
private
bool
冰结界的纹章效果
()
private
bool
冰结界的纹章效果
()
...
@@ -441,7 +441,7 @@ namespace WindBot.Game.AI.Decks
...
@@ -441,7 +441,7 @@ namespace WindBot.Game.AI.Decks
List
<
ClientCard
>
monsters
=
Duel
.
Fields
[
0
].
GetMonsters
();
List
<
ClientCard
>
monsters
=
Duel
.
Fields
[
0
].
GetMonsters
();
foreach
(
ClientCard
monster
in
monsters
)
foreach
(
ClientCard
monster
in
monsters
)
{
{
if
(
monster
.
Id
==
(
int
)
CardId
.
饼蛙
)
if
(
monster
.
Id
==
(
int
)
CardId
.
饼蛙
&&
monster
.
Attack
<=
2200
)
{
{
选择取除超量素材
(
Card
.
Overlays
);
选择取除超量素材
(
Card
.
Overlays
);
AI
.
SelectNextCard
(
monster
);
AI
.
SelectNextCard
(
monster
);
...
@@ -450,7 +450,7 @@ namespace WindBot.Game.AI.Decks
...
@@ -450,7 +450,7 @@ namespace WindBot.Game.AI.Decks
}
}
foreach
(
ClientCard
monster
in
monsters
)
foreach
(
ClientCard
monster
in
monsters
)
{
{
if
(
monster
.
Id
==
(
int
)
CardId
.
神骑矢车菊圣人马
)
if
(
monster
.
Id
==
(
int
)
CardId
.
神骑矢车菊圣人马
&&
monster
.
Attack
<=
2000
)
{
{
选择取除超量素材
(
Card
.
Overlays
);
选择取除超量素材
(
Card
.
Overlays
);
AI
.
SelectNextCard
(
monster
);
AI
.
SelectNextCard
(
monster
);
...
@@ -459,7 +459,7 @@ namespace WindBot.Game.AI.Decks
...
@@ -459,7 +459,7 @@ namespace WindBot.Game.AI.Decks
}
}
foreach
(
ClientCard
monster
in
monsters
)
foreach
(
ClientCard
monster
in
monsters
)
{
{
if
(
monster
.
Id
==
(
int
)
CardId
.
大薰风凤凰
)
if
(
monster
.
Id
==
(
int
)
CardId
.
大薰风凤凰
&&
monster
.
Attack
<=
1500
)
{
{
选择取除超量素材
(
Card
.
Overlays
);
选择取除超量素材
(
Card
.
Overlays
);
AI
.
SelectNextCard
(
monster
);
AI
.
SelectNextCard
(
monster
);
...
...
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