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
84273237
Commit
84273237
authored
Apr 28, 2025
by
Satty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
25c76969
Pipeline
#35634
passed with stages
in 49 minutes and 56 seconds
Changes
20
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
34 additions
and
31 deletions
+34
-31
expansions/script/c12847015.lua
expansions/script/c12847015.lua
+7
-3
expansions/script/c18029414.lua
expansions/script/c18029414.lua
+1
-1
expansions/script/c18700974.lua
expansions/script/c18700974.lua
+4
-5
expansions/script/c18700989.lua
expansions/script/c18700989.lua
+1
-1
expansions/script/c18700992.lua
expansions/script/c18700992.lua
+1
-1
expansions/script/c33701403.lua
expansions/script/c33701403.lua
+1
-1
expansions/script/c75027001.lua
expansions/script/c75027001.lua
+3
-3
expansions/script/c75027004.lua
expansions/script/c75027004.lua
+2
-2
expansions/script/c75027008.lua
expansions/script/c75027008.lua
+1
-1
expansions/script/c75027010.lua
expansions/script/c75027010.lua
+1
-1
expansions/script/c75027012.lua
expansions/script/c75027012.lua
+2
-2
expansions/script/c75027014.lua
expansions/script/c75027014.lua
+1
-1
expansions/script/c75027016.lua
expansions/script/c75027016.lua
+1
-1
expansions/script/c75027018.lua
expansions/script/c75027018.lua
+1
-1
expansions/script/c75027020.lua
expansions/script/c75027020.lua
+2
-2
expansions/script/c75027025.lua
expansions/script/c75027025.lua
+1
-1
expansions/script/c75027029.lua
expansions/script/c75027029.lua
+1
-1
expansions/script/c75027031.lua
expansions/script/c75027031.lua
+1
-1
expansions/script/c75027033.lua
expansions/script/c75027033.lua
+1
-1
expansions/script/c75027036.lua
expansions/script/c75027036.lua
+1
-1
No files found.
expansions/script/c12847015.lua
View file @
84273237
...
...
@@ -54,12 +54,11 @@ function c12847015.initial_effect(c)
)
e2
:
SetOperation
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tg1
=
Duel
.
GetFieldGroup
(
tp
,
0xff
,
0
)
if
tg1
:
IsExists
(
Card
.
IsCode
,
1
,
nil
,
4202048
)
then
if
tg1
:
IsExists
(
Card
.
IsCode
,
1
,
nil
,
4202048
,
13700047
)
then
Duel
.
Remove
(
tg1
,
POS_FACEDOWN
,
REASON_RULE
)
end
local
tg2
=
Duel
.
GetFieldGroup
(
tp
,
0
,
0xff
)
if
tg2
:
IsExists
(
Card
.
IsCode
,
1
,
nil
,
4202048
)
then
if
tg2
:
IsExists
(
Card
.
IsCode
,
1
,
nil
,
4202048
,
13700047
)
then
Duel
.
Remove
(
tg2
,
POS_FACEDOWN
,
REASON_RULE
)
end
end
...
...
@@ -83,9 +82,14 @@ function c12847015.initial_effect(c)
tc
:
ReplaceEffect
(
12847015
,
0
,
0
)
tc
:
RegisterEffect
(
e1
)
end
if
c13700047
and
getmetatable
(
tc
)
==
c13700047
then
tc
:
ReplaceEffect
(
12847015
,
0
,
0
)
tc
:
RegisterEffect
(
e1
)
end
tc
=
g
:
GetNext
()
end
c4202048
=
c12847015
c13700047
=
c12847015
end
function
c12847015
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsDisabled
()
and
c
:
IsType
(
TYPE_EFFECT
)
and
c
:
IsReleasable
()
...
...
expansions/script/c18029414.lua
View file @
84273237
...
...
@@ -26,7 +26,7 @@ function s.thfilter(c)
end
function
s
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
if
chk
==
0
then
return
return
g
:
GetClassCount
(
Card
.
GetAttribute
)
>
2
end
if
chk
==
0
then
return
g
:
GetClassCount
(
Card
.
GetAttribute
)
>
2
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
s
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c18700974.lua
View file @
84273237
...
...
@@ -149,21 +149,20 @@ end
function
cm
.
eftg
(
e
,
c
)
return
c
:
IsSetCard
(
0x82b
)
end
function
cm
.
linkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCurrentPhase
()
>=
PHASE_BATTLE_START
and
Duel
.
GetCurrentPhase
()
<=
PHASE_BATTLE
end
function
cm
.
matfilter
(
c
)
return
c
:
IsFaceup
()
end
function
cm
.
linkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCurrentPhase
()
>=
PHASE_BATTLE_START
and
Duel
.
GetCurrentPhase
()
<=
PHASE_BATTLE
end
function
cm
.
lktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
mg
=
Duel
.
GetMatchingGroup
(
cm
.
matfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsLinkSummonable
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
mg
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
end
function
cm
.
lkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
mg
=
Duel
.
GetMatchingGroup
(
cm
.
matfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
mg
=
Duel
.
GetMatchingGroup
(
cm
.
matfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsLinkSummonable
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
mg
)
local
tc
=
g
:
GetFirst
()
if
tc
then
...
...
expansions/script/c18700989.lua
View file @
84273237
...
...
@@ -49,7 +49,7 @@ function cm.damop(e,tp,eg,ep,ev,re,r,rp)
end
function
cm
.
matfilter
(
c
)
return
c
:
IsSetCard
(
0x82b
)
and
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsSetCard
(
0x82b
)
and
c
:
Is
Link
Type
(
TYPE_MONSTER
)
end
function
cm
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c18700992.lua
View file @
84273237
...
...
@@ -44,7 +44,7 @@ function cm.initial_effect(c)
end
function
cm
.
matfilter
(
c
)
return
c
:
IsSetCard
(
0x82b
)
and
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsSetCard
(
0x82b
)
and
c
:
Is
Link
Type
(
TYPE_MONSTER
)
end
function
cm
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsRelateToBattle
()
...
...
expansions/script/c33701403.lua
View file @
84273237
...
...
@@ -28,7 +28,7 @@ function cm.initial_effect(c)
end
function
cm
.
ovfilter
(
c
)
return
c
:
IsFaceup
()
and
not
c
:
IsCode
(
m
)
and
c
:
GetOverlayCount
()
==
0
return
c
:
IsFaceup
()
and
not
c
:
IsCode
(
m
)
and
c
:
GetOverlayCount
()
==
0
and
c
:
IsType
(
TYPE_XYZ
)
end
function
cm
.
atkval
(
e
,
c
)
return
c
:
GetOverlayCount
()
*
500
...
...
expansions/script/c75027001.lua
View file @
84273237
...
...
@@ -8,7 +8,7 @@ function s.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetCountLimit
(
99
,
id
+
1
)
e1
:
SetCountLimit
(
99
,
id
)
e1
:
SetTarget
(
s
.
thtg
)
e1
:
SetOperation
(
s
.
thop
)
c
:
RegisterEffect
(
e1
)
...
...
@@ -30,7 +30,7 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
s
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x
75f
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x
9751
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsAbleToHand
()
end
function
s
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
@@ -47,7 +47,7 @@ end
-----1jiansuo-baisernlindefuer
function
s
.
cfilter
(
c
,
tp
,
rp
)
return
c
:
IsPreviousPosition
(
POS_FACEUP
)
and
c
:
IsPreviousControler
(
tp
)
and
bit
.
band
(
c
:
GetPreviousTypeOnField
(),
TYPE_LINK
)
~=
0
and
c
:
IsPreviousSetCard
(
0x
75f
)
and
(
c
:
IsReason
(
REASON_BATTLE
)
or
(
rp
==
1
-
tp
and
c
:
IsReason
(
REASON_EFFECT
)))
and
c
:
IsPreviousSetCard
(
0x
9751
)
and
(
c
:
IsReason
(
REASON_BATTLE
)
or
(
rp
==
1
-
tp
and
c
:
IsReason
(
REASON_EFFECT
)))
end
function
s
.
spcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
s
.
cfilter
,
1
,
nil
,
tp
,
rp
)
and
not
eg
:
IsContains
(
e
:
GetHandler
())
...
...
expansions/script/c75027004.lua
View file @
84273237
...
...
@@ -24,7 +24,7 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
s
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
75f
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
9751
)
end
function
s
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
s
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
...
...
@@ -45,7 +45,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
end
-----1 jiansuo--modan
function
s
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x
75f
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x
9751
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
end
function
s
.
target2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
expansions/script/c75027008.lua
View file @
84273237
...
...
@@ -27,7 +27,7 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
s
.
cfilter1
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
75f
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
9751
)
end
function
s
.
cfilter2
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
75027001
)
...
...
expansions/script/c75027010.lua
View file @
84273237
...
...
@@ -29,7 +29,7 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
s
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsFaceupEx
()
and
c
:
IsSetCard
(
0x
75f
)
return
c
:
IsFaceupEx
()
and
c
:
IsSetCard
(
0x
9751
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
expansions/script/c75027012.lua
View file @
84273237
...
...
@@ -32,12 +32,12 @@ function s.initial_effect(c)
e1
:
SetCode
(
EFFECT_EXTRA_SUMMON_COUNT
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetTargetRange
(
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
e1
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x
75f
))
e1
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x
9751
))
c
:
RegisterEffect
(
e1
)
--destroy
end
function
s
.
mfilter
(
c
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsLinkSetCard
(
0x
75f
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsLinkSetCard
(
0x
9751
)
end
function
s
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_LINK
)
...
...
expansions/script/c75027014.lua
View file @
84273237
...
...
@@ -34,7 +34,7 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e4
)
end
function
s
.
lcheck
(
g
)
return
g
:
IsExists
(
Card
.
IsLinkSetCard
,
1
,
nil
,
0x75f
)
return
g
:
IsExists
(
Card
.
IsLinkSetCard
,
2
,
nil
,
0x9751
)
end
function
s
.
thfilter
(
c
)
return
c
:
IsCode
(
75027004
)
and
c
:
IsAbleToHand
()
...
...
expansions/script/c75027016.lua
View file @
84273237
...
...
@@ -3,7 +3,7 @@ local s,id,o=GetID()
function
s
.
initial_effect
(
c
)
--link summon
c
:
EnableReviveLimit
()
aux
.
AddLinkProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsLinkSetCard
,
0x
75f
),
2
,
2
)
aux
.
AddLinkProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsLinkSetCard
,
0x
9751
),
2
,
2
)
--code
aux
.
EnableChangeCode
(
c
,
75027001
,
LOCATION_MZONE
+
LOCATION_GRAVE
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c75027018.lua
View file @
84273237
...
...
@@ -79,7 +79,7 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
tdfilter
(
c
)
return
(
c
:
IsSetCard
(
0x
75f
)
or
c
:
IsCode
(
75027004
))
and
c
:
IsAbleToDeck
()
return
(
c
:
IsSetCard
(
0x
9751
)
or
c
:
IsCode
(
75027004
))
and
c
:
IsAbleToDeck
()
and
(
c
:
IsLocation
(
LOCATION_GRAVE
)
or
c
:
IsFaceup
())
end
function
s
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
...
...
expansions/script/c75027020.lua
View file @
84273237
...
...
@@ -6,7 +6,7 @@ function s.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCountLimit
(
1
,
id
+
0
)
e1
:
SetCountLimit
(
1
,
id
)
e1
:
SetCost
(
s
.
spcost
)
e1
:
SetTarget
(
s
.
sptg
)
e1
:
SetOperation
(
s
.
spop
)
...
...
@@ -25,7 +25,7 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
s
.
cfilter
(
c
)
return
c
:
IsSetCard
(
0x
75f
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsCode
(
75027020
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsSetCard
(
0x
9751
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsCode
(
75027020
)
and
c
:
IsAbleToGraveAsCost
()
end
function
s
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
cfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
expansions/script/c75027025.lua
View file @
84273237
...
...
@@ -37,7 +37,7 @@ function s.initial_effect(c)
----3
end
function
s
.
cfilter
(
c
)
return
c
:
IsSetCard
(
0x
75f
)
and
c
:
IsFaceup
()
return
c
:
IsSetCard
(
0x
9751
)
and
c
:
IsFaceup
()
end
function
s
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
s
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
...
...
expansions/script/c75027029.lua
View file @
84273237
...
...
@@ -91,7 +91,7 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp)
end
-------2
function
s
.
costfilter
(
c
)
return
(
c
:
IsCode
(
75027004
)
or
c
:
IsSetCard
(
0x
75f
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
))
and
c
:
IsAbleToGraveAsCost
()
return
(
c
:
IsCode
(
75027004
)
or
c
:
IsSetCard
(
0x
9751
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
))
and
c
:
IsAbleToGraveAsCost
()
end
function
s
.
target1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c75027031.lua
View file @
84273237
...
...
@@ -26,7 +26,7 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
s
.
filter
(
c
)
return
c
:
IsSetCard
(
0x
75f
)
and
c
:
IsFaceup
()
return
c
:
IsSetCard
(
0x
9751
)
and
c
:
IsFaceup
()
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
s
.
filter
(
chkc
)
end
...
...
expansions/script/c75027033.lua
View file @
84273237
expansions/script/c75027036.lua
View file @
84273237
...
...
@@ -26,7 +26,7 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
s
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x
75f
)
and
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsSetCard
(
0x
9751
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
(
c
:
IsAbleToHand
()
or
(
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)))
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
...
...
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