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
Soulgamer
ygopro-222DIY-cards
Commits
37b84d0b
Commit
37b84d0b
authored
Jul 05, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndyd
parent
b26491a6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
16 deletions
+26
-16
expansions/pics/17061213.jpg
expansions/pics/17061213.jpg
+0
-0
expansions/script/c16107109.lua
expansions/script/c16107109.lua
+22
-12
expansions/script/c33700199.lua
expansions/script/c33700199.lua
+4
-4
No files found.
expansions/pics/17061213.jpg
0 → 100644
View file @
37b84d0b
87.6 KB
expansions/script/c16107109.lua
View file @
37b84d0b
...
@@ -62,7 +62,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -62,7 +62,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chk
==
0
then
return
ct
>
1
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
if
chk
==
0
then
return
ct
>
1
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
and
mg
:
CheckSubGroup
(
cm
.
xyzfilter0
,
2
,
2
,
e
,
tp
)
end
and
mg
:
CheckSubGroup
(
cm
.
xyzfilter0
,
2
,
2
,
e
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sg1
=
mg
:
SelectSubGroup
(
tp
,
cm
.
xyzfilter0
,
tru
e
,
2
,
2
,
e
,
tp
)
local
sg1
=
mg
:
SelectSubGroup
(
tp
,
cm
.
xyzfilter0
,
fals
e
,
2
,
2
,
e
,
tp
)
Duel
.
SetTargetCard
(
sg1
)
Duel
.
SetTargetCard
(
sg1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
sg1
,
sg1
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
sg1
,
sg1
:
GetCount
(),
0
,
0
)
end
end
...
@@ -81,9 +81,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -81,9 +81,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
tc1
:
RegisterEffect
(
e1
,
true
)
tc1
:
RegisterEffect
(
e1
,
true
)
local
e2
=
e1
:
Clone
()
local
e2
=
e1
:
Clone
()
tc2
:
RegisterEffect
(
e2
,
true
)
tc2
:
RegisterEffect
(
e2
,
true
)
Duel
.
SpecialSummonStep
(
tc1
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummonStep
(
tc2
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummonComplete
()
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
local
sg
=
Group
.
FromCards
(
tc1
,
tc2
)
local
sg
=
Group
.
FromCards
(
tc1
,
tc2
)
local
xyzg
=
Duel
.
GetMatchingGroup
(
cm
.
spfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
sg
,
2
)
local
xyzg
=
Duel
.
GetMatchingGroup
(
cm
.
spfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
sg
,
2
)
...
@@ -97,15 +95,27 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -97,15 +95,27 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
opt
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
m
,
1
))
+
1
opt
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
m
,
1
))
+
1
end
end
if
opt
==
0
then
if
opt
==
0
then
local
xyz1
=
xyzg1
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
local
xyz1
=
xyzg1
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
xyz1
:
SetMaterial
(
sg
)
xyz1
:
SetMaterial
(
sg
)
Duel
.
Overlay
(
xyz1
,
sg
)
local
mg
=
tc1
:
GetOverlayGroup
()
Duel
.
SpecialSummon
(
xyz1
,
SUMMON_TYPE_XYZ
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
local
mg2
=
tc2
:
GetOverlayGroup
()
xyz1
:
CompleteProcedure
()
if
mg
:
GetCount
()
~=
0
or
mg2
:
GetCount
()
~=
0
then
Duel
.
Overlay
(
xyz1
,
mg
)
Duel
.
Overlay
(
xyz1
,
mg2
)
end
Duel
.
Overlay
(
xyz1
,
sg
)
Duel
.
SpecialSummon
(
xyz1
,
SUMMON_TYPE_XYZ
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
xyz1
:
CompleteProcedure
()
else
else
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
xyz
=
xyzg
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
local
xyz
=
xyzg
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
Duel
.
XyzSummon
(
tp
,
xyz
,
g
)
local
mg
=
tc1
:
GetOverlayGroup
()
local
mg2
=
tc2
:
GetOverlayGroup
()
if
mg
:
GetCount
()
~=
0
or
mg2
:
GetCount
()
~=
0
then
Duel
.
Overlay
(
xyz
,
mg
)
Duel
.
Overlay
(
xyz
,
mg2
)
end
Duel
.
XyzSummon
(
tp
,
xyz
,
g
)
end
end
end
end
function
cm
.
spfilter
(
c
,
mg
,
ct
)
function
cm
.
spfilter
(
c
,
mg
,
ct
)
...
...
expansions/script/c33700199.lua
View file @
37b84d0b
...
@@ -38,13 +38,13 @@ function c33700199.filter(c,e,tp)
...
@@ -38,13 +38,13 @@ function c33700199.filter(c,e,tp)
end
end
function
c33700199
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c33700199
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c33700199
.
filter
,
tp
,
LOCATION_HAND
+
LOCATION_
GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
and
Duel
.
IsExistingMatchingCard
(
c33700199
.
filter
,
tp
,
LOCATION_HAND
+
LOCATION_
DECK
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
+
LOCATION_
GRAVE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
+
LOCATION_
DECK
)
end
end
function
c33700199
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c33700199
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
c33700199
.
filter
),
tp
,
LOCATION_HAND
+
LOCATION_
GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
c33700199
.
filter
),
tp
,
LOCATION_HAND
+
LOCATION_
DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
...
@@ -55,7 +55,7 @@ end
...
@@ -55,7 +55,7 @@ end
function
c33700199
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c33700199
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c33700199
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
end
and
Duel
.
IsExistingMatchingCard
(
c33700199
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_
HAND
+
LOCATION_GRAVE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_
DECK
)
end
end
function
c33700199
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c33700199
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
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