Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
P
pre-release-database-cdb
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
MyCard
pre-release-database-cdb
Commits
e1cac0a0
Commit
e1cac0a0
authored
Jan 03, 2026
by
八宫一月
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
3e5d96b6
Pipeline
#42354
passed with stages
in 2 minutes and 27 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
69 additions
and
0 deletions
+69
-0
script/c101304070.lua
script/c101304070.lua
+69
-0
No files found.
script/c101304070.lua
0 → 100644
View file @
e1cac0a0
--2つに1つ
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_TOHAND
+
CATEGORY_SEARCH
+
CATEGORY_REMOVE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetTarget
(
s
.
target
)
e1
:
SetOperation
(
s
.
activate
)
c
:
RegisterEffect
(
e1
)
end
function
s
.
chkfilter
(
c
)
return
(
c
:
IsType
(
TYPE_MONSTER
)
or
c
:
IsType
(
TYPE_TRAP
))
and
c
:
IsAbleToRemove
()
end
function
s
.
chkfilter2
(
c
,
e
,
tp
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
return
(
c
:
IsAbleToHand
()
or
(
ft
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)))
and
c
:
IsType
(
TYPE_MONSTER
)
end
function
s
.
fslect
(
g
,
e
,
tp
)
return
g
:
IsExists
(
Card
.
IsType
,
2
,
nil
,
TYPE_TRAP
)
and
g
:
IsExists
(
s
.
chkfilter2
,
1
,
nil
,
e
,
tp
)
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
chkfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
if
chk
==
0
then
return
g
:
CheckSubGroup
(
s
.
fslect
,
3
,
3
,
e
,
tp
)
end
end
function
s
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
chkfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
s
.
fslect
,
false
,
3
,
3
,
e
,
tp
)
local
tc1
=
sg
:
RandomSelect
(
1
-
tp
,
1
):
GetFirst
()
local
tg
=
sg
-
tc1
Duel
.
ConfirmCards
(
tp
,
tg
)
local
tc2
=
tg
:
FilterSelect
(
tp
,
Card
.
IsType
,
1
,
1
,
nil
,
TYPE_TRAP
)
local
fg
=
tg
-
tc2
local
tc3
=
fg
:
GetFirst
()
if
Duel
.
Remove
(
tc2
,
POS_FACEUP
,
REASON_EFFECT
)
~=
0
then
local
op
=
aux
.
SelectFromOptions
(
1
-
tp
,
{
true
,
aux
.
Stringid
(
id
,
1
)},
{
true
,
aux
.
Stringid
(
id
,
2
)})
if
op
==
1
then
Duel
.
ConfirmCards
(
tp
,
tc1
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc1
)
if
tc1
:
IsType
(
TYPE_MONSTER
)
then
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
tc1
:
IsAbleToHand
()
and
(
not
tc1
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
or
ft
<=
0
or
Duel
.
SelectOption
(
tp
,
1190
,
1152
)
==
0
)
then
Duel
.
SendtoHand
(
tc1
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc1
)
else
Duel
.
SpecialSummon
(
tc1
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
else
Duel
.
Remove
(
tc1
,
POS_FACEUP
,
REASON_EFFECT
)
end
else
Duel
.
ConfirmCards
(
tp
,
tc3
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc3
)
if
tc3
:
IsType
(
TYPE_MONSTER
)
then
if
tc3
:
IsAbleToHand
()
then
Duel
.
SendtoHand
(
tc3
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc3
)
end
else
Duel
.
Remove
(
tc3
,
POS_FACEUP
,
REASON_EFFECT
)
end
end
end
Duel
.
ShuffleDeck
(
tp
)
end
\ No newline at end of file
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