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
340fe5c2
Commit
340fe5c2
authored
Feb 10, 2026
by
nanahira
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
downgrade syntax MalissExecutor to work on mono 6.8
parent
05789131
Changes
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 @
340fe5c2
using
System
;
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
WindBot
;
...
...
@@ -3163,8 +3163,8 @@ namespace WindBot.Game.AI.Decks
IEnumerable
<
int
>
avoidIds
=
null
,
bool
requireMaliss
=
false
)
{
int
LinkValOf
(
ClientCard
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
,
int
>
LinkValOf
=
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
()
.
Where
(
m
=>
m
!=
null
&&
m
.
IsFaceup
()
&&
isEligible
(
m
))
...
...
@@ -3292,7 +3292,7 @@ namespace WindBot.Game.AI.Decks
.
ToList
();
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
};
...
...
@@ -3370,7 +3370,7 @@ namespace WindBot.Game.AI.Decks
.
ToList
();
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
.
MalissC_MTP07
))
return
95
;
...
...
@@ -3381,7 +3381,7 @@ namespace WindBot.Game.AI.Decks
if
(
c
.
IsCode
(
CardId
.
MalissP_WhiteRabbit
))
return
70
;
if
(
c
.
IsCode
(
CardId
.
MalissP_Dormouse
))
return
65
;
return
50
;
}
}
;
return
cand
.
OrderByDescending
(
Score
).
First
();
}
private
bool
HC_OnBanished_SpecialSummon
()
...
...
nanahira
@nanahira
mentioned in commit
88edcdac
·
Feb 10, 2026
mentioned in commit
88edcdac
mentioned in commit 88edcdac1dd7289c19dbad2a72509feecabca5b3
Toggle commit list
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