Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
3
Merge Requests
3
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
MyCard
ygopro-scripts-888
Commits
d5f1c555
Commit
d5f1c555
authored
Aug 17, 2025
by
wind2009
Committed by
GitHub
Aug 17, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix facedown special summon (#3005)
parent
1a625178
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
53 additions
and
22 deletions
+53
-22
c11024707.lua
c11024707.lua
+2
-2
c21663205.lua
c21663205.lua
+3
-2
c24096499.lua
c24096499.lua
+3
-2
c25137581.lua
c25137581.lua
+1
-0
c32939238.lua
c32939238.lua
+3
-1
c39900763.lua
c39900763.lua
+6
-2
c45935145.lua
c45935145.lua
+3
-1
c50243722.lua
c50243722.lua
+2
-2
c52709508.lua
c52709508.lua
+3
-2
c58551308.lua
c58551308.lua
+6
-2
c73640163.lua
c73640163.lua
+2
-2
c74937659.lua
c74937659.lua
+4
-0
c76442347.lua
c76442347.lua
+3
-2
c9074847.lua
c9074847.lua
+10
-0
c95083785.lua
c95083785.lua
+2
-2
No files found.
c11024707.lua
View file @
d5f1c555
...
...
@@ -45,8 +45,8 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
>
0
then
Duel
.
ConfirmCards
(
1
-
tp
,
c
)
end
end
function
s
.
spfilter
(
c
,
e
,
tp
)
...
...
c21663205.lua
View file @
d5f1c555
...
...
@@ -36,7 +36,8 @@ function c21663205.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
c21663205
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_ATTACK
+
POS_FACEDOWN_DEFENSE
)
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_ATTACK
+
POS_FACEDOWN_DEFENSE
)
>
0
and
tc
:
IsFacedown
()
then
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
end
c24096499.lua
View file @
d5f1c555
...
...
@@ -31,7 +31,8 @@ end
function
c24096499
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_ATTACK
+
POS_FACEDOWN_DEFENSE
)
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_ATTACK
+
POS_FACEDOWN_DEFENSE
)
>
0
and
tc
:
IsFacedown
()
then
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
end
c25137581.lua
View file @
d5f1c555
...
...
@@ -34,6 +34,7 @@ end
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToChain
()
and
Duel
.
SpecialSummonStep
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
then
Duel
.
ConfirmCards
(
1
-
tp
,
c
)
c
:
RegisterFlagEffect
(
id
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
...
...
c32939238.lua
View file @
d5f1c555
...
...
@@ -102,7 +102,9 @@ function s.rtop(e,tp,eg,ep,ev,re,r,rp)
if
not
tc
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
and
(
not
tc
:
IsAbleToHand
()
or
Duel
.
SelectOption
(
tp
,
1190
,
1152
)
==
1
)
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
if
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
>
0
then
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
else
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
end
...
...
c39900763.lua
View file @
d5f1c555
...
...
@@ -26,13 +26,17 @@ function c39900763.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c39900763
.
filter
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
end
if
tc
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
then
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
end
if
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
1
-
tp
,
c39900763
.
filter
,
1
-
tp
,
LOCATION_REMOVED
,
0
,
1
,
1
,
nil
,
e
,
1
-
tp
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SpecialSummonStep
(
tc
,
0
,
1
-
tp
,
1
-
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
end
if
tc
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
1
-
tp
,
1
-
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
then
Duel
.
ConfirmCards
(
tp
,
tc
)
end
end
Duel
.
SpecialSummonComplete
()
end
c45935145.lua
View file @
d5f1c555
...
...
@@ -98,7 +98,9 @@ function s.sptop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
if
not
tc
:
IsRelateToEffect
(
e
)
then
return
end
if
tc
:
IsType
(
TYPE_MONSTER
)
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
+
POS_FACEDOWN_DEFENSE
)
if
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
+
POS_FACEDOWN_DEFENSE
)
>
0
and
tc
:
IsFacedown
()
then
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
else
Duel
.
SSet
(
tp
,
tc
)
end
...
...
c50243722.lua
View file @
d5f1c555
...
...
@@ -29,7 +29,7 @@ function c50243722.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
c50243722
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
>
0
then
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
end
c52709508.lua
View file @
d5f1c555
...
...
@@ -116,7 +116,8 @@ function c52709508.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
c52709508
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
and
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
>
0
then
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
end
c58551308.lua
View file @
d5f1c555
...
...
@@ -44,12 +44,16 @@ function c58551308.spop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
sg
:
GetFirst
()
if
tc
and
Duel
.
GetLocationCount
(
tc
:
GetControler
(),
LOCATION_MZONE
)
>
0
then
local
sp
=
tc
:
GetControler
()
Duel
.
SpecialSummonStep
(
tc
,
0
,
sp
,
sp
,
false
,
false
,
POS_FACEUP_ATTACK
+
POS_FACEDOWN_DEFENSE
)
if
Duel
.
SpecialSummonStep
(
tc
,
0
,
sp
,
sp
,
false
,
false
,
POS_FACEUP_ATTACK
+
POS_FACEDOWN_DEFENSE
)
and
tc
:
IsFacedown
()
then
Duel
.
ConfirmCards
(
1
-
sp
,
tc
)
end
end
tc
=
sg
:
GetNext
()
if
tc
and
Duel
.
GetLocationCount
(
tc
:
GetControler
(),
LOCATION_MZONE
)
>
0
then
local
sp
=
tc
:
GetControler
()
Duel
.
SpecialSummonStep
(
tc
,
0
,
sp
,
sp
,
false
,
false
,
POS_FACEUP_ATTACK
+
POS_FACEDOWN_DEFENSE
)
if
Duel
.
SpecialSummonStep
(
tc
,
0
,
sp
,
sp
,
false
,
false
,
POS_FACEUP_ATTACK
+
POS_FACEDOWN_DEFENSE
)
and
tc
:
IsFacedown
()
then
Duel
.
ConfirmCards
(
1
-
sp
,
tc
)
end
end
Duel
.
SpecialSummonComplete
()
end
c73640163.lua
View file @
d5f1c555
...
...
@@ -50,8 +50,8 @@ function c73640163.spop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SendtoGrave
(
c
,
REASON_EFFECT
+
REASON_DISCARD
)
~=
0
and
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
and
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
>
0
then
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
end
function
c73640163
.
filter
(
c
)
...
...
c74937659.lua
View file @
d5f1c555
...
...
@@ -67,7 +67,11 @@ function c74937659.tgop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
c74937659
.
spfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
e
,
tp
,
zone
)
if
zone
~=
0
and
sg
:
GetCount
()
>
0
then
local
hint
=
sg
:
GetFirst
():
IsPublic
()
Duel
.
SpecialSummon
(
sg
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
,
zone
)
if
hint
then
Duel
.
ConfirmCards
(
1
-
tp
,
sg
)
end
end
end
end
...
...
c76442347.lua
View file @
d5f1c555
...
...
@@ -37,7 +37,8 @@ function c76442347.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
c76442347
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
and
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_ATTACK
+
POS_FACEDOWN_DEFENSE
)
if
tc
and
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_ATTACK
+
POS_FACEDOWN_DEFENSE
)
>
0
and
tc
:
IsFacedown
()
then
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
end
c9074847.lua
View file @
d5f1c555
...
...
@@ -39,19 +39,29 @@ function c9074847.operation(e,tp,eg,ep,ev,re,r,rp)
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
c9074847
.
spfilter
,
tp
,
LOCATION_HAND
,
0
,
ct1
,
ct1
,
nil
,
e
,
tp
)
if
g1
:
GetCount
()
>
0
then
local
tc
=
g1
:
GetFirst
()
local
cg1
=
Group
.
CreateGroup
()
while
tc
do
if
tc
:
IsPublic
()
then
cg1
:
AddCard
(
tc
)
end
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
tc
=
g1
:
GetNext
()
end
if
cg1
:
GetCount
()
>
0
then
Duel
.
ConfirmCards
(
1
-
tp
,
cg1
)
end
end
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_SPSUMMON
)
local
g2
=
Duel
.
SelectMatchingCard
(
1
-
tp
,
c9074847
.
spfilter
,
1
-
tp
,
LOCATION_HAND
,
0
,
ct2
,
ct2
,
nil
,
e
,
1
-
tp
)
if
g2
:
GetCount
()
>
0
then
local
tc
=
g2
:
GetFirst
()
local
cg2
=
Group
.
CreateGroup
()
while
tc
do
if
tc
:
IsPublic
()
then
cg2
:
AddCard
(
tc
)
end
Duel
.
SpecialSummonStep
(
tc
,
0
,
1
-
tp
,
1
-
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
tc
=
g2
:
GetNext
()
end
if
cg2
:
GetCount
()
>
0
then
Duel
.
ConfirmCards
(
tp
,
cg2
)
end
end
Duel
.
SpecialSummonComplete
()
end
c95083785.lua
View file @
d5f1c555
...
...
@@ -30,7 +30,7 @@ function c95083785.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
c95083785
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
)
>
0
then
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
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