Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOMobile
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
fallenstardust
YGOMobile
Commits
94e2fe35
Commit
94e2fe35
authored
Dec 12, 2025
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
适配geneSys表之下列出了全部灵摆、连接卡的ID做禁止的做法
不在信用点表中的卡再检查是否是常规禁卡,以便实现对特定ID的禁止()
parent
58b26b91
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
Classes/gframe/deck_con.cpp
Classes/gframe/deck_con.cpp
+2
-7
No files found.
Classes/gframe/deck_con.cpp
View file @
94e2fe35
...
@@ -1886,13 +1886,8 @@ bool DeckBuilder::check_limit(code_pointer pointer) {
...
@@ -1886,13 +1886,8 @@ bool DeckBuilder::check_limit(code_pointer pointer) {
// 查找该卡所需信用点配置
// 查找该卡所需信用点配置
auto
code_credit_it
=
filterList
->
credits
.
find
(
code
);
auto
code_credit_it
=
filterList
->
credits
.
find
(
code
);
if
(
code_credit_it
==
filterList
->
credits
.
end
())
{
if
(
code_credit_it
==
filterList
->
credits
.
end
())
if
(
limit
==
0
)
{
return
limit
!=
0
;
// 不在信用点表中的卡再检查是否是常规禁卡,以便实现对特定ID的禁止(geneSys表之下列出了全部灵摆、连接卡的ID做禁止)
return
false
;
// 若在为常规禁止卡,则不通过,用于实现指定ID被单独禁止(如列出的全部灵摆、连接卡}
}
else
{
return
true
;
// 若无信用要求,默认通过
}
}
auto
code_credit
=
code_credit_it
->
second
;
//过滤一遍卡组中所有卡的信用分,把有信用分的卡归集一起
auto
code_credit
=
code_credit_it
->
second
;
//过滤一遍卡组中所有卡的信用分,把有信用分的卡归集一起
auto
valid
=
true
;
auto
valid
=
true
;
...
...
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