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
REIKAI
ygopro-222DIY-cards
Commits
99626039
Commit
99626039
authored
Nov 26, 2024
by
花桃白音
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix --0004#07
parent
557f5264
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
expansions/script/c4204007.lua
expansions/script/c4204007.lua
+4
-2
No files found.
expansions/script/c4204007.lua
View file @
99626039
...
@@ -15,7 +15,8 @@ function cm.initial_effect(c)
...
@@ -15,7 +15,8 @@ function cm.initial_effect(c)
local
mg
=
Duel
.
GetMatchingGroup
(
cm
.
filter0
,
tp
,
LOCATION_HAND
+
LOCATION_ONFIELD
,
0
,
nil
,
e
)
local
mg
=
Duel
.
GetMatchingGroup
(
cm
.
filter0
,
tp
,
LOCATION_HAND
+
LOCATION_ONFIELD
,
0
,
nil
,
e
)
local
res
=
Duel
.
IsExistingMatchingCard
(
cm
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
mg
,
nil
,
chkf
)
local
res
=
Duel
.
IsExistingMatchingCard
(
cm
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
mg
,
nil
,
chkf
)
if
Duel
.
IsExistingMatchingCard
(
function
(
c
)
return
c
:
IsCode
(
4204000
)
end
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
then
if
Duel
.
IsExistingMatchingCard
(
function
(
c
)
return
c
:
IsCode
(
4204000
)
end
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
then
mg
:
Merge
(
Duel
.
GetMatchingGroup
(
cm
.
filter0
,
tp
,
0
,
LOCATION_MZONE
,
nil
,
e
))
mg
:
Merge
(
Duel
.
GetMatchingGroup
(
cm
.
filter0
,
tp
,
0
,
LOCATION_MZONE
,
nil
,
e
)
:
Filter
(
Card
.
IsFaceup
,
nil
))
end
end
if
not
res
then
if
not
res
then
local
ce
=
Duel
.
GetChainMaterial
(
tp
)
local
ce
=
Duel
.
GetChainMaterial
(
tp
)
...
@@ -42,7 +43,8 @@ function cm.initial_effect(c)
...
@@ -42,7 +43,8 @@ function cm.initial_effect(c)
local
chkf
=
tp
local
chkf
=
tp
local
mg1
=
Duel
.
GetFusionMaterial
(
tp
):
Filter
(
cm
.
filter1
,
nil
,
e
)
local
mg1
=
Duel
.
GetFusionMaterial
(
tp
):
Filter
(
cm
.
filter1
,
nil
,
e
)
if
Duel
.
IsExistingMatchingCard
(
function
(
c
)
return
c
:
IsCode
(
4204000
)
end
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
then
if
Duel
.
IsExistingMatchingCard
(
function
(
c
)
return
c
:
IsCode
(
4204000
)
end
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
then
mg1
:
Merge
(
Duel
.
GetMatchingGroup
(
cm
.
filter0
,
tp
,
0
,
LOCATION_MZONE
,
nil
,
e
))
mg1
:
Merge
(
Duel
.
GetMatchingGroup
(
cm
.
filter0
,
tp
,
0
,
LOCATION_MZONE
,
nil
,
e
)
:
Filter
(
Card
.
IsFaceup
,
nil
))
end
end
local
sg1
=
Duel
.
GetMatchingGroup
(
cm
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
,
mg1
,
nil
,
chkf
)
local
sg1
=
Duel
.
GetMatchingGroup
(
cm
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
,
mg1
,
nil
,
chkf
)
local
mg3
=
nil
local
mg3
=
nil
...
...
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