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
2bafa076
Commit
2bafa076
authored
Oct 23, 2018
by
wind2009
Committed by
mercury233
Oct 23, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Altergeist For new forbidden list (#103)
parent
7ecec005
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
Decks/AI_Altergeist.ydk
Decks/AI_Altergeist.ydk
+0
-1
Game/AI/Decks/AltergeistExecutor.cs
Game/AI/Decks/AltergeistExecutor.cs
+5
-5
No files found.
Decks/AI_Altergeist.ydk
View file @
2bafa076
...
...
@@ -6,7 +6,6 @@
53143898
42790071
42790071
42790071
14558127
14558127
59438930
...
...
Game/AI/Decks/AltergeistExecutor.cs
View file @
2bafa076
...
...
@@ -194,7 +194,7 @@ namespace WindBot.Game.AI.Decks
public
bool
has_altergeist_left
()
{
return
(
Bot
.
GetRemainingCount
(
CardId
.
Marionetter
,
3
)
>
0
||
Bot
.
GetRemainingCount
(
CardId
.
Multifaker
,
3
)
>
0
||
Bot
.
GetRemainingCount
(
CardId
.
Multifaker
,
2
)
>
0
||
Bot
.
GetRemainingCount
(
CardId
.
Meluseek
,
3
)
>
0
||
Bot
.
GetRemainingCount
(
CardId
.
Silquitous
,
2
)
>
0
||
Bot
.
GetRemainingCount
(
CardId
.
Kunquery
,
1
)
>
0
);
...
...
@@ -1265,7 +1265,7 @@ namespace WindBot.Game.AI.Decks
AI
.
SelectCard
(
CardId
.
Marionetter
);
return
true
;
}
if
(!
Bot
.
HasInHandOrHasInMonstersZone
(
CardId
.
Multifaker
)
&&
Bot
.
GetRemainingCount
(
CardId
.
Multifaker
,
3
)
>
0
&&
Multifaker_can_ss
())
if
(!
Bot
.
HasInHandOrHasInMonstersZone
(
CardId
.
Multifaker
)
&&
Bot
.
GetRemainingCount
(
CardId
.
Multifaker
,
2
)
>
0
&&
Multifaker_can_ss
())
{
AI
.
SelectCard
(
CardId
.
Multifaker
);
return
true
;
...
...
@@ -1332,7 +1332,7 @@ namespace WindBot.Game.AI.Decks
{
if
(
Duel
.
Player
==
1
)
{
if
(!
Bot
.
HasInHandOrHasInMonstersZone
(
CardId
.
Multifaker
)
&&
Bot
.
GetRemainingCount
(
CardId
.
Multifaker
,
3
)
>
0
&&
Multifaker_candeckss
()
&&
Multifaker_can_ss
())
if
(!
Bot
.
HasInHandOrHasInMonstersZone
(
CardId
.
Multifaker
)
&&
Bot
.
GetRemainingCount
(
CardId
.
Multifaker
,
2
)
>
0
&&
Multifaker_candeckss
()
&&
Multifaker_can_ss
())
{
foreach
(
ClientCard
set_card
in
Bot
.
GetSpells
())
{
...
...
@@ -1356,7 +1356,7 @@ namespace WindBot.Game.AI.Decks
AI
.
SelectCard
(
CardId
.
Marionetter
);
return
true
;
}
if
(!
Bot
.
HasInHandOrHasInMonstersZone
(
CardId
.
Multifaker
)
&&
Bot
.
GetRemainingCount
(
CardId
.
Multifaker
,
3
)
>
0
&&
Multifaker_can_ss
())
if
(!
Bot
.
HasInHandOrHasInMonstersZone
(
CardId
.
Multifaker
)
&&
Bot
.
GetRemainingCount
(
CardId
.
Multifaker
,
2
)
>
0
&&
Multifaker_can_ss
())
{
AI
.
SelectCard
(
CardId
.
Multifaker
);
return
true
;
...
...
@@ -2362,7 +2362,7 @@ namespace WindBot.Game.AI.Decks
if
(
GetTotalATK
(
targets
)
>=
1500
&&
(
summoned
||
(!
Meluseek_selected
&&
!
Hexstia_selected
)))
return
false
;
}
bool
can_have_Multifaker
=
(
Bot
.
HasInHand
(
CardId
.
Multifaker
)
||
(
Bot
.
GetRemainingCount
(
CardId
.
Multifaker
,
3
)
>
0
||
(
Bot
.
GetRemainingCount
(
CardId
.
Multifaker
,
2
)
>
0
&&
(
(
Meluseek_selected
&&
!
Meluseek_searched
)
||
(
Hexstia_selected
&&
!
Hexstia_searched
)
)));
if
(
can_have_Multifaker
&&
Multifaker_can_ss
())
altergeist_count
++;
...
...
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