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
nanahira
windbot
Commits
1cf8be29
Commit
1cf8be29
authored
Feb 10, 2026
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'patch-cs6' into develop
parents
303455fc
340fe5c2
Pipeline
#42999
passed with stage
in 1 minute and 6 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
Game/AI/Decks/MalissExecutor.cs
Game/AI/Decks/MalissExecutor.cs
+6
-6
No files found.
Game/AI/Decks/MalissExecutor.cs
View file @
1cf8be29
using
System
;
using
System
;
using
System.Collections.Generic
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Linq
;
using
WindBot
;
using
WindBot
;
...
@@ -3163,8 +3163,8 @@ namespace WindBot.Game.AI.Decks
...
@@ -3163,8 +3163,8 @@ namespace WindBot.Game.AI.Decks
IEnumerable
<
int
>
avoidIds
=
null
,
IEnumerable
<
int
>
avoidIds
=
null
,
bool
requireMaliss
=
false
)
bool
requireMaliss
=
false
)
{
{
int
LinkValOf
(
ClientCard
m
)
=>
m
.
HasType
(
CardType
.
Link
)
?
Math
.
Max
(
1
,
m
.
LinkCount
)
:
1
;
Func
<
ClientCard
,
int
>
LinkValOf
=
m
=>
m
.
HasType
(
CardType
.
Link
)
?
Math
.
Max
(
1
,
m
.
LinkCount
)
:
1
;
bool
IsOneVal
(
ClientCard
m
)
=>
!
m
.
HasType
(
CardType
.
Link
)
||
Math
.
Max
(
1
,
m
.
LinkCount
)
==
1
;
Func
<
ClientCard
,
bool
>
IsOneVal
=
m
=>
!
m
.
HasType
(
CardType
.
Link
)
||
Math
.
Max
(
1
,
m
.
LinkCount
)
==
1
;
var
all
=
Bot
.
GetMonsters
()
var
all
=
Bot
.
GetMonsters
()
.
Where
(
m
=>
m
!=
null
&&
m
.
IsFaceup
()
&&
isEligible
(
m
))
.
Where
(
m
=>
m
!=
null
&&
m
.
IsFaceup
()
&&
isEligible
(
m
))
...
@@ -3292,7 +3292,7 @@ namespace WindBot.Game.AI.Decks
...
@@ -3292,7 +3292,7 @@ namespace WindBot.Game.AI.Decks
.
ToList
();
.
ToList
();
if
(
cand
.
Count
<
3
)
return
false
;
if
(
cand
.
Count
<
3
)
return
false
;
bool
IsMaliss
(
ClientCard
m
)
=>
m
.
HasSetcode
(
0x1bf
);
Func
<
ClientCard
,
bool
>
IsMaliss
=
m
=>
m
.
HasSetcode
(
0x1bf
);
var
avoid
=
new
HashSet
<
int
>
{
CardId
.
CyberseWicckid
,
CardId
.
Apollousa
,
CardId
.
AlliedCodeTalkerIgnister
,
CardId
.
AccesscodeTalker
,
CardId
.
FirewallDragon
,
CardId
.
TranscodeTalker
};
var
avoid
=
new
HashSet
<
int
>
{
CardId
.
CyberseWicckid
,
CardId
.
Apollousa
,
CardId
.
AlliedCodeTalkerIgnister
,
CardId
.
AccesscodeTalker
,
CardId
.
FirewallDragon
,
CardId
.
TranscodeTalker
};
...
@@ -3370,7 +3370,7 @@ namespace WindBot.Game.AI.Decks
...
@@ -3370,7 +3370,7 @@ namespace WindBot.Game.AI.Decks
.
ToList
();
.
ToList
();
if
(
cand
.
Count
==
0
)
return
null
;
if
(
cand
.
Count
==
0
)
return
null
;
int
Score
(
ClientCard
c
)
Func
<
ClientCard
,
int
>
Score
=
c
=>
{
{
if
(
c
.
IsCode
(
CardId
.
MalissInTheMirror
))
return
100
;
if
(
c
.
IsCode
(
CardId
.
MalissInTheMirror
))
return
100
;
if
(
c
.
IsCode
(
CardId
.
MalissC_MTP07
))
return
95
;
if
(
c
.
IsCode
(
CardId
.
MalissC_MTP07
))
return
95
;
...
@@ -3381,7 +3381,7 @@ namespace WindBot.Game.AI.Decks
...
@@ -3381,7 +3381,7 @@ namespace WindBot.Game.AI.Decks
if
(
c
.
IsCode
(
CardId
.
MalissP_WhiteRabbit
))
return
70
;
if
(
c
.
IsCode
(
CardId
.
MalissP_WhiteRabbit
))
return
70
;
if
(
c
.
IsCode
(
CardId
.
MalissP_Dormouse
))
return
65
;
if
(
c
.
IsCode
(
CardId
.
MalissP_Dormouse
))
return
65
;
return
50
;
return
50
;
}
}
;
return
cand
.
OrderByDescending
(
Score
).
First
();
return
cand
.
OrderByDescending
(
Score
).
First
();
}
}
private
bool
HC_OnBanished_SpecialSummon
()
private
bool
HC_OnBanished_SpecialSummon
()
...
...
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