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
5
Merge Requests
5
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
0277753f
Commit
0277753f
authored
Oct 30, 2023
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update add fusion proc
extra parameter: function, number, table of function/number
parent
292e5836
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
procedure.lua
procedure.lua
+6
-6
No files found.
procedure.lua
View file @
0277753f
...
...
@@ -823,16 +823,16 @@ function Auxiliary.AddFusionProcMix(fcard,sub,insf,...)
for
_
,
fcode
in
ipairs
(
val
[
i
])
do
if
type
(
fcode
)
==
'function'
then
if
fcode
(
c
,
fc
,
subm
,
mg
,
sg
)
and
not
c
:
IsHasEffect
(
6205579
)
then
return
true
end
else
else
if
type
(
fcode
)
==
'number'
then
if
c
:
IsFusionCode
(
fcode
)
or
(
subm
and
c
:
CheckFusionSubstitute
(
fc
))
then
return
true
end
end
end
return
false
end
for
_
,
fcode
in
ipairs
(
val
[
i
])
do
if
type
(
fcode
)
~=
'function
'
then
mat
[
fcode
]
=
true
end
if
type
(
fcode
)
==
'number
'
then
mat
[
fcode
]
=
true
end
end
else
else
if
type
(
val
[
i
])
==
'number'
then
fun
[
i
]
=
function
(
c
,
fc
,
subm
)
return
c
:
IsFusionCode
(
val
[
i
])
or
(
subm
and
c
:
CheckFusionSubstitute
(
fc
))
end
mat
[
val
[
i
]]
=
true
end
...
...
@@ -940,16 +940,16 @@ function Auxiliary.AddFusionProcMixRep(fcard,sub,insf,fun1,minc,maxc,...)
for
_
,
fcode
in
ipairs
(
val
[
i
])
do
if
type
(
fcode
)
==
'function'
then
if
fcode
(
c
,
fc
,
subm
)
and
not
c
:
IsHasEffect
(
6205579
)
then
return
true
end
else
else
if
type
(
fcode
)
==
'number'
then
if
c
:
IsFusionCode
(
fcode
)
or
(
subm
and
c
:
CheckFusionSubstitute
(
fc
))
then
return
true
end
end
end
return
false
end
for
_
,
fcode
in
ipairs
(
val
[
i
])
do
if
type
(
fcode
)
~=
'function
'
then
mat
[
fcode
]
=
true
end
if
type
(
fcode
)
==
'number
'
then
mat
[
fcode
]
=
true
end
end
else
else
if
type
(
val
[
i
])
==
'number'
then
fun
[
i
]
=
function
(
c
,
fc
,
subm
)
return
c
:
IsFusionCode
(
val
[
i
])
or
(
subm
and
c
:
CheckFusionSubstitute
(
fc
))
end
mat
[
val
[
i
]]
=
true
end
...
...
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