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
f63a173b
Commit
f63a173b
authored
Jul 08, 2025
by
Huangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
bf64a95e
Pipeline
#38671
failed with stages
in 79 minutes
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
27 deletions
+12
-27
expansions/script/c16107117.lua
expansions/script/c16107117.lua
+1
-6
expansions/script/c16130001.lua
expansions/script/c16130001.lua
+2
-2
expansions/script/c16130012.lua
expansions/script/c16130012.lua
+6
-14
expansions/script/c16177701.lua
expansions/script/c16177701.lua
+3
-5
No files found.
expansions/script/c16107117.lua
View file @
f63a173b
...
...
@@ -89,11 +89,6 @@ function cm.operation1(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
setfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
tpe
)
if
g
:
GetCount
()
>
0
then
local
tc
=
g
:
GetFirst
()
local
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
m
,
2
),
aux
.
Stringid
(
m
,
3
))
if
op
==
0
then
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
else
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
end
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
end
end
\ No newline at end of file
expansions/script/c16130001.lua
View file @
f63a173b
...
...
@@ -81,8 +81,8 @@ function cm.disop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
tp
,
g1
)
if
not
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
4
))
then
return
end
local
tg1
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToHand
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
local
tg2
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToHand
,
tp
,
0
,
LOCATION_GRAVE
,
nil
)
local
tg1
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToHand
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
)
local
tg2
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToHand
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
nil
)
local
tg3
=
g1
:
Filter
(
Card
.
IsAbleToHand
,
nil
)
local
sg
=
Group
.
CreateGroup
()
if
tg1
:
GetCount
()
>
0
and
((
tg2
:
GetCount
()
==
0
and
tg3
:
GetCount
()
==
0
)
or
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
1
)))
then
...
...
expansions/script/c16130012.lua
View file @
f63a173b
...
...
@@ -41,29 +41,21 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
cm
.
filter
(
c
)
return
c
:
Is
Faceup
()
and
c
:
Is
Race
(
RACE_ZOMBIE
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsRace
(
RACE_ZOMBIE
)
and
c
:
IsAbleToGraveAsCost
()
end
function
cm
.
mzfilter
(
g
,
tp
)
return
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
g
)
>
0
end
function
cm
.
mzfilter1
(
c
,
tp
)
return
c
:
GetSequence
()
<
5
function
cm
.
gcheck
(
g
,
tc
,
tp
)
return
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
g
,
tc
)
>
0
end
function
cm
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
cm
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ct
=-
ft
+
1
return
ft
>-
2
and
mg
:
GetCount
()
>
1
and
(
ft
>
0
or
mg
:
IsExists
(
cm
.
mzfilter1
,
ct
,
nil
))
return
mg
:
CheckSubGroup
(
cm
.
gcheck
,
2
,
2
,
c
,
tp
)
end
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
cm
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
g
=
nil
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
g
=
mg
:
SelectSubGroup
(
tp
,
cm
.
mzfilter
,
false
,
2
,
2
,
tp
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
local
g
=
mg
:
SelectSubGroup
(
tp
,
cm
.
gcheck
,
false
,
2
,
2
,
c
,
tp
)
Duel
.
SendtoGrave
(
g
,
REASON_
SPSUMMON
+
REASON_
COST
)
end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c16177701.lua
View file @
f63a173b
...
...
@@ -103,11 +103,9 @@ function s.adjustop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
IsPlayerAffectedByEffect
(
p
,
id
)
then
for
tc
in
aux
.
Next
(
cg
)
do
if
tc
:
IsControlerCanBeChanged
(
false
)
then
if
not
tc
:
IsControlerCanBeChanged
(
true
)
then
sg
:
AddCard
(
tc
)
else
Duel
.
GetControl
(
tc
,
1
-
p
)
end
sg
:
AddCard
(
tc
)
else
Duel
.
GetControl
(
tc
,
p
)
end
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