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
0c7d7196
Commit
0c7d7196
authored
Jan 29, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eme
parent
44a3f6bd
Pipeline
#9056
passed with stages
in 31 minutes and 35 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
11 deletions
+9
-11
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c60002022.lua
expansions/script/c60002022.lua
+6
-8
expansions/script/c9330016.lua
expansions/script/c9330016.lua
+3
-3
No files found.
expansions/222DIY.cdb
View file @
0c7d7196
No preview for this file type
expansions/script/c60002022.lua
View file @
0c7d7196
...
...
@@ -39,11 +39,10 @@ function cm.acop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
<
10
then
return
end
Duel
.
ConfirmDecktop
(
tp
,
10
)
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
10
)
local
g
=
g
:
Filter
(
cm
.
ckfil
,
nil
)
local
count
=
g
:
FilterCount
(
cm
.
ckfil
,
nil
)
--counter and 0x629
local
cg
=
Group
.
CreateGroup
()
if
g
:
GetCount
()
>=
0
and
g
:
FilterCount
(
cm
.
thfil1
,
nil
)
>
0
then
local
g2
=
g
:
FilterSelect
(
tp
,
cm
.
thfil1
,
1
,
1
,
nil
)
local
tc
=
g2
:
GetFirst
()
if
count
>=
0
and
g
:
FilterCount
(
cm
.
thfil1
,
nil
)
>
0
then
local
tc
=
g
:
FilterSelect
(
tp
,
cm
.
thfil1
,
1
,
1
,
nil
):
GetFirst
()
if
Duel
.
SendtoHand
(
tc
,
tp
,
REASON_EFFECT
)
>
0
then
cg
:
AddCard
(
tc
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
...
...
@@ -58,12 +57,11 @@ function cm.acop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
if
g
:
GetCount
()
>=
2
and
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
then
local
dc
=
Duel
.
GetDecktopGroup
(
tp
,
1
):
GetFirst
()
cg
:
AddCard
(
dc
)
if
count
>=
2
and
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
then
cg
:
Merge
(
Duel
.
GetDecktopGroup
(
tp
,
1
))
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
end
if
g
:
GetCount
()
>=
4
and
g
:
FilterCount
(
Card
.
IsAbleToHand
,
cg
)
>
0
then
if
count
>=
4
and
g
:
FilterCount
(
Card
.
IsAbleToHand
,
cg
)
>
0
then
local
g3
=
g
:
FilterSelect
(
tp
,
Card
.
IsAbleToHand
,
1
,
1
,
cg
)
Duel
.
SendtoHand
(
g3
,
tp
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g3
)
...
...
expansions/script/c9330016.lua
View file @
0c7d7196
...
...
@@ -26,7 +26,7 @@ function c9330016.initial_effect(c)
e2
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e2
:
SetCondition
(
c9330016
.
condition1
)
e2
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0xaf93
))
e2
:
SetValue
(
10
00
)
e2
:
SetValue
(
8
00
)
c
:
RegisterEffect
(
e2
)
local
e3
=
e2
:
Clone
()
e3
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
...
...
@@ -83,11 +83,11 @@ function c9330016.activate(e,tp,eg,ep,ev,re,r,rp)
mg1
:
Remove
(
Card
.
IsLocation
,
nil
,
LOCATION_HAND
)
local
mg2
=
Duel
.
GetMatchingGroup
(
c9330016
.
mfilter
,
tp
,
0
,
LOCATION_MZONE
,
nil
,
e
)
mg1
:
Merge
(
mg2
)
if
Duel
.
IsExistingMatchingCard
(
aux
.
RitualUltimateFilter
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
,
0
,
1
,
nil
,
c9330016
.
filter1
,
e
,
tp
,
mg1
,
nil
,
Card
.
GetLevel
,
"Equal"
)
if
Duel
.
IsExistingMatchingCard
(
aux
.
RitualUltimateFilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
c9330016
.
filter1
,
e
,
tp
,
mg1
,
nil
,
Card
.
GetLevel
,
"Equal"
)
and
Duel
.
IsExistingMatchingCard
(
c9330016
.
filter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
9330016
,
0
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
tg
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
RitualUltimateFilter
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
c9330016
.
filter1
,
e
,
tp
,
mg1
,
nil
,
Card
.
GetLevel
,
"Equal"
)
local
tg
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
RitualUltimateFilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
c9330016
.
filter1
,
e
,
tp
,
mg1
,
nil
,
Card
.
GetLevel
,
"Equal"
)
local
tc
=
tg
:
GetFirst
()
if
tc
then
local
mg
=
mg1
:
Filter
(
Card
.
IsCanBeRitualMaterial
,
tc
,
tc
)
...
...
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