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
Ai
ygopro-222DIY-cards
Commits
9133deea
Commit
9133deea
authored
Apr 06, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
md
parent
9e7b27ec
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c33400852.lua
expansions/script/c33400852.lua
+8
-8
No files found.
expansions/222DIY.cdb
View file @
9133deea
No preview for this file type
expansions/script/c33400852.lua
View file @
9133deea
...
@@ -60,6 +60,7 @@ function cm.initial_effect(c)
...
@@ -60,6 +60,7 @@ function cm.initial_effect(c)
e7
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e7
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e7
:
SetRange
(
LOCATION_SZONE
)
e7
:
SetRange
(
LOCATION_SZONE
)
e7
:
SetCountLimit
(
1
)
e7
:
SetCountLimit
(
1
)
e7
:
SetCondition
(
cm
.
tgcon
)
e7
:
SetOperation
(
cm
.
tgop
)
e7
:
SetOperation
(
cm
.
tgop
)
c
:
RegisterEffect
(
e7
)
c
:
RegisterEffect
(
e7
)
--back
--back
...
@@ -240,23 +241,22 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -240,23 +241,22 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
cm
.
tgfilter7
(
c
)
return
c
:
IsSetCard
(
0xa341
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
function
cm
.
tgcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
not
Duel
.
IsExistingMatchingCard
(
cm
.
tgfilter7
,
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
,
1
,
nil
)
end
function
cm
.
thfilter1
(
c
)
function
cm
.
thfilter1
(
c
)
return
c
:
IsCode
(
33400850
,
33400851
)
and
c
:
IsAbleToHand
()
return
c
:
IsCode
(
33400850
,
33400851
)
and
c
:
IsAbleToHand
()
end
end
function
cm
.
check
(
g
)
if
#
g
==
1
then
return
true
end
local
res
=
0x0
if
g
:
IsExists
(
Card
.
IsCode
,
1
,
nil
,
33400850
)
then
res
=
res
+
0x1
end
if
g
:
IsExists
(
Card
.
IsCode
,
1
,
nil
,
33400851
)
then
res
=
res
+
0x2
end
return
res
~=
0x1
and
res
~=
0x2
end
function
cm
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
Duel
.
SendtoGrave
(
c
,
REASON_EFFECT
)
Duel
.
SendtoGrave
(
c
,
REASON_EFFECT
)
if
Duel
.
IsExistingMatchingCard
(
cm
.
thfilter1
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
6
))
then
if
Duel
.
IsExistingMatchingCard
(
cm
.
thfilter1
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
6
))
then
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
thfilter1
,
tp
,
LOCATION_GRAVE
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
thfilter1
,
tp
,
LOCATION_GRAVE
,
0
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g1
=
g
:
SelectSubGroup
(
tp
,
cm
.
check
,
false
,
1
,
2
)
local
g1
=
g
:
SelectSubGroup
(
tp
,
aux
.
dn
check
,
false
,
1
,
2
)
Duel
.
SendtoHand
(
g1
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
g1
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g1
)
Duel
.
ConfirmCards
(
1
-
tp
,
g1
)
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