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
e46666ee
Commit
e46666ee
authored
Dec 13, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eme
parent
38e9f96a
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
41 additions
and
61 deletions
+41
-61
expansions/pics/75646973.jpg
expansions/pics/75646973.jpg
+0
-0
expansions/script/c16120009.lua
expansions/script/c16120009.lua
+2
-2
expansions/script/c75646951.lua
expansions/script/c75646951.lua
+7
-11
expansions/script/c75646954.lua
expansions/script/c75646954.lua
+7
-11
expansions/script/c75646958.lua
expansions/script/c75646958.lua
+9
-13
expansions/script/c75646961.lua
expansions/script/c75646961.lua
+1
-0
expansions/script/c75646962.lua
expansions/script/c75646962.lua
+7
-11
expansions/script/c75646967.lua
expansions/script/c75646967.lua
+7
-12
expansions/script/c75646973.lua
expansions/script/c75646973.lua
+1
-1
No files found.
expansions/pics/75646973.jpg
View replaced file @
38e9f96a
View file @
e46666ee
59.9 KB
|
W:
|
H:
53.3 KB
|
W:
|
H:
2-up
Swipe
Onion skin
expansions/script/c16120009.lua
View file @
e46666ee
...
...
@@ -61,11 +61,11 @@ function cm.sumsuc(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
function
cm
.
mttg
(
e
,
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToRemove
()
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToRemove
()
and
c
:
IsRace
(
RACE_FAIRY
)
end
function
cm
.
mtval
(
e
,
c
)
if
not
c
then
return
false
end
return
c
:
IsRace
(
RACE_FAIRY
)
return
true
end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
rmc
,
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
re
:
GetHandler
():
GetAttribute
())
end
...
...
expansions/script/c75646951.lua
View file @
e46666ee
...
...
@@ -53,18 +53,14 @@ function c75646951.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c75646951
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
e
c
=
re
:
GetHandler
()
local
r
c
=
re
:
GetHandler
()
if
Duel
.
NegateActivation
(
ev
)
then
if
ec
:
IsStatus
(
STATUS_LEAVE_CONFIRMED
)
then
ec
:
CancelToGrave
()
e
:
SetLabel
(
1
)
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
and
ec
:
IsRelateToEffect
(
re
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
75646967
,
2
))
and
ec
:
IsAbleToHand
()
then
Duel
.
BreakEffect
()
Duel
.
SendtoHand
(
ec
,
nil
,
REASON_EFFECT
)
elseif
e
:
GetLabel
()
==
1
then
ec
:
CancelToGrave
(
false
)
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
then
if
rc
:
IsRelateToEffect
(
re
)
and
not
rc
:
IsHasEffect
(
EFFECT_CANNOT_TO_HAND
)
and
Duel
.
IsPlayerCanSendtoHand
(
tp
,
rc
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
75646967
,
2
))
then
Duel
.
BreakEffect
()
rc
:
CancelToGrave
()
Duel
.
SendtoHand
(
rc
,
nil
,
REASON_EFFECT
)
end
end
end
end
...
...
expansions/script/c75646954.lua
View file @
e46666ee
...
...
@@ -43,21 +43,17 @@ function c75646954.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c75646954
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e
c
=
re
:
GetHandler
()
local
r
c
=
re
:
GetHandler
()
if
Duel
.
NegateActivation
(
ev
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
then
if
ec
:
IsStatus
(
STATUS_LEAVE_CONFIRMED
)
then
ec
:
CancelToGrave
()
e
:
SetLabel
(
1
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c75646954
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
if
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
and
ec
:
IsRelateToEffect
(
re
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
75646967
,
2
))
and
ec
:
IsAbleToHand
(
)
then
Duel
.
BreakEffect
()
Duel
.
SendtoHand
(
ec
,
nil
,
REASON_EFFECT
)
elseif
e
:
GetLabel
()
==
1
then
e
c
:
CancelToGrave
(
false
)
if
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
then
if
rc
:
IsRelateToEffect
(
re
)
and
not
rc
:
IsHasEffect
(
EFFECT_CANNOT_TO_HAND
)
and
Duel
.
IsPlayerCanSendtoHand
(
tp
,
rc
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
75646967
,
2
)
)
then
Duel
.
BreakEffect
()
rc
:
CancelToGrave
(
)
Duel
.
SendtoHand
(
rc
,
nil
,
REASON_EFFECT
)
e
nd
end
end
end
...
...
expansions/script/c75646958.lua
View file @
e46666ee
...
...
@@ -67,22 +67,18 @@ function c75646958.nstg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c75646958
.
nsop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ec
=
re
:
GetHandler
()
if
Duel
.
NegateActivation
(
ev
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
then
if
ec
:
IsStatus
(
STATUS_LEAVE_CONFIRMED
)
then
ec
:
CancelToGrave
()
e
:
SetLabel
(
1
)
end
local
rc
=
re
:
GetHandler
()
if
Duel
.
NegateActivation
(
ev
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c75646958
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
if
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
and
ec
:
IsRelateToEffect
(
re
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
75646967
,
2
))
and
ec
:
IsAbleToHand
(
)
then
Duel
.
SendtoHand
(
ec
,
nil
,
REASON_EFFECT
)
Duel
.
BreakEffect
()
elseif
e
:
GetLabel
()
==
1
then
e
c
:
CancelToGrave
(
false
)
if
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
then
if
rc
:
IsRelateToEffect
(
re
)
and
not
rc
:
IsHasEffect
(
EFFECT_CANNOT_TO_HAND
)
and
Duel
.
IsPlayerCanSendtoHand
(
tp
,
rc
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
75646967
,
2
)
)
then
Duel
.
BreakEffect
(
)
rc
:
CancelToGrave
()
Duel
.
SendtoHand
(
rc
,
nil
,
REASON_EFFECT
)
e
nd
end
end
end
end
end
\ No newline at end of file
expansions/script/c75646961.lua
View file @
e46666ee
...
...
@@ -17,6 +17,7 @@ function c75646961.initial_effect(c)
e2
:
SetCode
(
EVENT_SUMMON_NEGATED
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCountLimit
(
1
,
5646961
)
e2
:
SetCondition
(
c75646961
.
tdcon
)
e2
:
SetTarget
(
c75646961
.
tdtg
)
e2
:
SetOperation
(
c75646961
.
tdop
)
...
...
expansions/script/c75646962.lua
View file @
e46666ee
...
...
@@ -64,18 +64,14 @@ function c75646962.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c75646962
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
e
c
=
re
:
GetHandler
()
local
r
c
=
re
:
GetHandler
()
if
Duel
.
NegateActivation
(
ev
)
then
if
ec
:
IsStatus
(
STATUS_LEAVE_CONFIRMED
)
then
ec
:
CancelToGrave
()
e
:
SetLabel
(
1
)
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
and
ec
:
IsRelateToEffect
(
re
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
75646967
,
2
))
and
c
:
IsAbleToHand
()
then
Duel
.
BreakEffect
()
Duel
.
SendtoHand
(
ec
,
nil
,
REASON_EFFECT
)
elseif
e
:
GetLabel
()
==
1
then
ec
:
CancelToGrave
(
false
)
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
then
if
rc
:
IsRelateToEffect
(
re
)
and
not
rc
:
IsHasEffect
(
EFFECT_CANNOT_TO_HAND
)
and
Duel
.
IsPlayerCanSendtoHand
(
tp
,
rc
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
75646967
,
2
))
then
Duel
.
BreakEffect
()
rc
:
CancelToGrave
()
Duel
.
SendtoHand
(
rc
,
nil
,
REASON_EFFECT
)
end
end
end
end
\ No newline at end of file
expansions/script/c75646967.lua
View file @
e46666ee
...
...
@@ -63,19 +63,14 @@ function c75646967.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c75646967
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
e
c
=
re
:
GetHandler
()
local
r
c
=
re
:
GetHandler
()
if
Duel
.
NegateActivation
(
ev
)
then
if
ec
:
IsStatus
(
STATUS_LEAVE_CONFIRMED
)
then
ec
:
CancelToGrave
()
e
:
SetLabel
(
1
)
end
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
and
ec
:
IsRelateToEffect
(
re
)
and
ec
:
IsAbleToHand
()
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
75646967
,
2
))
then
Duel
.
BreakEffect
()
Duel
.
SendtoHand
(
ec
,
nil
,
REASON_EFFECT
)
elseif
e
:
GetLabel
()
==
1
then
ec
:
CancelToGrave
(
false
)
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
then
if
rc
:
IsRelateToEffect
(
re
)
and
not
rc
:
IsHasEffect
(
EFFECT_CANNOT_TO_HAND
)
and
Duel
.
IsPlayerCanSendtoHand
(
tp
,
rc
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
75646967
,
2
))
then
Duel
.
BreakEffect
()
rc
:
CancelToGrave
()
Duel
.
SendtoHand
(
rc
,
nil
,
REASON_EFFECT
)
end
end
end
end
\ No newline at end of file
expansions/script/c75646973.lua
View file @
e46666ee
...
...
@@ -23,7 +23,7 @@ function cm.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_SUMMON_NEGATED
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetRange
(
LOCATION_
HAN
D
+
LOCATION_GRAVE
)
e3
:
SetRange
(
LOCATION_
ONFIEL
D
+
LOCATION_GRAVE
)
e3
:
SetCountLimit
(
2
,
5646973
)
e3
:
SetCondition
(
cm
.
con
)
e3
:
SetTarget
(
cm
.
tg
)
...
...
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