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
Nguyễn Anh Kiệt
ygopro-222DIY-cards
Commits
11df83eb
Commit
11df83eb
authored
Jul 22, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1145141919810
parent
a6ec2f3b
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
16 additions
and
14 deletions
+16
-14
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c10700221.lua
expansions/script/c10700221.lua
+1
-1
expansions/script/c13257359.lua
expansions/script/c13257359.lua
+3
-1
expansions/script/c13257360.lua
expansions/script/c13257360.lua
+1
-1
expansions/script/c33200951.lua
expansions/script/c33200951.lua
+1
-1
expansions/script/c33200952.lua
expansions/script/c33200952.lua
+1
-1
expansions/script/c33200953.lua
expansions/script/c33200953.lua
+1
-1
expansions/script/c33200954.lua
expansions/script/c33200954.lua
+1
-1
expansions/script/c33200955.lua
expansions/script/c33200955.lua
+1
-1
expansions/script/c33200956.lua
expansions/script/c33200956.lua
+1
-1
expansions/script/c33200959.lua
expansions/script/c33200959.lua
+2
-2
expansions/script/c51310071.lua
expansions/script/c51310071.lua
+1
-1
expansions/script/c51310081.lua
expansions/script/c51310081.lua
+1
-1
expansions/script/c51310111.lua
expansions/script/c51310111.lua
+1
-1
No files found.
expansions/222DIY.cdb
View file @
11df83eb
No preview for this file type
expansions/script/c10700221.lua
View file @
11df83eb
...
...
@@ -101,7 +101,7 @@ function cm.tfcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Release
(
g
,
REASON_COST
)
end
function
cm
.
tffilter
(
c
,
tp
)
return
c
:
IsType
(
TYPE_SPELL
)
and
not
c
:
IsType
(
TYPE_FIELD
)
and
c
:
IsSetCard
(
0x480
,
0xa01
)
and
not
c
:
IsForbidden
()
return
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsType
(
TYPE_CONTINUOUS
)
and
c
:
IsSetCard
(
0x480
,
0xa01
)
and
not
c
:
IsForbidden
()
end
function
cm
.
tftg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
...
...
expansions/script/c13257359.lua
View file @
11df83eb
...
...
@@ -106,7 +106,9 @@ end
function
cm
.
pctg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
end
local
ct1
=
eg
:
GetCount
()
local
ct1
=
0
--for power capsule
if
eg
then
ct1
=
eg
:
GetCount
()
end
local
t1
=
ct1
>
0
local
op
=
0
local
m1
=
{}
...
...
expansions/script/c13257360.lua
View file @
11df83eb
...
...
@@ -76,7 +76,7 @@ function cm.initial_effect(c)
end
function
cm
.
spfilter
(
c
,
ft
,
tp
)
return
c
:
IsSetCard
(
0x351
)
and
c
:
IsControler
(
tp
)
and
c
:
IsAbleToDeckAsCost
and
(
ft
>
0
or
c
:
GetSequence
()
<
5
)
and
c
:
IsControler
(
tp
)
and
c
:
IsAbleToDeckAsCost
()
and
(
ft
>
0
or
c
:
GetSequence
()
<
5
)
end
function
cm
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
...
...
expansions/script/c33200951.lua
View file @
11df83eb
...
...
@@ -52,7 +52,7 @@ function c33200951.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
local
mg
=
Duel
.
GetRitualMaterial
(
tp
):
Filter
(
c33200951
.
refilter
,
nil
)
local
mg2
=
Duel
.
GetMatchingGroup
(
Card
.
IsReleasable
,
tp
,
LOCATION_PZONE
,
0
,
e
:
GetHandler
())
mg
:
Merge
(
mg2
)
if
chk
==
0
then
return
Duel
.
Get
LocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
Get
FieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>
4
and
mg
:
GetCount
()
>
0
end
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>
4
and
mg
:
GetCount
()
>
0
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
c33200951
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c33200952.lua
View file @
11df83eb
...
...
@@ -55,7 +55,7 @@ function c33200952.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
local
mg
=
Duel
.
GetRitualMaterial
(
tp
):
Filter
(
c33200951
.
refilter
,
nil
)
local
mg2
=
Duel
.
GetMatchingGroup
(
Card
.
IsReleasable
,
tp
,
LOCATION_PZONE
,
0
,
e
:
GetHandler
())
mg
:
Merge
(
mg2
)
if
chk
==
0
then
return
Duel
.
Get
LocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
Get
FieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>
4
and
mg
:
GetCount
()
>
0
end
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>
4
and
mg
:
GetCount
()
>
0
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
c33200952
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c33200953.lua
View file @
11df83eb
...
...
@@ -55,7 +55,7 @@ function c33200953.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
local
mg
=
Duel
.
GetRitualMaterial
(
tp
):
Filter
(
c33200951
.
refilter
,
nil
)
local
mg2
=
Duel
.
GetMatchingGroup
(
Card
.
IsReleasable
,
tp
,
LOCATION_PZONE
,
0
,
e
:
GetHandler
())
mg
:
Merge
(
mg2
)
if
chk
==
0
then
return
Duel
.
Get
LocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
Get
FieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>
4
and
mg
:
GetCount
()
>
0
end
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>
4
and
mg
:
GetCount
()
>
0
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
c33200953
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c33200954.lua
View file @
11df83eb
...
...
@@ -55,7 +55,7 @@ function c33200954.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
local
mg
=
Duel
.
GetRitualMaterial
(
tp
):
Filter
(
c33200951
.
refilter
,
nil
)
local
mg2
=
Duel
.
GetMatchingGroup
(
Card
.
IsReleasable
,
tp
,
LOCATION_PZONE
,
0
,
e
:
GetHandler
())
mg
:
Merge
(
mg2
)
if
chk
==
0
then
return
Duel
.
Get
LocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
Get
FieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>
4
and
mg
:
GetCount
()
>
0
end
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>
4
and
mg
:
GetCount
()
>
0
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
c33200954
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c33200955.lua
View file @
11df83eb
...
...
@@ -55,7 +55,7 @@ function c33200955.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
local
mg
=
Duel
.
GetRitualMaterial
(
tp
):
Filter
(
c33200951
.
refilter
,
nil
)
local
mg2
=
Duel
.
GetMatchingGroup
(
Card
.
IsReleasable
,
tp
,
LOCATION_PZONE
,
0
,
e
:
GetHandler
())
mg
:
Merge
(
mg2
)
if
chk
==
0
then
return
Duel
.
Get
LocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
Get
FieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>
4
and
mg
:
GetCount
()
>
0
end
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>
4
and
mg
:
GetCount
()
>
0
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
c33200955
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c33200956.lua
View file @
11df83eb
...
...
@@ -54,7 +54,7 @@ function c33200956.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
local
mg
=
Duel
.
GetRitualMaterial
(
tp
):
Filter
(
c33200951
.
refilter
,
nil
)
local
mg2
=
Duel
.
GetMatchingGroup
(
Card
.
IsReleasable
,
tp
,
LOCATION_PZONE
,
0
,
e
:
GetHandler
())
mg
:
Merge
(
mg2
)
if
chk
==
0
then
return
Duel
.
Get
LocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
Get
FieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>
4
and
mg
:
GetCount
()
>
0
end
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>
4
and
mg
:
GetCount
()
>
0
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
c33200956
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c33200959.lua
View file @
11df83eb
...
...
@@ -75,7 +75,7 @@ end
--e3
function
c33200959
.
sptg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>
4
end
if
chk
==
0
then
return
TRUE
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
c33200959
.
dspfilter
(
c
,
e
,
tp
,
atk
)
...
...
@@ -88,7 +88,7 @@ function c33200959.spop2(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
5
)
local
ct
=
g
:
GetCount
()
local
atk
=
c
:
GetAttack
()
if
ct
>
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
g
:
FilterCount
(
c33200959
.
dspfilter
,
nil
,
e
,
tp
,
atk
)
>
0
if
ct
>
0
and
g
:
FilterCount
(
c33200959
.
dspfilter
,
nil
,
e
,
tp
,
atk
)
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
33200959
,
2
))
then
Duel
.
DisableShuffleCheck
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
...
...
expansions/script/c51310071.lua
View file @
11df83eb
...
...
@@ -51,7 +51,7 @@ function cm.spcon(e,tp,eg,ep,ev,re,r,rp)
return
bit
.
band
(
r
,
REASON_EFFECT
+
REASON_BATTLE
)
~=
0
and
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
end
function
cm
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0xa00
)
and
c
:
IsFaceup
()
and
(
c
:
IsLevel
(
7
)
or
c
:
IsRankAbove
(
3
))
and
c
:
IsRace
(
RACE_DRAGON
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
)
return
c
:
IsSetCard
(
0xa00
)
and
c
:
IsFaceup
()
and
not
c
:
IsCode
(
m
)
and
(
c
:
IsLevel
(
7
)
or
c
:
IsRankAbove
(
3
))
and
c
:
IsRace
(
RACE_DRAGON
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
)
end
function
cm
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
expansions/script/c51310081.lua
View file @
11df83eb
...
...
@@ -80,7 +80,7 @@ function cm.spcon(e,tp,eg,ep,ev,re,r,rp)
return
bit
.
band
(
r
,
REASON_EFFECT
+
REASON_BATTLE
)
~=
0
and
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
end
function
cm
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0xa00
)
and
c
:
IsFaceup
()
and
(
c
:
IsLevel
(
7
)
or
c
:
IsRankAbove
(
3
))
and
c
:
IsRace
(
RACE_DRAGON
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
)
return
c
:
IsSetCard
(
0xa00
)
and
c
:
IsFaceup
()
and
not
c
:
IsCode
(
m
)
and
(
c
:
IsLevel
(
7
)
or
c
:
IsRankAbove
(
3
))
and
c
:
IsRace
(
RACE_DRAGON
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
)
end
function
cm
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
expansions/script/c51310111.lua
View file @
11df83eb
...
...
@@ -84,7 +84,7 @@ function cm.spcon(e,tp,eg,ep,ev,re,r,rp)
return
bit
.
band
(
r
,
REASON_EFFECT
+
REASON_BATTLE
)
~=
0
and
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
end
function
cm
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0xa00
)
and
c
:
IsFaceup
()
and
(
c
:
IsLevel
(
7
)
or
c
:
IsRankAbove
(
3
))
and
c
:
IsRace
(
RACE_DRAGON
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
)
return
c
:
IsSetCard
(
0xa00
)
and
c
:
IsFaceup
()
and
not
c
:
IsCode
(
m
)
and
(
c
:
IsLevel
(
7
)
or
c
:
IsRankAbove
(
3
))
and
c
:
IsRace
(
RACE_DRAGON
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
)
end
function
cm
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
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