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
bd5dcc24
Commit
bd5dcc24
authored
Jan 10, 2025
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update 罪なき罪宝
parent
6ae09a54
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
16 deletions
+29
-16
ALIN.cdb
ALIN.cdb
+0
-0
script/c101208073.lua
script/c101208073.lua
+29
-16
No files found.
ALIN.cdb
View file @
bd5dcc24
No preview for this file type
script/c101208073.lua
View file @
bd5dcc24
...
@@ -18,28 +18,41 @@ function s.initial_effect(c)
...
@@ -18,28 +18,41 @@ function s.initial_effect(c)
e2
:
SetOperation
(
s
.
spop
)
e2
:
SetOperation
(
s
.
spop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
s
.
spfilter
(
c
,
e
,
tp
)
function
s
.
spfilter
1
(
c
,
e
,
tp
)
return
c
:
IsFaceupEx
()
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsFaceupEx
()
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
(
c
:
IsLocation
(
LOCATION_SZONE
)
and
c
:
IsSetCard
(
0x19b
)
and
Duel
.
GetMatchingGroupCount
(
Card
.
IsDiscardable
,
tp
,
LOCATION_HAND
,
0
,
e
:
GetHandler
(),
REASON_EFFECT
)
>
0
or
c
:
IsSetCard
(
0x19b
)
and
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
>
0
)
end
function
s
.
spfilter2
(
c
,
e
,
tp
)
return
c
:
IsFaceupEx
()
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsLocation
(
LOCATION_SZONE
)
end
end
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
+
LOCATION_REMOVED
+
LOCATION_SZONE
)
and
s
.
spfilter
(
chkc
,
e
,
tp
)
end
local
b0
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
local
b1
=
b0
and
Duel
.
IsExistingTarget
(
s
.
spfilter1
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
IsExistingTarget
(
s
.
spfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
+
LOCATION_SZONE
,
0
,
1
,
nil
,
e
,
tp
)
end
local
b2
=
b0
and
Duel
.
IsExistingTarget
(
s
.
spfilter2
,
tp
,
LOCATION_SZONE
,
0
,
1
,
nil
,
e
,
tp
)
if
chkc
then
if
e
:
GetLabel
()
==
1
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
+
LOCATION_REMOVED
)
and
s
.
spfilter1
(
chkc
,
e
,
tp
)
elseif
e
:
GetLabel
()
==
2
then
return
chkc
:
IsLocation
(
LOCATION_SZONE
)
and
s
.
spfilter2
(
chkc
,
e
,
tp
)
end
end
if
chk
==
0
then
return
b1
or
b2
end
local
op
=
aux
.
SelectFromOptions
(
tp
,
{
b1
,
aux
.
Stringid
(
id
,
0
),
1
},
{
b2
,
aux
.
Stringid
(
id
,
1
),
2
})
e
:
SetLabel
(
op
)
if
op
==
1
then
e
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_HANDES
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
aux
.
SelectTargetFromFieldFirst
(
tp
,
s
.
spfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
+
LOCATION_SZONE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectTarget
(
tp
,
s
.
spfilter1
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
1
,
nil
,
e
,
tp
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
g
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
g
,
1
,
0
,
0
)
local
sc
=
g
:
GetFirst
()
if
sc
:
IsLocation
(
LOCATION_GRAVE
+
LOCATION_REMOVED
)
then
e
:
SetLabel
(
1
)
e
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_HANDES
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_HANDES
,
nil
,
0
,
tp
,
1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_HANDES
,
nil
,
0
,
tp
,
1
)
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
aux
.
Stringid
(
id
,
0
))
elseif
op
==
2
then
elseif
sc
:
IsLocation
(
LOCATION_SZONE
)
then
e
:
SetLabel
(
2
)
e
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
aux
.
Stringid
(
id
,
1
))
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectTarget
(
tp
,
s
.
spfilter2
,
tp
,
LOCATION_SZONE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
g
,
1
,
0
,
0
)
end
end
end
end
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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