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
Ai
ygopro-222DIY-cards
Commits
63043605
Commit
63043605
authored
Dec 12, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sjb
parent
50cdbbfb
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
156 additions
and
69 deletions
+156
-69
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c60150810.lua
expansions/script/c60150810.lua
+16
-1
expansions/script/c60150811.lua
expansions/script/c60150811.lua
+39
-18
expansions/script/c60150812.lua
expansions/script/c60150812.lua
+21
-0
expansions/script/c60150817.lua
expansions/script/c60150817.lua
+64
-49
expansions/script/c60150819.lua
expansions/script/c60150819.lua
+16
-1
No files found.
expansions/222DIY.cdb
View file @
63043605
No preview for this file type
expansions/script/c60150810.lua
View file @
63043605
...
...
@@ -29,10 +29,25 @@ function c60150810.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
local
tc
=
Duel
.
GetFieldCard
(
tp
,
LOCATION_DECK
,
0
)
if
tc
:
IsAbleToRemove
()
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
60150810
,
0
))
then
local
tc2
=
Duel
.
GetFieldCard
(
tp
,
0
,
LOCATION_DECK
)
if
(
tc
:
IsAbleToRemove
()
and
tc2
:
IsAbleToRemove
())
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
60150810
,
0
))
then
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
60150810
,
1
))
then
Duel
.
BreakEffect
()
Duel
.
DisableShuffleCheck
()
Duel
.
Remove
(
tc2
,
POS_FACEUP
,
REASON_EFFECT
)
else
Duel
.
BreakEffect
()
Duel
.
DisableShuffleCheck
()
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
)
end
elseif
(
tc
:
IsAbleToRemove
()
and
not
tc2
:
IsAbleToRemove
())
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
60150810
,
0
))
then
Duel
.
BreakEffect
()
Duel
.
DisableShuffleCheck
()
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
)
elseif
(
not
tc
:
IsAbleToRemove
()
and
tc2
:
IsAbleToRemove
())
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
60150810
,
0
))
then
Duel
.
BreakEffect
()
Duel
.
DisableShuffleCheck
()
Duel
.
Remove
(
tc2
,
POS_FACEUP
,
REASON_EFFECT
)
end
end
end
\ No newline at end of file
expansions/script/c60150811.lua
View file @
63043605
...
...
@@ -60,6 +60,27 @@ function c60150811.spop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetOperation
(
c60150811
.
tdop
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
2
)
Duel
.
RegisterEffect
(
e2
,
tp
)
local
tc3
=
Duel
.
GetFieldCard
(
tp
,
LOCATION_DECK
,
0
)
local
tc2
=
Duel
.
GetFieldCard
(
tp
,
0
,
LOCATION_DECK
)
if
(
tc3
:
IsAbleToRemove
()
and
tc2
:
IsAbleToRemove
())
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
60150810
,
0
))
then
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
60150810
,
1
))
then
Duel
.
BreakEffect
()
Duel
.
DisableShuffleCheck
()
Duel
.
Remove
(
tc2
,
POS_FACEUP
,
REASON_EFFECT
)
else
Duel
.
BreakEffect
()
Duel
.
DisableShuffleCheck
()
Duel
.
Remove
(
tc3
,
POS_FACEUP
,
REASON_EFFECT
)
end
elseif
(
tc3
:
IsAbleToRemove
()
and
not
tc2
:
IsAbleToRemove
())
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
60150810
,
0
))
then
Duel
.
BreakEffect
()
Duel
.
DisableShuffleCheck
()
Duel
.
Remove
(
tc3
,
POS_FACEUP
,
REASON_EFFECT
)
elseif
(
not
tc3
:
IsAbleToRemove
()
and
tc2
:
IsAbleToRemove
())
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
60150810
,
0
))
then
Duel
.
BreakEffect
()
Duel
.
DisableShuffleCheck
()
Duel
.
Remove
(
tc2
,
POS_FACEUP
,
REASON_EFFECT
)
end
end
end
function
c60150811
.
valcon
(
e
,
re
,
r
,
rp
)
...
...
expansions/script/c60150812.lua
View file @
63043605
...
...
@@ -53,5 +53,26 @@ function c60150812.activate2(e,tp,eg,ep,ev,re,r,rp)
elseif
tc
:
IsAbleToRemove
()
and
not
tc
:
IsAbleToGrave
()
then
Duel
.
Remove
(
tc
,
POS_FACEDOWN
,
REASON_EFFECT
)
end
local
tc3
=
Duel
.
GetFieldCard
(
tp
,
LOCATION_DECK
,
0
)
local
tc2
=
Duel
.
GetFieldCard
(
tp
,
0
,
LOCATION_DECK
)
if
(
tc3
:
IsAbleToRemove
()
and
tc2
:
IsAbleToRemove
())
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
60150810
,
0
))
then
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
60150810
,
1
))
then
Duel
.
BreakEffect
()
Duel
.
DisableShuffleCheck
()
Duel
.
Remove
(
tc2
,
POS_FACEUP
,
REASON_EFFECT
)
else
Duel
.
BreakEffect
()
Duel
.
DisableShuffleCheck
()
Duel
.
Remove
(
tc3
,
POS_FACEUP
,
REASON_EFFECT
)
end
elseif
(
tc3
:
IsAbleToRemove
()
and
not
tc2
:
IsAbleToRemove
())
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
60150810
,
0
))
then
Duel
.
BreakEffect
()
Duel
.
DisableShuffleCheck
()
Duel
.
Remove
(
tc3
,
POS_FACEUP
,
REASON_EFFECT
)
elseif
(
not
tc3
:
IsAbleToRemove
()
and
tc2
:
IsAbleToRemove
())
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
60150810
,
0
))
then
Duel
.
BreakEffect
()
Duel
.
DisableShuffleCheck
()
Duel
.
Remove
(
tc2
,
POS_FACEUP
,
REASON_EFFECT
)
end
end
end
expansions/script/c60150817.lua
View file @
63043605
...
...
@@ -57,10 +57,25 @@ function c60150817.spop2(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
local
tc
=
Duel
.
GetFieldCard
(
tp
,
LOCATION_DECK
,
0
)
if
tc
:
IsAbleToRemove
()
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
60150810
,
0
))
then
local
tc2
=
Duel
.
GetFieldCard
(
tp
,
0
,
LOCATION_DECK
)
if
(
tc
:
IsAbleToRemove
()
and
tc2
:
IsAbleToRemove
())
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
60150810
,
0
))
then
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
60150810
,
1
))
then
Duel
.
BreakEffect
()
Duel
.
DisableShuffleCheck
()
Duel
.
Remove
(
tc2
,
POS_FACEUP
,
REASON_EFFECT
)
else
Duel
.
BreakEffect
()
Duel
.
DisableShuffleCheck
()
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
)
end
elseif
(
tc
:
IsAbleToRemove
()
and
not
tc2
:
IsAbleToRemove
())
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
60150810
,
0
))
then
Duel
.
BreakEffect
()
Duel
.
DisableShuffleCheck
()
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
)
elseif
(
not
tc
:
IsAbleToRemove
()
and
tc2
:
IsAbleToRemove
())
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
60150810
,
0
))
then
Duel
.
BreakEffect
()
Duel
.
DisableShuffleCheck
()
Duel
.
Remove
(
tc2
,
POS_FACEUP
,
REASON_EFFECT
)
end
end
end
\ No newline at end of file
expansions/script/c60150819.lua
View file @
63043605
...
...
@@ -39,10 +39,25 @@ function c60150819.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
local
tc
=
Duel
.
GetFieldCard
(
tp
,
LOCATION_DECK
,
0
)
if
tc
:
IsAbleToRemove
()
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
60150810
,
0
))
then
local
tc2
=
Duel
.
GetFieldCard
(
tp
,
0
,
LOCATION_DECK
)
if
(
tc
:
IsAbleToRemove
()
and
tc2
:
IsAbleToRemove
())
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
60150810
,
0
))
then
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
60150810
,
1
))
then
Duel
.
BreakEffect
()
Duel
.
DisableShuffleCheck
()
Duel
.
Remove
(
tc2
,
POS_FACEUP
,
REASON_EFFECT
)
else
Duel
.
BreakEffect
()
Duel
.
DisableShuffleCheck
()
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
)
end
elseif
(
tc
:
IsAbleToRemove
()
and
not
tc2
:
IsAbleToRemove
())
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
60150810
,
0
))
then
Duel
.
BreakEffect
()
Duel
.
DisableShuffleCheck
()
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
)
elseif
(
not
tc
:
IsAbleToRemove
()
and
tc2
:
IsAbleToRemove
())
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
60150810
,
0
))
then
Duel
.
BreakEffect
()
Duel
.
DisableShuffleCheck
()
Duel
.
Remove
(
tc2
,
POS_FACEUP
,
REASON_EFFECT
)
end
end
end
\ No newline at end of file
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