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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
5e86d0f7
Commit
5e86d0f7
authored
Aug 24, 2025
by
Huangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
b981e3e1
Pipeline
#40348
failed with stages
in 4 minutes and 46 seconds
Changes
11
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
24 additions
and
126 deletions
+24
-126
expansions/script/c11600137.lua
expansions/script/c11600137.lua
+1
-1
expansions/script/c11600140.lua
expansions/script/c11600140.lua
+1
-1
expansions/script/c11600141.lua
expansions/script/c11600141.lua
+1
-1
expansions/script/c11600142.lua
expansions/script/c11600142.lua
+2
-2
expansions/script/c18700290.lua
expansions/script/c18700290.lua
+1
-1
expansions/script/c47380108.lua
expansions/script/c47380108.lua
+1
-1
expansions/script/c5012614.lua
expansions/script/c5012614.lua
+3
-38
expansions/script/c5012628.lua
expansions/script/c5012628.lua
+1
-1
expansions/script/c5012629.lua
expansions/script/c5012629.lua
+4
-37
expansions/script/c5012637.lua
expansions/script/c5012637.lua
+7
-40
expansions/script/c97570262.lua
expansions/script/c97570262.lua
+2
-3
No files found.
expansions/script/c11600137.lua
View file @
5e86d0f7
...
...
@@ -58,7 +58,7 @@ function cm.op2(e,tp,eg,ep,ev,re,r,rp)
if
#
g
>
0
then
local
mg
=
Duel
.
GetMatchingGroup
(
cm
.
e
,
tp
,
LOCATION_DECK
,
0
,
nil
)
if
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
+
REASON_DISCARD
)
>
0
and
#
mg
>
0
and
mg
:
GetClassCount
(
Card
.
GetCode
)
>
2
then
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_
M
ZONE
)
<
2
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_
S
ZONE
)
<
2
then
return
end
Duel
.
BreakEffect
()
Duel
.
Hint
(
3
,
tp
,
HINTMSG_SET
)
local
sg
=
mg
:
SelectSubGroup
(
tp
,
aux
.
dncheck
,
false
,
3
,
3
)
...
...
expansions/script/c11600140.lua
View file @
5e86d0f7
...
...
@@ -60,7 +60,7 @@ function cm.con2(e)
return
e
:
GetHandler
():
GetFlagEffect
(
m
)
>
0
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
IsCostChecked
()
if
chk
==
0
then
return
e
:
IsCostChecked
()
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanDraw
(
1
-
tp
,
1
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
m
,
0
,
TYPES_NORMAL_TRAP_MONSTER
,
1900
,
2000
,
4
,
RACE_MACHINE
,
ATTRIBUTE_LIGHT
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
1
-
tp
,
1
)
...
...
expansions/script/c11600141.lua
View file @
5e86d0f7
...
...
@@ -43,7 +43,7 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
end
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
IsCostChecked
()
if
chk
==
0
then
return
e
:
IsCostChecked
()
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToDeck
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
,
tp
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
adcheck
,
tp
,
LOCATION_DECK
,
0
,
2
,
nil
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
m
,
0
,
TYPES_NORMAL_TRAP_MONSTER
,
2100
,
2100
,
4
,
RACE_MACHINE
,
ATTRIBUTE_LIGHT
)
end
...
...
expansions/script/c11600142.lua
View file @
5e86d0f7
...
...
@@ -41,7 +41,7 @@ function cm.dcheck(c)
return
c
:
GetControler
()
~=
c
:
GetOwner
()
and
c
:
IsDiscardable
(
REASON_EFFECT
)
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
IsCostChecked
()
if
chk
==
0
then
return
e
:
IsCostChecked
()
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
cm
.
dcheck
,
tp
,
0
,
LOCATION_HAND
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToHand
,
tp
,
LOCATION_DECK
,
0
,
2
,
nil
,
1
-
tp
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
m
,
0x3540
|
0x3541
,
TYPES_NORMAL_TRAP_MONSTER
,
2600
,
1000
,
4
,
RACE_MACHINE
,
ATTRIBUTE_LIGHT
)
end
...
...
@@ -59,7 +59,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
+
REASON_DISCARD
)
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
xg
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToHand
,
tp
,
LOCATION_DECK
,
0
,
2
,
2
,
nil
,
1
-
tp
)
Duel
.
Sendto
Deck
(
xg
,
1
-
tp
,
2
,
REASON_EFFECT
)
Duel
.
Sendto
Hand
(
xg
,
1
-
tp
,
REASON_EFFECT
)
end
end
end
...
...
expansions/script/c18700290.lua
View file @
5e86d0f7
...
...
@@ -46,7 +46,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e4
)
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetType
(
EFFECT_TYPE_FIELD
)
e
2
:
SetCode
(
EFFECT_INDESTRUCTABLE_BATTLE
)
e
5
:
SetCode
(
EFFECT_INDESTRUCTABLE_BATTLE
)
e5
:
SetRange
(
LOCATION_MZONE
)
e5
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e5
:
SetCondition
(
cm
.
con
)
...
...
expansions/script/c47380108.lua
View file @
5e86d0f7
...
...
@@ -38,7 +38,7 @@ function s.actop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
rg
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
rmfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
atkfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
e
)
if
#
rg
>
0
and
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_COST
)
>
0
and
g
:
GetCount
()
>
0
then
if
#
rg
>
0
and
Duel
.
Remove
(
r
g
,
POS_FACEUP
,
REASON_COST
)
>
0
and
g
:
GetCount
()
>
0
then
for
tc
in
aux
.
Next
(
g
)
do
if
not
tc
:
IsImmuneToEffect
(
e
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c5012614.lua
View file @
5e86d0f7
...
...
@@ -6,16 +6,9 @@ function s.initial_effect(c)
--fusion
c
:
EnableReviveLimit
()
aux
.
AddFusionProcCodeFun
(
c
,
5012604
,
s
.
sfliter
,
2
,
true
,
true
)
aux
.
AddContactFusionProcedure
(
c
,
Card
.
IsAbleToRemoveAsCost
,
LOCATION_ONFIELD
,
0
,
Duel
.
Remove
,
POS_FACEUP
,
REASON_COST
)
--2025.8.23 雪
--special summon rule
local
e10
=
Effect
.
CreateEffect
(
c
)
e10
:
SetType
(
EFFECT_TYPE_FIELD
)
e10
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e10
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e10
:
SetRange
(
LOCATION_EXTRA
)
e10
:
SetCondition
(
s
.
hspcon
)
e10
:
SetTarget
(
s
.
hsptg
)
e10
:
SetOperation
(
s
.
hspop
)
c
:
RegisterEffect
(
e10
)
--damage
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_DAMAGE
)
...
...
@@ -46,35 +39,7 @@ end
function
s
.
sfliter
(
c
)
return
c
.
MoJin
==
true
end
function
s
.
cfilter
(
c
,
mc
)
return
((
c
.
MoJin
==
true
and
c
:
IsLocation
(
LOCATION_MZONE
))
or
c
:
IsFusionCode
(
5012604
))
and
c
:
IsAbleToRemoveAsCost
()
and
c
:
IsCanBeFusionMaterial
(
mc
)
and
c
:
IsFusionType
(
TYPE_MONSTER
)
end
function
s
.
fselect
(
g
,
tp
,
mc
)
return
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
g
,
mc
)
>
0
and
g
:
IsExists
(
Card
.
IsFusionCode
,
1
,
nil
,
5012604
)
and
g
:
IsExists
(
Card
.
IsFusionSetCard
,
2
,
nil
,
MoJin
==
true
)
end
function
s
.
hspcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
g
=
Duel
.
GetMatchingGroup
(
c
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
nil
,
c
)
return
g
:
CheckSubGroup
(
s
.
fselect
,
3
,
3
,
tp
,
c
)
end
function
s
.
hsptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
nil
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
s
.
fselect
,
false
,
3
,
3
,
tp
,
c
)
sg
:
KeepAlive
()
e
:
SetLabelObject
(
sg
)
return
true
end
function
s
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
e
:
GetLabelObject
()
c
:
SetMaterial
(
g
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_COST
+
REASON_MATERIAL
)
g
:
DeleteGroup
()
end
function
s
.
damcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsReleasable
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
...
...
expansions/script/c5012628.lua
View file @
5e86d0f7
...
...
@@ -25,7 +25,7 @@ function s.initial_effect(c)
aux
.
AddContactFusionProcedure
(
c
,
s
.
cfilter
,
LOCATION_ONFIELD
,
0
,
aux
.
tdcfop
(
c
)):
SetValue
(
SUMMON_VALUE_SELF
)
--①:破坏效果
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetCategory
(
CATEGORY_DESTROY
)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
...
...
expansions/script/c5012629.lua
View file @
5e86d0f7
...
...
@@ -7,18 +7,11 @@ function s.initial_effect(c)
aux
.
EnablePendulumAttribute
(
c
,
false
)
--fusion material
c
:
EnableReviveLimit
()
c
:
SetSPSummonOnce
(
id
)
--2025.8.23 雪
aux
.
AddFusionProcFun2
(
c
,
s
.
sfliter
,
s
.
sfliter
,
true
)
aux
.
AddContactFusionProcedure
(
c
,
Card
.
IsAbleToDeckOrExtraAsCost
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
aux
.
ContactFusionSendToDeck
(
c
))
--2025.8.23 雪
--special summon rule
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetRange
(
LOCATION_EXTRA
)
e1
:
SetCountLimit
(
1
,
id
)
e1
:
SetCondition
(
s
.
hspcon
)
e1
:
SetTarget
(
s
.
hsptg
)
e1
:
SetOperation
(
s
.
hspop
)
c
:
RegisterEffect
(
e1
)
--negate
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
1101
)
...
...
@@ -36,33 +29,7 @@ end
function
s
.
sfliter
(
c
)
return
c
.
MoJin
end
function
s
.
cfilter
(
c
,
mc
)
return
c
:
IsAbleToDeckOrExtraAsCost
()
and
c
:
IsCanBeFusionMaterial
(
mc
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
(
c
:
IsFaceup
()
or
not
c
:
IsLocation
(
LOCATION_REMOVED
))
and
c
.
MoJin
end
function
s
.
fselect
(
g
,
tp
,
mc
)
return
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
g
,
mc
)
>
0
and
g
:
IsExists
(
Card
.
IsSetCard
,
2
,
nil
,
MoJin
==
true
)
end
function
s
.
hspcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
g
=
Duel
.
GetMatchingGroup
(
s
.
cfilter
,
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
nil
,
c
)
return
g
:
CheckSubGroup
(
s
.
fselect
,
2
,
2
,
tp
,
c
)
end
function
s
.
hsptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
cfilter
,
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
nil
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
s
.
fselect
,
false
,
2
,
2
,
tp
,
c
)
sg
:
KeepAlive
()
e
:
SetLabelObject
(
sg
)
return
true
end
function
s
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
e
:
GetLabelObject
()
c
:
SetMaterial
(
g
)
Duel
.
SendtoDeck
(
g
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_COST
+
REASON_MATERIAL
)
g
:
DeleteGroup
()
end
function
s
.
afilter
(
c
)
if
not
c
:
IsFaceup
()
then
return
end
local
atk
=
c
:
GetAttack
()
...
...
expansions/script/c5012637.lua
View file @
5e86d0f7
...
...
@@ -3,22 +3,13 @@ local s,id,o=GetID()
s
.
MoJin
=
true
function
s
.
initial_effect
(
c
)
c
:
SetUniqueOnField
(
1
,
1
,
id
)
--c:SetSPSummonOnce(id)
c
:
SetSPSummonOnce
(
id
)
--2025.8.23 雪
aux
.
AddCodeList
(
c
,
5012604
)
--fusion material
c
:
EnableReviveLimit
()
aux
.
AddFusionProcCodeFun
(
c
,
5012604
,
s
.
sfliter
,
1
,
true
,
true
)
aux
.
AddContactFusionProcedure
(
c
,
s
.
cfilter
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
0
,
Duel
.
Remove
,
POS_FACEUP
,
REASON_COST
)
--2025.8.23 雪
--special summon rule
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetRange
(
LOCATION_EXTRA
)
e1
:
SetCountLimit
(
1
,
id
)
e1
:
SetCondition
(
s
.
hspcon
)
e1
:
SetTarget
(
s
.
hsptg
)
e1
:
SetOperation
(
s
.
hspop
)
c
:
RegisterEffect
(
e1
)
--Remove
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_REMOVE
)
...
...
@@ -48,6 +39,10 @@ end
function
s
.
sfliter
(
c
)
return
c
.
MoJin
==
true
end
function
s
.
cfilter
(
c
)
--2025.8.23 雪
return
Duel
.
GetFlagEffect
(
tp
,
id
)
>
0
and
c
:
IsAbleToRemoveAsCost
()
end
function
s
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
for
tc
in
aux
.
Next
(
eg
)
do
if
tc
:
IsCode
(
5012604
)
then
...
...
@@ -55,35 +50,7 @@ function s.regop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
function
s
.
cfilter
(
c
,
mc
)
return
((
c
.
MoJin
==
true
and
c
:
IsLocation
(
LOCATION_MZONE
+
LOCATION_GRAVE
))
or
c
:
IsFusionCode
(
5012604
))
and
c
:
IsAbleToRemoveAsCost
()
and
c
:
IsCanBeFusionMaterial
(
mc
)
and
bit
.
band
(
c
:
GetOriginalType
(),
TYPE_MONSTER
)
~=
0
end
function
s
.
fselect
(
g
,
tp
,
mc
)
return
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
g
,
mc
)
>
0
and
g
:
IsExists
(
Card
.
IsFusionCode
,
1
,
nil
,
5012604
)
and
g
:
IsExists
(
Card
.
IsFusionSetCard
,
1
,
nil
,
MoJin
==
true
)
end
function
s
.
hspcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
g
=
Duel
.
GetMatchingGroup
(
c
.
cfilter
,
tp
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
0
,
nil
,
c
)
return
g
:
CheckSubGroup
(
s
.
fselect
,
2
,
2
,
tp
,
c
)
and
Duel
.
GetFlagEffect
(
tp
,
id
)
>
0
end
function
s
.
hsptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
cfilter
,
tp
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
0
,
nil
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
s
.
fselect
,
false
,
2
,
2
,
tp
,
c
)
sg
:
KeepAlive
()
e
:
SetLabelObject
(
sg
)
return
true
end
function
s
.
hspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
e
:
GetLabelObject
()
c
:
SetMaterial
(
g
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_COST
+
REASON_MATERIAL
)
g
:
DeleteGroup
()
end
function
s
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToRemove
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
end
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToRemove
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
)
...
...
expansions/script/c97570262.lua
View file @
5e86d0f7
...
...
@@ -123,12 +123,11 @@ function s.syncop(e, tp, eg, ep, ev, re, r, rp, c, smat, mg)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SMATERIAL
)
if
smat
then
mg
:
RemoveCard
(
smat
)
g
:
Merge
(
mg
:
SelectSubGroup
(
tp
,
s
.
gfilter
,
tru
e
,
1
,
nil
,
tp
,
c
,
lv
,
smat
))
g
:
Merge
(
mg
:
SelectSubGroup
(
tp
,
s
.
gfilter
,
fals
e
,
1
,
nil
,
tp
,
c
,
lv
,
smat
))
g
:
AddCard
(
smat
)
else
g
:
Merge
(
mg
:
SelectSubGroup
(
tp
,
s
.
gfilter
,
tru
e
,
2
,
nil
,
tp
,
c
,
lv
,
nil
))
g
:
Merge
(
mg
:
SelectSubGroup
(
tp
,
s
.
gfilter
,
fals
e
,
2
,
nil
,
tp
,
c
,
lv
,
nil
))
end
if
not
s
.
gfilter
(
g
,
tp
,
c
,
lv
,
smat
)
then
return
end
c
:
SetMaterial
(
g
)
Duel
.
SendtoGrave
(
g
,
REASON_MATERIAL
+
REASON_SYNCHRO
)
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