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
c3ae547c
Commit
c3ae547c
authored
Feb 01, 2021
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wdnmd
parent
15c6bd95
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
7 deletions
+13
-7
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/pics/26806012.jpg
expansions/pics/26806012.jpg
+0
-0
expansions/script/c12019004.lua
expansions/script/c12019004.lua
+5
-2
expansions/script/c12019060.lua
expansions/script/c12019060.lua
+4
-1
expansions/script/c12040051.lua
expansions/script/c12040051.lua
+3
-3
expansions/script/c9910083.lua
expansions/script/c9910083.lua
+1
-1
No files found.
expansions/222DIY.cdb
View file @
c3ae547c
No preview for this file type
expansions/pics/26806012.jpg
View replaced file @
15c6bd95
View file @
c3ae547c
90.4 KB
|
W:
|
H:
229 KB
|
W:
|
H:
2-up
Swipe
Onion skin
expansions/script/c12019004.lua
View file @
c3ae547c
...
...
@@ -22,6 +22,9 @@ end
function
cm
.
cffilter
(
c
,
tp
)
return
not
c
:
IsPublic
()
end
function
cm
.
thfilter
(
c
,
code
)
return
c
:
IsAbleToHand
()
and
c
:
IsCode
(
code
)
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
cffilter
,
tp
,
LOCATION_HAND
,
0
,
2
,
nil
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
0
,
tp
,
LOCATION_DECK
)
...
...
@@ -31,11 +34,11 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONFIRM
)
local
tt
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
cffilter
,
tp
,
LOCATION_HAND
,
0
,
2
,
2
,
nil
,
tp
)
Duel
.
ConfirmCards
(
1
-
tp
,
tt
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_ATOHAND
)
local
tc
=
tt
:
Select
(
1
-
tp
,
1
,
1
,
nil
)
local
code
=
tc
:
GetFirst
():
GetOriginalCodeRule
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
th
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
filter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
63
,
nil
,
code
)
local
th
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
thfilter
,
tp
,
LOCATION_DECK
,
1
,
63
,
nil
,
code
)
Duel
.
SendtoHand
(
th
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
th
)
end
\ No newline at end of file
expansions/script/c12019060.lua
View file @
c3ae547c
...
...
@@ -32,11 +32,14 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
ft
<=
0
then
return
end
local
tc
=
Duel
.
GetFirstTarget
()
if
t
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
then
if
t
rue
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
filter2
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
tc
:
GetCode
(),
e
,
tp
)
if
sg
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
sg
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
then
Duel
.
SendtoDeck
(
tc
,
nil
,
2
,
REASON_EFFECT
)
end
end
end
end
\ No newline at end of file
expansions/script/c12040051.lua
View file @
c3ae547c
...
...
@@ -87,14 +87,14 @@ end
function
cm
.
spop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
m
,
1
))
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
spfilter1
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
and
Duel
.
SpecialSummon
Step
(
g
,
0
,
tp
,
1
-
tp
,
false
,
false
,
POS_FACEUP_ATTACK
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
if
g
:
GetCount
()
>
0
and
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
1
-
tp
,
false
,
false
,
POS_FACEUP_ATTACK
)
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
()
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
2
))
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
)
e1
:
SetCode
(
EFFECT_INDESTRUCTABLE_BATTLE
)
e1
:
SetValue
(
1
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
g
:
GetFirst
()
:
RegisterEffect
(
e1
)
end
end
\ No newline at end of file
expansions/script/c9910083.lua
View file @
c3ae547c
...
...
@@ -44,7 +44,7 @@ function c9910083.activate(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
<
5
then
return
end
Duel
.
ConfirmDecktop
(
tp
,
5
)
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
5
)
local
sg
=
g
:
Filter
(
Card
.
IsRace
,
1
,
nil
,
RACE_FAIRY
)
local
sg
=
g
:
Filter
(
Card
.
IsRace
,
nil
,
RACE_FAIRY
)
if
g
:
GetCount
()
>
0
and
g
:
IsExists
(
c9910083
.
thfilter
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
9910083
,
0
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
sg1
=
g
:
FilterSelect
(
tp
,
c9910083
.
thfilter
,
1
,
1
,
nil
)
...
...
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