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
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
MyCard
windbot
Commits
00ee687d
Commit
00ee687d
authored
Apr 20, 2023
by
苍蓝
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update 超可爱
parent
553b988e
Pipeline
#21306
passed with stage
in 20 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
Game/AI/Decks/ExcutieExecutor.cs
Game/AI/Decks/ExcutieExecutor.cs
+10
-3
No files found.
Game/AI/Decks/ExcutieExecutor.cs
View file @
00ee687d
...
...
@@ -37,7 +37,7 @@ namespace WindBot.Game.AI.Decks
AddExecutor
(
ExecutorType
.
Activate
,
_CardId
.
傲慢之壶
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
天之选别
);
AddExecutor
(
ExecutorType
.
Activate
,
_CardId
.
圣防
,
圣防
Effect
);
AddExecutor
(
ExecutorType
.
Activate
,
_CardId
.
捕获
,
圣塔
Effect
);
AddExecutor
(
ExecutorType
.
Activate
,
_CardId
.
捕获
,
捕获
Effect
);
AddExecutor
(
ExecutorType
.
Activate
,
_CardId
.
亚龙地狱
,
亚龙地狱
Effect
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
紧急事态
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
幻影咆哮
);
...
...
@@ -105,7 +105,7 @@ namespace WindBot.Game.AI.Decks
atkup
=
false
;
}
private
IList
<
int
>
targets
=
new
[]
{
CardId
.
夜魔女
,
CardId
.
光天女
,
CardId
.
细剑女
,
CardId
.
救火女
,
CardId
.
遥控女
,
CardId
.
主存女
,
CardId
.
花草女
};
CardId
.
夜魔女
,
CardId
.
光天女
,
CardId
.
细剑女
,
CardId
.
救火女
,
CardId
.
浮游女
,
CardId
.
遥控女
,
CardId
.
主存女
,
CardId
.
花草女
};
private
IList
<
int
>
tar
=
new
[]
{
CardId
.
花草女
,
CardId
.
主存女
,
CardId
.
遥控女
,
CardId
.
救火女
,
CardId
.
浮游女
,
CardId
.
光天女
,
CardId
.
细剑女
};
...
...
@@ -173,7 +173,7 @@ namespace WindBot.Game.AI.Decks
}
private
bool
救火女
Effect2
()
{
if
(!
atkup
)
if
(!
atkup
&&
Enemy
.
HasAttackingMonster
()
)
{
int
topattack
=
(
Bot
.
MonsterZone
.
GetMatchingCardsCount
(
card
=>
card
.
Level
==
6
)
+
Enemy
.
MonsterZone
.
GetMatchingCardsCount
(
card
=>
card
.
Level
==
6
))
*
600
+
1700
;
if
(
Util
.
GetTotalAttackingMonsterAttack
(
0
)
<
topattack
||
...
...
@@ -237,6 +237,13 @@ namespace WindBot.Game.AI.Decks
AI
.
SelectCard
(
targets
);
return
true
;
}
private
bool
捕获
Effect
()
{
foreach
(
ClientCard
mon
in
Duel
.
LastSummonedCards
)
if
(
mon
.
Level
>=
6
&&
mon
.
Level
>=
Enemy
.
MonsterZone
.
GetHighestLevelMonster
().
Level
&&
mon
.
Attack
>
1700
&&
Bot
.
HasInMonstersZone
(
targets
))
AI
.
SelectCard
(
mon
);
return
true
;
}
private
bool
紧急出动
Effect2
()
{
if
(
Bot
.
HasInHand
(
targets
))
...
...
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