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
b68197cc
Commit
b68197cc
authored
Jul 26, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
byd
parent
5841280e
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
17 additions
and
8 deletions
+17
-8
expansions/FiNALE.cdb
expansions/FiNALE.cdb
+0
-0
expansions/script/c33500121.lua
expansions/script/c33500121.lua
+2
-2
expansions/script/c47320113.lua
expansions/script/c47320113.lua
+2
-1
expansions/script/c47320114.lua
expansions/script/c47320114.lua
+2
-1
expansions/script/c47320115.lua
expansions/script/c47320115.lua
+2
-1
expansions/script/c50224525.lua
expansions/script/c50224525.lua
+1
-0
expansions/script/c50224530.lua
expansions/script/c50224530.lua
+1
-0
expansions/script/c50224535.lua
expansions/script/c50224535.lua
+1
-0
expansions/script/c50224540.lua
expansions/script/c50224540.lua
+1
-0
expansions/script/c50224545.lua
expansions/script/c50224545.lua
+2
-0
expansions/script/c50224550.lua
expansions/script/c50224550.lua
+1
-0
expansions/script/c75642012.lua
expansions/script/c75642012.lua
+2
-3
No files found.
expansions/FiNALE.cdb
View file @
b68197cc
No preview for this file type
expansions/script/c33500121.lua
View file @
b68197cc
...
...
@@ -26,8 +26,8 @@ function cm.cfilter(c,tp)
end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
e
:
SetLabel
(
0
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
REASON_COST
,
tp
,
cm
.
cfilter
,
1
,
nil
,
tp
)
end
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_COST
,
tp
,
cm
.
cfilter
,
1
,
1
,
nil
,
tp
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
cm
.
cfilter
,
1
,
nil
,
tp
)
end
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
cm
.
cfilter
,
1
,
1
,
nil
,
tp
)
if
g
:
GetFirst
():
IsSetCard
(
0xa82
)
then
e
:
SetLabel
(
1
)
end
Duel
.
Release
(
g
,
REASON_COST
)
end
...
...
expansions/script/c47320113.lua
View file @
b68197cc
...
...
@@ -46,7 +46,7 @@ function s.thfilter(c)
end
function
s
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
b1
=
Duel
.
IsExistingMatchingCard
(
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
local
b2
=
Duel
.
GetFlagEffect
(
tp
,
47320100
)
>=
5
local
b2
=
Duel
.
GetFlagEffect
(
tp
,
47320100
)
>=
5
and
Duel
.
GetFlagEffect
(
tp
,
id
)
==
0
if
chk
==
0
then
return
b1
or
b2
end
local
off
=
1
local
ops
,
opval
=
{},{}
...
...
@@ -97,6 +97,7 @@ function s.op(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCondition
(
s
.
spcon
)
e2
:
SetOperation
(
s
.
spop
)
Duel
.
RegisterEffect
(
e2
,
tp
)
Duel
.
RegisterFlagEffect
(
tp
,
id
,
0
,
0
,
0
)
end
end
function
s
.
spfilter
(
c
,
tp
)
...
...
expansions/script/c47320114.lua
View file @
b68197cc
...
...
@@ -43,7 +43,7 @@ function s.thfilter(c)
end
function
s
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
b1
=
Duel
.
IsExistingMatchingCard
(
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
local
b2
=
Duel
.
GetFlagEffect
(
tp
,
47320100
)
>=
5
local
b2
=
Duel
.
GetFlagEffect
(
tp
,
47320100
)
>=
5
and
Duel
.
GetFlagEffect
(
tp
,
id
)
==
0
if
chk
==
0
then
return
b1
or
b2
end
local
off
=
1
local
ops
,
opval
=
{},{}
...
...
@@ -95,6 +95,7 @@ function s.op(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetTarget
(
s
.
reftg
)
e1
:
SetValue
(
1
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterFlagEffect
(
tp
,
id
,
0
,
0
,
0
)
end
end
function
s
.
reftg
(
e
,
c
)
...
...
expansions/script/c47320115.lua
View file @
b68197cc
...
...
@@ -46,7 +46,7 @@ function s.thfilter(c)
end
function
s
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
b1
=
Duel
.
IsExistingMatchingCard
(
s
.
thfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
local
b2
=
Duel
.
GetFlagEffect
(
tp
,
47320100
)
>=
10
local
b2
=
Duel
.
GetFlagEffect
(
tp
,
47320100
)
>=
10
and
Duel
.
GetFlagEffect
(
tp
,
id
)
==
0
if
chk
==
0
then
return
b1
or
b2
end
local
off
=
1
local
ops
,
opval
=
{},{}
...
...
@@ -97,6 +97,7 @@ function s.op(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetCondition
(
s
.
discon
)
e1
:
SetOperation
(
s
.
disop
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterFlagEffect
(
tp
,
id
,
0
,
0
,
0
)
end
end
function
s
.
disfilter
(
c
)
...
...
expansions/script/c50224525.lua
View file @
b68197cc
...
...
@@ -67,6 +67,7 @@ function c50224525.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
0x32
)
end
function
c50224525
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
c50224525
.
spfilter
),
tp
,
0x32
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
#
g
>
0
then
...
...
expansions/script/c50224530.lua
View file @
b68197cc
...
...
@@ -74,6 +74,7 @@ function c50224530.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
0x32
)
end
function
c50224530
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
c50224530
.
spfilter
),
tp
,
0x32
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
#
g
>
0
then
...
...
expansions/script/c50224535.lua
View file @
b68197cc
...
...
@@ -77,6 +77,7 @@ function c50224535.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
0x32
)
end
function
c50224535
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
c50224535
.
spfilter
),
tp
,
0x32
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
#
g
>
0
then
...
...
expansions/script/c50224540.lua
View file @
b68197cc
...
...
@@ -85,6 +85,7 @@ function c50224540.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
0x32
)
end
function
c50224540
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
c50224540
.
spfilter
),
tp
,
0x32
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
#
g
>
0
then
...
...
expansions/script/c50224545.lua
View file @
b68197cc
...
...
@@ -44,6 +44,7 @@ function c50224545.spgtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
1
-
tp
,
LOCATION_GRAVE
)
end
function
c50224545
.
spgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsCanBeSpecialSummoned
,
tp
,
0
,
LOCATION_GRAVE
,
1
,
1
,
nil
,
e
,
0
,
tp
,
false
,
false
)
if
#
g
>
0
then
...
...
@@ -79,6 +80,7 @@ function c50224545.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
0x32
)
end
function
c50224545
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
c50224545
.
spfilter
),
tp
,
0x32
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
#
g
>
0
then
...
...
expansions/script/c50224550.lua
View file @
b68197cc
...
...
@@ -90,6 +90,7 @@ function c50224550.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
0x32
)
end
function
c50224550
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
c50224550
.
spfilter
),
tp
,
0x32
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
#
g
>
0
then
...
...
expansions/script/c75642012.lua
View file @
b68197cc
...
...
@@ -64,9 +64,8 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
eftg
(
e
,
c
)
local
ct1
=
aux
.
GetColumn
(
e
:
GetHandler
())
local
ct2
=
aux
.
GetColumn
(
c
)
return
math.abs
(
ct1
-
ct2
)
<=
1
local
seq
=
c
:
GetSequence
()
return
math.abs
(
e
:
GetHandler
():
GetSequence
()
-
seq
)
<=
1
end
function
s
.
spcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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