Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
2
Merge Requests
2
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
MyCard
ygopro-scripts-888
Commits
a7a911c9
Commit
a7a911c9
authored
May 15, 2025
by
想象力很好的毛虫
Committed by
GitHub
May 15, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix aux.IsSelfEquip (#2930)
parent
99ce9f78
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
utility.lua
utility.lua
+4
-1
No files found.
utility.lua
View file @
a7a911c9
...
...
@@ -1904,7 +1904,10 @@ end
---@param id integer
---@return boolean
function
Auxiliary
.
IsSelfEquip
(
c
,
id
)
return
c
:
GetEquipGroup
():
IsExists
(
Card
.
GetFlagEffect
,
1
,
nil
,
id
)
return
c
:
GetEquipGroup
():
IsExists
(
Auxiliary
.
SelfEquipFilter
,
1
,
nil
,
id
)
end
function
Auxiliary
.
SelfEquipFilter
(
c
,
id
)
return
c
:
GetFlagEffect
(
id
)
>
0
end
---Orcustrated Babel
---@param c Card
...
...
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