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
e89a9441
You need to sign in or sign up before continuing.
Commit
e89a9441
authored
Jul 17, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Emボール・ライダー
parent
709f5592
Pipeline
#28461
passed with stages
in 1 minute
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
12 deletions
+13
-12
ROTA.cdb
ROTA.cdb
+0
-0
script/c101206010.lua
script/c101206010.lua
+13
-12
No files found.
ROTA.cdb
View file @
e89a9441
No preview for this file type
script/c101206010.lua
View file @
e89a9441
...
...
@@ -65,6 +65,7 @@ function s.pop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
if
tc
and
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
~=
0
and
tc
:
IsLocation
(
LOCATION_GRAVE
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
8
))
then
Duel
.
BreakEffect
()
local
ct
=
tc
:
GetLeftScale
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
@@ -103,8 +104,8 @@ function s.tg(e,tp,eg,ep,ev,re,r,rp,chk)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
local
sel
=
0
if
Duel
.
IsExistingMatchingCard
(
s
.
desfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
then
sel
=
sel
+
1
end
if
Duel
.
IsExistingMatchingCard
(
s
.
schfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
then
sel
=
sel
+
2
end
if
Duel
.
IsExistingMatchingCard
(
s
.
schfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
then
sel
=
sel
+
1
end
if
Duel
.
IsExistingMatchingCard
(
s
.
desfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
then
sel
=
sel
+
2
end
e
:
SetLabel
(
sel
)
return
sel
~=
0
end
...
...
@@ -114,23 +115,29 @@ function s.tg(e,tp,eg,ep,ev,re,r,rp,chk)
sel
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
id
,
5
),
aux
.
Stringid
(
id
,
6
))
+
1
elseif
sel
==
1
then
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
id
,
5
))
else
else
if
sel
==
2
then
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
id
,
6
))
end
e
:
SetLabel
(
sel
)
if
sel
==
1
then
e
:
SetCategory
(
CATEGORY_TOEXTRA
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOEXTRA
,
nil
,
1
,
tp
,
LOCATION_DECK
)
elseif
sel
==
2
then
local
g
=
Duel
.
GetMatchingGroup
(
s
.
desfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
nil
)
e
:
SetCategory
(
CATEGORY_DESTROY
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
1
,
0
,
0
)
else
e
:
SetCategory
(
CATEGORY_TOEXTRA
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOEXTRA
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
end
function
s
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
sel
=
e
:
GetLabel
()
if
sel
==
1
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
id
,
7
))
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
schfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoExtraP
(
g
,
nil
,
REASON_EFFECT
)
end
elseif
sel
==
2
then
local
g
=
Duel
.
GetMatchingGroup
(
s
.
desfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
...
...
@@ -138,12 +145,6 @@ function s.op(e,tp,eg,ep,ev,re,r,rp)
Duel
.
HintSelection
(
dg
)
Duel
.
Destroy
(
dg
,
REASON_EFFECT
)
end
else
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
id
,
7
))
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
schfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoExtraP
(
g
,
nil
,
REASON_EFFECT
)
end
end
end
function
s
.
spcon2
(
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