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
REIKAI
ygopro-222DIY-cards
Commits
fff53c93
Commit
fff53c93
authored
Dec 02, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hop
parent
36a32609
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
15 deletions
+20
-15
expansions/FiNALE.cdb
expansions/FiNALE.cdb
+0
-0
expansions/script/c65050009.lua
expansions/script/c65050009.lua
+19
-14
expansions/script/c65050010.lua
expansions/script/c65050010.lua
+1
-1
No files found.
expansions/FiNALE.cdb
View file @
fff53c93
No preview for this file type
expansions/script/c65050009.lua
View file @
fff53c93
...
@@ -19,6 +19,9 @@ function c65050009.filter2(c,e,tp,rc)
...
@@ -19,6 +19,9 @@ function c65050009.filter2(c,e,tp,rc)
or
not
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_RITUAL
,
tp
,
false
,
true
)
then
return
false
end
or
not
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_RITUAL
,
tp
,
false
,
true
)
then
return
false
end
return
rc
:
IsCanBeRitualMaterial
(
c
)
and
c
:
IsSetCard
(
0x3da1
)
and
c
:
GetLevel
()
==
rc
:
GetLevel
()
return
rc
:
IsCanBeRitualMaterial
(
c
)
and
c
:
IsSetCard
(
0x3da1
)
and
c
:
GetLevel
()
==
rc
:
GetLevel
()
end
end
function
c65050009
.
filter1
(
c
,
e
,
tp
)
return
bit
.
band
(
c
:
GetType
(),
0x81
)
==
0x81
and
c
:
IsSetCard
(
0x3da1
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_RITUAL
,
tp
,
false
,
true
)
end
function
c65050009
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c65050009
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c65050009
.
filter0
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c65050009
.
filter0
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
+
LOCATION_GRAVE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
+
LOCATION_GRAVE
)
...
@@ -26,24 +29,26 @@ end
...
@@ -26,24 +29,26 @@ end
function
c65050009
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c65050009
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
m
=
Duel
.
GetMatchingGroup
(
Card
.
IsCode
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
65050012
)
local
m
=
Duel
.
GetMatchingGroup
(
Card
.
IsCode
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
65050012
)
local
mg1
=
m
:
Filter
(
c65050009
.
filter0
,
nil
,
e
,
tp
)
local
mg1
=
m
:
Filter
(
c65050009
.
filter0
,
nil
,
e
,
tp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
ttg
=
Duel
.
GetMatchingGroup
(
c65050009
.
filter1
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
nil
,
e
,
tp
)
local
mg2
=
mg1
:
Select
(
tp
,
1
,
mg1
:
GetCount
(),
nil
)
local
ritg
=
Group
.
CreateGroup
()
local
mc
=
mg2
:
GetFirst
()
while
Duel
.
IsExistingMatchingCard
(
c65050009
.
filter0
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
e
,
tp
)
do
local
ritg
=
Group
.
CreateGroup
()
local
mg
=
m
:
FilterSelect
(
tp
,
c65050009
.
filter0
,
1
,
1
,
nil
,
e
,
tp
)
while
mc
do
local
mc
=
mg
:
GetFirst
()
local
tg
=
Duel
.
SelectMatchingCard
(
tp
,
c65050009
.
filter2
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
,
mc
)
local
tg
=
ttg
:
FilterSelect
(
tp
,
c65050009
.
filter2
,
1
,
1
,
nil
,
e
,
tp
,
mc
)
local
tc
=
tg
:
GetFirst
()
ttg
:
Sub
(
tg
)
local
mcg
=
Group
.
FromCards
(
mc
)
local
tc
=
tg
:
GetFirst
()
tc
:
SetMaterial
(
mcg
)
tc
:
SetMaterial
(
mg
)
ritg
:
AddCard
(
tc
)
Duel
.
Release
(
mg
,
REASON_EFFECT
)
mc
=
mg2
:
GetNext
()
ritg
:
AddCard
(
tc
)
end
if
Duel
.
IsExistingMatchingCard
(
c65050009
.
filter0
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
e
,
tp
)
and
not
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
65050009
,
0
))
then
break
end
if
ritg
:
GetCount
()
>
0
and
Duel
.
Release
(
mg2
,
REASON_EFFECT
+
REASON_RITUAL
)
==
mg2
:
GetCount
()
then
end
if
ritg
:
GetCount
()
>
0
then
local
rit
=
ritg
:
GetFirst
()
local
rit
=
ritg
:
GetFirst
()
while
rit
do
while
rit
do
Duel
.
SpecialSummon
(
rit
,
SUMMON_TYPE_RITUAL
,
tp
,
tp
,
false
,
true
,
POS_FACEUP
)
Duel
.
SpecialSummon
Step
(
rit
,
SUMMON_TYPE_RITUAL
,
tp
,
tp
,
false
,
true
,
POS_FACEUP
)
rit
:
CompleteProcedure
()
rit
:
CompleteProcedure
()
rit
=
ritg
:
GetNext
()
rit
=
ritg
:
GetNext
()
end
end
Duel
.
SpecialSummonComplete
()
end
end
end
end
\ No newline at end of file
expansions/script/c65050010.lua
View file @
fff53c93
...
@@ -60,7 +60,7 @@ function c65050010.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -60,7 +60,7 @@ function c65050010.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c65050010
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c65050010
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ec
=
re
:
GetHandler
()
local
ec
=
re
:
GetHandler
()
if
Duel
.
NegateActivation
(
ev
)
and
ec
:
IsRelateToEffect
(
re
)
and
e
:
GetLabel
()
==
1
then
if
Duel
.
NegateActivation
(
ev
)
and
ec
:
IsRelateToEffect
(
re
)
and
e
:
GetLabel
()
==
1
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
65050010
,
0
))
then
ec
:
CancelToGrave
()
ec
:
CancelToGrave
()
Duel
.
SendtoDeck
(
ec
,
nil
,
2
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
ec
,
nil
,
2
,
REASON_EFFECT
)
end
end
...
...
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