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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
e12ec93c
Commit
e12ec93c
authored
Oct 19, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
54188
parent
d9765306
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
11 deletions
+8
-11
expansions/FiNALE.cdb
expansions/FiNALE.cdb
+0
-0
expansions/script/c18700136.lua
expansions/script/c18700136.lua
+2
-2
expansions/script/c79201012.lua
expansions/script/c79201012.lua
+1
-1
expansions/script/c79250035.lua
expansions/script/c79250035.lua
+5
-8
No files found.
expansions/FiNALE.cdb
View file @
e12ec93c
No preview for this file type
expansions/script/c18700136.lua
View file @
e12ec93c
--
奇物收容与探寻
--
朔月寻物 奇归黑塔
local
m
=
18700136
local
m
=
18700136
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
xpcall
(
function
()
require
(
"expansions/script/1"
)
end
,
function
()
require
(
"script/1"
)
end
)
xpcall
(
function
()
require
(
"expansions/script/1"
)
end
,
function
()
require
(
"script/1"
)
end
)
...
@@ -51,7 +51,7 @@ function cm.filter2(c)
...
@@ -51,7 +51,7 @@ function cm.filter2(c)
return
c
:
IsSetCard
(
0x822
)
and
not
c
:
IsPublic
()
return
c
:
IsSetCard
(
0x822
)
and
not
c
:
IsPublic
()
end
end
function
cm
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
cm
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
,
g1
:
GetCount
()
)
and
Duel
.
IsExistingMatchingCard
(
nil
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
and
Duel
.
IsExistingMatchingCard
(
nil
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
,
0
,
1
,
nil
)
end
end
end
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
filter2
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
,
0
,
1
,
8
,
nil
,
tp
)
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
filter2
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
,
0
,
1
,
8
,
nil
,
tp
)
...
...
expansions/script/c79201012.lua
View file @
e12ec93c
...
@@ -37,7 +37,7 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -37,7 +37,7 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
cl
=
c
:
GetLevel
()
local
cl
=
c
:
GetLevel
()
local
g
=
Duel
.
GetMatchingGroup
(
s
.
filter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
filter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
1
and
c
:
IsAbleToDeck
()
and
g
:
CheckWithSumEqual
(
Card
.
GetLevel
,
cl
,
1
,
99
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
c
:
IsAbleToDeck
()
and
g
:
CheckWithSumEqual
(
Card
.
GetLevel
,
cl
,
1
,
99
)
and
Duel
.
IsExistingMatchingCard
(
s
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
end
and
Duel
.
IsExistingMatchingCard
(
s
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
g
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
g
,
tp
,
LOCATION_DECK
)
end
end
...
...
expansions/script/c79250035.lua
View file @
e12ec93c
...
@@ -114,15 +114,12 @@ function s.retop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -114,15 +114,12 @@ function s.retop(e,tp,eg,ep,ev,re,r,rp)
tc
=
sg
:
GetNext
()
tc
=
sg
:
GetNext
()
end
end
end
end
function
s
.
chfilter1
(
c
,
e
)
function
s
.
chfilter
(
c
,
e
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsLevelAbove
(
1
)
and
c
:
IsCanBeEffectTarget
(
e
)
and
not
c
:
IsType
(
TYPE_LINK
+
TYPE_XYZ
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsLevelAbove
(
1
)
and
c
:
IsCanBeEffectTarget
(
e
)
and
c
:
IsHasLevel
()
end
function
s
.
chfilter2
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsLevelAbove
(
1
)
end
end
function
s
.
chtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
chtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chkc
then
return
c
.
chfilter
1
()
and
chkc
:
IsControler
(
tp
)
end
if
chkc
then
return
c
.
chfilter
()
and
chkc
:
IsControler
(
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
chfilter
1
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
chfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
local
g
=
Duel
.
SelectTarget
(
tp
,
s
.
lvfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
e
)
local
g
=
Duel
.
SelectTarget
(
tp
,
s
.
lvfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
e
)
e
:
SetLabel
(
g
:
GetFirst
():
GetOriginalLevel
())
e
:
SetLabel
(
g
:
GetFirst
():
GetOriginalLevel
())
...
@@ -131,7 +128,7 @@ function s.chop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -131,7 +128,7 @@ function s.chop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
lv
=
e
:
GetLabel
()
local
lv
=
e
:
GetLabel
()
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
then
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
then
local
g
=
Duel
.
GetMatchingGroup
(
s
.
chfilter
2
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
chfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
while
tc
do
while
tc
do
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
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