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
ed751c29
Commit
ed751c29
authored
Sep 18, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndyd
parent
5cee8c90
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
13 deletions
+14
-13
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c33403520.lua
expansions/script/c33403520.lua
+14
-13
No files found.
expansions/222DIY.cdb
View file @
ed751c29
No preview for this file type
expansions/script/c33403520.lua
View file @
ed751c29
...
...
@@ -81,36 +81,37 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
33403530
,
1
))
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
XY
.
maganeckfilter10
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
tp
)
if
g
:
GetCount
()
>
0
then
if
c
:
IsCode
(
33403521
)
then
local
tc
=
g
:
GetFirst
()
if
tc
:
IsCode
(
33403521
)
then
XY
.
maganere1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
if
c
:
IsCode
(
33403522
)
then
if
t
c
:
IsCode
(
33403522
)
then
XY
.
maganere2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
if
c
:
IsCode
(
33403523
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
then
if
t
c
:
IsCode
(
33403523
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
then
XY
.
maganere3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
if
c
:
IsCode
(
33403524
)
and
Duel
.
IsPlayerCanDraw
(
tp
,
3
)
then
if
t
c
:
IsCode
(
33403524
)
and
Duel
.
IsPlayerCanDraw
(
tp
,
3
)
then
XY
.
maganere4
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
if
c
:
IsCode
(
33403525
)
and
(
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToChangeControler
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
or
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
==
0
)
then
if
t
c
:
IsCode
(
33403525
)
and
(
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToChangeControler
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
or
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
==
0
)
then
XY
.
maganere5
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
if
c
:
IsCode
(
33403526
)
and
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
then
if
t
c
:
IsCode
(
33403526
)
and
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
then
XY
.
maganere6
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
if
c
:
IsCode
(
33403527
)
and
Duel
.
IsExistingMatchingCard
(
XY
.
maganethfilter4
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
then
if
t
c
:
IsCode
(
33403527
)
and
Duel
.
IsExistingMatchingCard
(
XY
.
maganethfilter4
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
then
XY
.
maganere7
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
if
c
:
IsCode
(
33403528
)
then
if
t
c
:
IsCode
(
33403528
)
then
XY
.
maganere8
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
cm1
=
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
cm2
=
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_DECK
)
if
c
:
IsCode
(
33403529
)
and
cm1
>=
4
and
cm2
>=
4
and
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
then
if
t
c
:
IsCode
(
33403529
)
and
cm1
>=
4
and
cm2
>=
4
and
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
then
XY
.
maganere9
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
if
c
:
IsCode
(
33403530
)
then
if
t
c
:
IsCode
(
33403530
)
then
XY
.
maganere10
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
end
...
...
@@ -118,13 +119,13 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
end
function
cm
.
sptg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
XY
.
magane
ckfilter1
0
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
XY
.
magane
thfilter
0
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
tp
)
end
end
function
cm
.
spop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
Duel
.
IsExistingMatchingCard
(
XY
.
magane
ckfilter1
0
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
tp
)
then
return
end
if
not
Duel
.
IsExistingMatchingCard
(
XY
.
magane
thfilter
0
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
tp
)
then
return
end
local
c
=
e
:
GetHandler
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
33403530
,
1
))
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
XY
.
magane
ckfilter1
0
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
XY
.
magane
thfilter
0
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
tp
)
if
g
:
GetCount
()
>
0
then
local
tc
=
g
:
GetFirst
()
if
tc
:
IsCode
(
33403521
)
then
...
...
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