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
4
Merge Requests
4
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
81a5cb7f
Commit
81a5cb7f
authored
Feb 09, 2024
by
Chen Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use double quote
parent
d0e9d868
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
utility.lua
utility.lua
+2
-2
No files found.
utility.lua
View file @
81a5cb7f
...
@@ -468,7 +468,7 @@ function Auxiliary.IsMaterialListCode(c,code)
...
@@ -468,7 +468,7 @@ function Auxiliary.IsMaterialListCode(c,code)
end
end
function
Auxiliary
.
IsMaterialListSetCard
(
c
,
setcode
)
function
Auxiliary
.
IsMaterialListSetCard
(
c
,
setcode
)
if
not
c
.
material_setcode
then
return
false
end
if
not
c
.
material_setcode
then
return
false
end
if
type
(
c
.
material_setcode
)
==
'table'
then
if
type
(
c
.
material_setcode
)
==
"table"
then
for
i
,
scode
in
ipairs
(
c
.
material_setcode
)
do
for
i
,
scode
in
ipairs
(
c
.
material_setcode
)
do
if
setcode
&
0xfff
==
scode
&
0xfff
and
setcode
&
scode
==
setcode
then
return
true
end
if
setcode
&
0xfff
==
scode
&
0xfff
and
setcode
&
scode
==
setcode
then
return
true
end
end
end
...
@@ -1528,7 +1528,7 @@ end
...
@@ -1528,7 +1528,7 @@ end
---@param c Card
---@param c Card
---@param condition? function
---@param condition? function
function
Auxiliary
.
AddBanishRedirect
(
c
,
condition
)
function
Auxiliary
.
AddBanishRedirect
(
c
,
condition
)
if
type
(
condition
)
~=
'function'
then
if
type
(
condition
)
~=
"function"
then
condition
=
Auxiliary
.
BanishRedirectCondition
condition
=
Auxiliary
.
BanishRedirectCondition
end
end
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
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