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
d11241bb
Commit
d11241bb
authored
Oct 09, 2021
by
苍蓝
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
06e2a2ad
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
7 deletions
+22
-7
Game/AI/Decks/DragunExecutor.cs
Game/AI/Decks/DragunExecutor.cs
+5
-1
Game/AI/Decks/MokeyMokeyExecutor.cs
Game/AI/Decks/MokeyMokeyExecutor.cs
+6
-2
Game/AI/Decks/MokeyMokeyKingExecutor.cs
Game/AI/Decks/MokeyMokeyKingExecutor.cs
+6
-2
Game/AI/Decks/TheLegendExecutor.cs
Game/AI/Decks/TheLegendExecutor.cs
+5
-2
No files found.
Game/AI/Decks/DragunExecutor.cs
View file @
d11241bb
...
...
@@ -264,8 +264,12 @@ namespace WindBot.Game.AI.Decks
}
private
bool
凤凰龙
summon
()
{
if
(
Bot
.
HasInGraveyard
(
new
[]
{
CardId
.
连击龙
,
CardId
.
青眼白龙
}))
if
(
Bot
.
HasInGraveyard
(
new
[]
{
CardId
.
连击龙
,
CardId
.
青眼白龙
})
&&
Bot
.
MonsterZone
.
GetMatchingCardsCount
(
card
=>
card
.
Level
>
4
)
<
2
&&
(
Bot
.
MonsterZone
.
GetMatchingCardsCount
(
card
=>
card
.
Level
<
5
)
+
Bot
.
Hand
.
GetMatchingCardsCount
(
card
=>
card
.
Level
<
5
))
<=
2
)
{
return
true
;
}
return
false
;
}
...
...
Game/AI/Decks/MokeyMokeyExecutor.cs
View file @
d11241bb
...
...
@@ -241,7 +241,7 @@ namespace WindBot.Game.AI.Decks
if
((
Bot
.
MonsterZone
.
GetMatchingCardsCount
(
card
=>
card
.
Level
<
5
)
+
Bot
.
Hand
.
GetMatchingCardsCount
(
card
=>
card
.
Level
<
5
))
<=
2
)
{
if
((
Bot
.
MonsterZone
.
GetMatchingCardsCount
(
card
=>
card
.
Level
>
5
)
>
2
)
&&
Bot
.
HasInHand
(
CardId
.
七星道魔术师
))
if
((
Bot
.
Hand
.
GetMatchingCardsCount
(
card
=>
card
.
Level
>
5
)
>
2
)
&&
Bot
.
HasInHand
(
CardId
.
七星道魔术师
))
AI
.
SelectCard
(
CardId
.
七星道魔术师
);
else
return
false
;
...
...
@@ -252,8 +252,12 @@ namespace WindBot.Game.AI.Decks
}
private
bool
凤凰龙
summon
()
{
if
(
Bot
.
HasInGraveyard
(
new
[]
{
CardId
.
连击龙
,
CardId
.
青眼白龙
}))
if
(
Bot
.
HasInGraveyard
(
new
[]
{
CardId
.
连击龙
,
CardId
.
青眼白龙
})
&&
Bot
.
MonsterZone
.
GetMatchingCardsCount
(
card
=>
card
.
Level
>
4
)
<
2
&&
(
Bot
.
MonsterZone
.
GetMatchingCardsCount
(
card
=>
card
.
Level
<
5
)
+
Bot
.
Hand
.
GetMatchingCardsCount
(
card
=>
card
.
Level
<
5
))
<=
2
)
{
return
true
;
}
return
false
;
}
private
bool
圣防
Repos
()
...
...
Game/AI/Decks/MokeyMokeyKingExecutor.cs
View file @
d11241bb
...
...
@@ -245,7 +245,7 @@ namespace WindBot.Game.AI.Decks
if
((
Bot
.
MonsterZone
.
GetMatchingCardsCount
(
card
=>
card
.
Level
<
5
)
+
Bot
.
Hand
.
GetMatchingCardsCount
(
card
=>
card
.
Level
<
5
))
<=
2
)
{
if
((
Bot
.
MonsterZone
.
GetMatchingCardsCount
(
card
=>
card
.
Level
>
5
)
>
2
)
&&
Bot
.
HasInHand
(
CardId
.
七星道魔术师
))
if
((
Bot
.
Hand
.
GetMatchingCardsCount
(
card
=>
card
.
Level
>
5
)
>
2
)
&&
Bot
.
HasInHand
(
CardId
.
七星道魔术师
))
AI
.
SelectCard
(
CardId
.
七星道魔术师
);
else
return
false
;
...
...
@@ -256,8 +256,12 @@ namespace WindBot.Game.AI.Decks
}
private
bool
凤凰龙
summon
()
{
if
(
Bot
.
HasInGraveyard
(
new
[]
{
CardId
.
连击龙
,
CardId
.
青眼白龙
}))
if
(
Bot
.
HasInGraveyard
(
new
[]
{
CardId
.
连击龙
,
CardId
.
青眼白龙
})
&&
Bot
.
MonsterZone
.
GetMatchingCardsCount
(
card
=>
card
.
Level
>
4
)
<
2
&&
(
Bot
.
MonsterZone
.
GetMatchingCardsCount
(
card
=>
card
.
Level
<
5
)
+
Bot
.
Hand
.
GetMatchingCardsCount
(
card
=>
card
.
Level
<
5
))
<=
2
)
{
return
true
;
}
return
false
;
}
private
bool
圣防
Repos
()
...
...
Game/AI/Decks/TheLegendExecutor.cs
View file @
d11241bb
...
...
@@ -264,11 +264,14 @@ namespace WindBot.Game.AI.Decks
}
private
bool
凤凰龙
summon
()
{
if
(
Bot
.
HasInGraveyard
(
new
[]
{
CardId
.
连击龙
,
CardId
.
青眼白龙
}))
if
(
Bot
.
HasInGraveyard
(
new
[]
{
CardId
.
连击龙
,
CardId
.
青眼白龙
})
&&
Bot
.
MonsterZone
.
GetMatchingCardsCount
(
card
=>
card
.
Level
>
4
)
<
2
&&
(
Bot
.
MonsterZone
.
GetMatchingCardsCount
(
card
=>
card
.
Level
<
5
)
+
Bot
.
Hand
.
GetMatchingCardsCount
(
card
=>
card
.
Level
<
5
))
<=
2
)
{
return
true
;
}
return
false
;
}
private
bool
死供
Effect
()
{
if
(
Util
.
IsOneEnemyBetterThanValue
(
1900
,
false
))
...
...
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