Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
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
Ai
ygopro-222DIY-cards
Commits
007f966d
Commit
007f966d
authored
Apr 01, 2022
by
CubeRuler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
6c8ca17b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
expansions/script/c33300301.lua
expansions/script/c33300301.lua
+4
-4
No files found.
expansions/script/c33300301.lua
View file @
007f966d
...
...
@@ -58,7 +58,7 @@ function cm.LinkOperation(f,minc,maxc,gf)
end
end
function
cm
.
lcheck
(
c
)
return
c
:
IsLinkSetCard
(
0x562
)
or
(
c
:
GetOriginalCode
()
==
33300308
and
not
c
:
IsDisabled
())
return
(
c
:
IsLevelBelow
(
4
)
and
c
:
IsLinkSetCard
(
0x562
)
)
or
(
c
:
GetOriginalCode
()
==
33300308
and
not
c
:
IsDisabled
())
end
function
cm
.
extracheck
(
c
)
return
c
:
IsFaceup
()
and
c
:
GetOriginalCode
()
==
33300308
...
...
@@ -69,20 +69,20 @@ end
function
cm
.
lcon
(
...
)
local
f
=
aux
.
GetLinkMaterials
aux
.
GetLinkMaterials
=
cm
.
GetLinkMaterials
local
res
=
Auxiliary
.
LinkCondition
(
nil
,
2
,
2
,
cm
.
gf
)(
...
)
local
res
=
Auxiliary
.
LinkCondition
(
nil
,
1
,
1
,
cm
.
gf
)(
...
)
aux
.
GetLinkMaterials
=
f
return
res
end
function
cm
.
ltg
(
...
)
local
f
=
aux
.
GetLinkMaterials
aux
.
GetLinkMaterials
=
cm
.
GetLinkMaterials
local
res
=
Auxiliary
.
LinkTarget
(
nil
,
2
,
2
,
cm
.
gf
)(
...
)
local
res
=
Auxiliary
.
LinkTarget
(
nil
,
1
,
1
,
cm
.
gf
)(
...
)
aux
.
GetLinkMaterials
=
f
return
res
end
function
cm
.
GetLinkMaterials
(
tp
,
f
,
lc
,
e
)
local
mg
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
LConditionFilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
f
,
lc
,
e
)
local
mg2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
LExtraFilter
,
tp
,
LOCATION_HAND
+
LOCATION_SZONE
,
LOCATION_ONFIELD
,
nil
,
f
,
lc
,
tp
)
local
mg2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
LExtraFilter
,
tp
,
LOCATION_HAND
+
LOCATION_SZONE
,
LOCATION_ONFIELD
,
nil
,
f
,
lc
,
tp
,
e
)
local
mg3
=
Duel
.
GetMatchingGroup
(
cm
.
extracheck
,
tp
,
LOCATION_SZONE
,
0
,
nil
)
if
mg2
:
GetCount
()
>
0
then
mg
:
Merge
(
mg2
)
end
if
mg3
:
GetCount
()
>
0
then
mg
:
Merge
(
mg3
)
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