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
Tang Xinwei
windbot
Commits
780b6d6c
Commit
780b6d6c
authored
Feb 07, 2023
by
苍蓝
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
1f9ceee2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
52 additions
and
11 deletions
+52
-11
Decks/AI_DinocarriageDynarmix.ydk
Decks/AI_DinocarriageDynarmix.ydk
+1
-1
Game/AI/Decks/DinocarriageDynarmixExecutor.cs
Game/AI/Decks/DinocarriageDynarmixExecutor.cs
+51
-10
No files found.
Decks/AI_DinocarriageDynarmix.ydk
View file @
780b6d6c
...
...
@@ -13,6 +13,7 @@
120130029
120130029
120130029
120231056
120130005
120130005
120151012
...
...
@@ -20,7 +21,6 @@
120151012
120151013
120151013
120151013
120151011
120151009
120151009
...
...
Game/AI/Decks/DinocarriageDynarmixExecutor.cs
View file @
780b6d6c
...
...
@@ -14,6 +14,7 @@ namespace WindBot.Game.AI.Decks
public
class
CardId
{
public
const
int
超级恐龙王
=
120130029
;
public
const
int
凶怒甲龙
=
120231056
;
public
const
int
巨身多角龙
=
120130005
;
public
const
int
荒野盗龙
=
120151012
;
public
const
int
名流雷龙
=
120151013
;
...
...
@@ -40,11 +41,20 @@ namespace WindBot.Game.AI.Decks
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
抑龙
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
成金恐龙王
,
成金恐龙王
Effect
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
机械镰刀盗龙
,
机械镰刀盗龙
Effect
);
AddExecutor
(
ExecutorType
.
Summon
,
CardId
.
大恐龙驾
L
,
MAXLsummon
);
AddExecutor
(
ExecutorType
.
Summon
,
CardId
.
大恐龙驾
R
,
MAXRsummon
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
奇迹的共进化
,
奇迹的共进化
Effect
);
AddExecutor
(
ExecutorType
.
Repos
,
CardId
.
大恐龙驾
L
,
共进化
repos
);
AddExecutor
(
ExecutorType
.
Repos
,
CardId
.
大恐龙驾
R
,
共进化
repos
);
AddExecutor
(
ExecutorType
.
Repos
,
CardId
.
抑龙
,
共进化
repos
);
AddExecutor
(
ExecutorType
.
Repos
,
CardId
.
机械镰刀盗龙
,
共进化
repos
);
AddExecutor
(
ExecutorType
.
Repos
,
CardId
.
成金恐龙王
,
共进化
repos
);
AddExecutor
(
ExecutorType
.
Repos
,
CardId
.
名流雷龙
,
共进化
repos
);
AddExecutor
(
ExecutorType
.
Repos
,
CardId
.
荒野盗龙
,
共进化
repos
);
AddExecutor
(
ExecutorType
.
Summon
,
CardId
.
巨身多角龙
,
DefaultMonsterSummon
);
AddExecutor
(
ExecutorType
.
Summon
,
CardId
.
超级恐龙王
,
DefaultMonsterSummon
);
AddExecutor
(
ExecutorType
.
Summon
,
CardId
.
凶怒甲龙
,
DefaultMonsterSummon
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
超级恐龙王
,
超级恐龙王
Effect
);
AddExecutor
(
ExecutorType
.
Summon
,
CardId
.
机械镰刀盗龙
);
AddExecutor
(
ExecutorType
.
Summon
,
CardId
.
抑龙
,
抑龙
Summon
);
...
...
@@ -60,6 +70,9 @@ namespace WindBot.Game.AI.Decks
AddExecutor
(
ExecutorType
.
MonsterSet
,
CardId
.
成金恐龙王
);
AddExecutor
(
ExecutorType
.
MonsterSet
,
CardId
.
名流雷龙
,
monsterset
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
侏罗纪世界
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
凶怒甲龙
);
AddExecutor
(
ExecutorType
.
Activate
,
_CardId
.
圣防
,
圣防
Effect
);
AddExecutor
(
ExecutorType
.
Activate
,
_CardId
.
魔法筒
,
魔法筒
Effect
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
恐力重压
);
AddExecutor
(
ExecutorType
.
Activate
,
CardId
.
超越进化
,
超越进化
Effect
);
AddExecutor
(
ExecutorType
.
SpellSet
);
...
...
@@ -98,6 +111,7 @@ namespace WindBot.Game.AI.Decks
CardId
.
巨身多角龙
,
CardId
.
成金恐龙王
,
CardId
.
机械镰刀盗龙
,
CardId
.
凶怒甲龙
,
CardId
.
超级恐龙王
,
CardId
.
大恐龙驾
,
CardId
.
大恐龙驾
L
,
...
...
@@ -183,6 +197,7 @@ namespace WindBot.Game.AI.Decks
else
if
(
Bot
.
HasInHand
(
new
[]
{
CardId
.
巨身多角龙
,
CardId
.
超级恐龙王
,
CardId
.
凶怒甲龙
,
}))
return
false
;
return
true
;
...
...
@@ -207,13 +222,21 @@ namespace WindBot.Game.AI.Decks
}
private
bool
奇迹的共进化
Effect
()
{
if
(
Bot
.
HasInHand
(
CardId
.
超级恐龙王
))
{
if
(
Bot
.
HasInMonstersZone
(
CardId
.
大恐龙驾
))
if
(
Bot
.
HasInMonstersZone
(
CardId
.
大恐龙驾
))
return
false
;
if
(
Bot
.
HasInHand
(
CardId
.
超级恐龙王
)
&&
Bot
.
MonsterZone
.
GetMatchingCardsCount
(
card
=>
card
.
Level
<
7
)
>=
1
&&
(
Bot
.
HasInGraveyard
(
CardId
.
巨身多角龙
)
||
Bot
.
HasInGraveyard
(
CardId
.
荒野盗龙
)))
{
return
false
;
AI
.
SelectCard
(
CardId
.
大恐龙驾
L
,
CardId
.
大恐龙驾
R
,
CardId
.
抑龙
,
CardId
.
名流雷龙
,
CardId
.
荒野盗龙
,
CardId
.
巨身多角龙
);
AI
.
SelectNextCard
(
CardId
.
超级恐龙王
);
return
true
;
}
else
if
(
Bot
.
HasInHand
(
CardId
.
凶怒甲龙
)
&&
Bot
.
MonsterZone
.
GetMatchingCardsCount
(
card
=>
card
.
Level
<
5
)
>=
1
)
{
AI
.
SelectCard
(
CardId
.
大恐龙驾
L
,
CardId
.
大恐龙驾
R
,
...
...
@@ -222,8 +245,19 @@ namespace WindBot.Game.AI.Decks
CardId
.
荒野盗龙
,
CardId
.
巨身多角龙
);
AI
.
SelectNextCard
(
CardId
.
超级恐龙王
);
return
true
;
AI
.
SelectNextCard
(
CardId
.
凶怒甲龙
);
return
true
;
}
if
(
Bot
.
HasInHand
(
CardId
.
超级恐龙王
)
&&
Bot
.
MonsterZone
.
GetMatchingCardsCount
(
card
=>
card
.
Level
<
5
)
>=
1
)
{
AI
.
SelectCard
(
CardId
.
大恐龙驾
L
,
CardId
.
大恐龙驾
R
,
CardId
.
抑龙
,
CardId
.
名流雷龙
,
CardId
.
荒野盗龙
,
CardId
.
巨身多角龙
);
AI
.
SelectNextCard
(
CardId
.
超级恐龙王
);
return
true
;
}
return
false
;
}
...
...
@@ -289,7 +323,8 @@ namespace WindBot.Game.AI.Decks
{
AI
.
SelectCard
(
CardId
.
大恐龙驾
,
CardId
.
超级恐龙王
CardId
.
超级恐龙王
,
CardId
.
凶怒甲龙
);
return
true
;
}
...
...
@@ -302,15 +337,21 @@ namespace WindBot.Game.AI.Decks
);
return
true
;
}
private
bool
共进化
repos
()
{
if
(
Bot
.
HasInHandOrInSpellZone
(
CardId
.
奇迹的共进化
)
&&
(
Bot
.
GetCountCardInZone
(
Bot
.
Hand
,
CardId
.
凶怒甲龙
)
+
Bot
.
GetCountCardInZone
(
Bot
.
Hand
,
CardId
.
超级恐龙王
)
>=
1
))
return
true
;
return
false
;
}
private
bool
MAXLsummon
()
{
if
(
Bot
.
GetCountCardInZone
(
Bot
.
Hand
,
CardId
.
大恐龙驾
L
)
>=
2
&&
Bot
.
GetCountCardInZone
(
Bot
.
Hand
,
CardId
.
奇迹的共进化
)
>=
1
&&
Bot
.
GetCountCardInZone
(
Bot
.
Hand
,
CardId
.
超级恐龙王
)
>=
1
)
if
(
Bot
.
GetCountCardInZone
(
Bot
.
Hand
,
CardId
.
大恐龙驾
L
)
>=
2
&&
Bot
.
HasInHandOrInSpellZone
(
CardId
.
奇迹的共进化
)
&&
(
Bot
.
GetCountCardInZone
(
Bot
.
Hand
,
CardId
.
凶怒甲龙
)
+
Bot
.
GetCountCardInZone
(
Bot
.
Hand
,
CardId
.
超级恐龙王
)
>=
1
)
)
return
true
;
return
false
;
}
private
bool
MAXRsummon
()
{
if
(
Bot
.
GetCountCardInZone
(
Bot
.
Hand
,
CardId
.
大恐龙驾
R
)
>=
2
&&
Bot
.
GetCountCardInZone
(
Bot
.
Hand
,
CardId
.
奇迹的共进化
)
>=
1
&&
Bot
.
GetCountCardInZone
(
Bot
.
Hand
,
CardId
.
超级恐龙王
)
>=
1
)
if
(
Bot
.
GetCountCardInZone
(
Bot
.
Hand
,
CardId
.
大恐龙驾
R
)
>=
2
&&
Bot
.
HasInHandOrInSpellZone
(
CardId
.
奇迹的共进化
)
&&
(
Bot
.
GetCountCardInZone
(
Bot
.
Hand
,
CardId
.
凶怒甲龙
)+
Bot
.
GetCountCardInZone
(
Bot
.
Hand
,
CardId
.
超级恐龙王
)
>=
1
)
)
return
true
;
return
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