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
5d167738
Commit
5d167738
authored
Sep 14, 2025
by
Huangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
872150fd
Pipeline
#40585
failed with stages
in 3 minutes and 59 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
43 deletions
+14
-43
expansions/script/c12802015.lua
expansions/script/c12802015.lua
+1
-0
expansions/script/c12802025.lua
expansions/script/c12802025.lua
+2
-5
expansions/script/c16311005.lua
expansions/script/c16311005.lua
+1
-4
expansions/script/c18700146.lua
expansions/script/c18700146.lua
+10
-34
No files found.
expansions/script/c12802015.lua
View file @
5d167738
...
@@ -42,6 +42,7 @@ function s.cfilter(c,tp)
...
@@ -42,6 +42,7 @@ function s.cfilter(c,tp)
end
end
function
s
.
spcon
(
e
,
c
)
function
s
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
return
Duel
.
CheckReleaseGroupEx
(
tp
,
s
.
cfilter
,
1
,
REASON_SPSUMMON
,
true
,
c
,
tp
)
return
Duel
.
CheckReleaseGroupEx
(
tp
,
s
.
cfilter
,
1
,
REASON_SPSUMMON
,
true
,
c
,
tp
)
end
end
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
...
...
expansions/script/c12802025.lua
View file @
5d167738
...
@@ -27,15 +27,12 @@ function s.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -27,15 +27,12 @@ function s.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
c
:
IsAttackPos
()
and
not
c
:
IsHasEffect
(
EFFECT_SET_POSITION
)
end
if
chk
==
0
then
return
c
:
IsAttackPos
()
and
not
c
:
IsHasEffect
(
EFFECT_SET_POSITION
)
end
Duel
.
ChangePosition
(
c
,
POS_FACEUP_DEFENSE
)
Duel
.
ChangePosition
(
c
,
POS_FACEUP_DEFENSE
)
end
end
function
s
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
1
)
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
end
end
function
s
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
if
#
sg
>
0
then
if
#
sg
>
0
then
Duel
.
HintSelection
(
sg
)
Duel
.
HintSelection
(
sg
)
local
tc
=
sg
:
GetFirst
()
local
tc
=
sg
:
GetFirst
()
...
...
expansions/script/c16311005.lua
View file @
5d167738
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
function
c16311005
.
initial_effect
(
c
)
function
c16311005
.
initial_effect
(
c
)
--link summon
--link summon
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
aux
.
AddLinkProcedure
(
c
,
c16311005
.
matfilter
,
2
,
2
,
c16311005
.
lcheck
)
aux
.
AddLinkProcedure
(
c
,
c16311005
.
matfilter
,
2
,
2
)
--extra material
--extra material
local
e0
=
Effect
.
CreateEffect
(
c
)
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_FIELD
)
e0
:
SetType
(
EFFECT_TYPE_FIELD
)
...
@@ -37,9 +37,6 @@ function c16311005.initial_effect(c)
...
@@ -37,9 +37,6 @@ function c16311005.initial_effect(c)
e2
:
SetOperation
(
c16311005
.
operation
)
e2
:
SetOperation
(
c16311005
.
operation
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c16311005
.
lcheck
(
g
,
lc
)
return
g
:
IsExists
(
Card
.
IsLinkSetCard
,
1
,
nil
,
0x5dc6
)
end
function
c16311005
.
matfilter
(
c
)
function
c16311005
.
matfilter
(
c
)
return
c
:
IsLinkSetCard
(
0x5dc6
)
and
c
:
IsType
(
TYPE_EFFECT
)
or
c
:
IsCode
(
16311000
)
return
c
:
IsLinkSetCard
(
0x5dc6
)
and
c
:
IsType
(
TYPE_EFFECT
)
or
c
:
IsCode
(
16311000
)
end
end
...
...
expansions/script/c18700146.lua
View file @
5d167738
...
@@ -19,7 +19,7 @@ function cm.initial_effect(c)
...
@@ -19,7 +19,7 @@ function cm.initial_effect(c)
e2
:
SetCategory
(
CATEGORY_TOGRAVE
)
e2
:
SetCategory
(
CATEGORY_TOGRAVE
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetProperty
(
EFFECT_FLAG_
DAMAGE_STEP
+
EFFECT_FLAG_
CARD_TARGET
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
,
m
)
e2
:
SetCountLimit
(
1
,
m
)
e2
:
SetTarget
(
cm
.
atktg
)
e2
:
SetTarget
(
cm
.
atktg
)
...
@@ -34,7 +34,6 @@ function cm.initial_effect(c)
...
@@ -34,7 +34,6 @@ function cm.initial_effect(c)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCountLimit
(
1
,
m
+
1
)
e3
:
SetCountLimit
(
1
,
m
+
1
)
e3
:
SetCost
(
cm
.
descost
)
e3
:
SetCost
(
cm
.
descost
)
e3
:
SetTarget
(
cm
.
sptg
)
e3
:
SetOperation
(
cm
.
spop
)
e3
:
SetOperation
(
cm
.
spop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
...
@@ -73,45 +72,22 @@ function cm.atkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -73,45 +72,22 @@ function cm.atkop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
end
end
end
end
function
cm
.
filter2
(
c
,
e
,
tp
)
function
cm
.
disable
(
e
,
c
)
return
c
:
IsSummonType
(
SUMMON_TYPE_SPECIAL
)
and
c
:
IsSummonLocation
(
LOCATION_GRAVE
)
return
c
:
IsSummonType
(
SUMMON_TYPE_SPECIAL
)
and
c
:
IsSummonLocation
(
LOCATION_GRAVE
)
end
end
function
cm
.
descost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
descost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsDiscardable
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsDiscardable
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
Duel
.
DiscardHand
(
tp
,
Card
.
IsDiscardable
,
1
,
1
,
REASON_COST
+
REASON_DISCARD
)
Duel
.
DiscardHand
(
tp
,
Card
.
IsDiscardable
,
1
,
1
,
REASON_COST
+
REASON_DISCARD
)
end
end
function
cm
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
filter2
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
filter2
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DISABLE
,
g
,
g
:
GetCount
(),
0
,
0
)
end
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
filter2
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
local
c
=
e
:
GetHandler
()
local
tc
=
g
:
GetFirst
()
local
e2
=
Effect
.
CreateEffect
(
c
)
while
tc
do
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
Duel
.
NegateRelatedChain
(
tc
,
RESET_TURN_SET
)
e2
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e2
:
SetTarget
(
cm
.
disable
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_DISABLE
)
e1
:
SetCode
(
EFFECT_DISABLE
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
Duel
.
RegisterEffect
(
e2
,
tp
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e2
:
SetValue
(
RESET_TURN_SET
)
tc
:
RegisterEffect
(
e2
)
local
e3
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetCode
(
EFFECT_CANNOT_ATTACK_ANNOUNCE
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_OATH
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e3
:
SetValue
(
RESET_TURN_SET
)
tc
:
RegisterEffect
(
e3
)
tc
=
g
:
GetNext
()
end
end
end
function
cm
.
filter
(
c
,
e
,
tp
)
function
cm
.
filter
(
c
,
e
,
tp
)
return
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsType
(
TYPE_MONSTER
)
...
...
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