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
1951ffbf
Commit
1951ffbf
authored
Feb 08, 2025
by
Amiya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复
parent
d77d28b2
Pipeline
#33014
passed with stages
in 1 minute and 23 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
script/c100236004.lua
script/c100236004.lua
+1
-1
script/c100236011.lua
script/c100236011.lua
+8
-7
No files found.
script/c100236004.lua
View file @
1951ffbf
...
@@ -52,7 +52,7 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -52,7 +52,7 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
thfilter
(
c
)
function
s
.
thfilter
(
c
)
return
c
:
IsRace
(
RACE_SPELLCASTER
)
and
c
:
IsSetCard
(
0x2c7
)
return
c
:
IsRace
(
RACE_SPELLCASTER
)
and
c
:
IsSetCard
(
0x2c7
)
and
c
:
IsAbleToHand
and
c
:
IsAbleToHand
()
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
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
script/c100236011.lua
View file @
1951ffbf
...
@@ -41,13 +41,14 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -41,13 +41,14 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
if
Duel
.
IsExistingMatchingCard
(
s
.
tdfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
nil
)
if
Duel
.
IsExistingMatchingCard
(
s
.
tdfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
1
))
then
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
1
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
gs
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
tdfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
1
,
nil
)
local
gs
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
tdfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
1
,
nil
)
local
dtc
=
sg
:
GetFirst
()
local
dtc
=
sg
:
GetFirst
()
if
dtc
and
Duel
.
SendtoDeck
(
dtc
,
nil
,
SEQ_DECKBOTTOM
,
REASON_EFFECT
)
>
0
if
dtc
and
Duel
.
SendtoDeck
(
dtc
,
nil
,
SEQ_DECKBOTTOM
,
REASON_EFFECT
)
>
0
and
dtc
:
IsLocation
(
LOCATION_DECK
+
LOCATION_EXTRA
)
then
and
dtc
:
IsLocation
(
LOCATION_DECK
+
LOCATION_EXTRA
)
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
end
end
end
end
end
end
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