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
8eb06093
Commit
8eb06093
authored
Apr 21, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix マドルチェ・デセール
parent
82145a68
Pipeline
#26645
passed with stages
in 1 minute
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
script/c101205077.lua
script/c101205077.lua
+5
-4
No files found.
script/c101205077.lua
View file @
8eb06093
...
...
@@ -49,7 +49,7 @@ function s.tdtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
sg
,
sg
:
GetCount
(),
0
,
0
)
end
function
s
.
rtfilter
(
c
,
e
)
return
c
:
IsRelateToEffect
(
e
)
and
c
:
IsType
(
TYPE_EFFECT
)
return
c
:
IsRelateToEffect
(
e
)
and
c
:
Is
Faceup
()
and
c
:
Is
Type
(
TYPE_EFFECT
)
end
function
s
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
s
.
rtfilter
,
nil
,
e
)
...
...
@@ -62,15 +62,16 @@ function s.tdop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
ssg
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
spfilter
,
tp
,
LOCATION_HAND
+
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
,
atk
)
if
ssg
:
GetCount
()
>
0
then
Duel
.
BreakEffect
()
Duel
.
SpecialSummon
(
ssg
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
end
function
s
.
cfilter
(
c
,
e
)
return
c
:
IsPreviousLocation
(
LOCATION_GRAVE
)
and
c
:
IsSetCard
(
0x71
)
and
c
:
IsLocation
(
LOCATION_DECK
+
LOCATION_EXTRA
)
function
s
.
cfilter
(
c
,
e
,
tp
)
return
c
:
IsPrevious
Controler
(
tp
)
and
c
:
IsPrevious
Location
(
LOCATION_GRAVE
)
and
c
:
IsSetCard
(
0x71
)
and
c
:
IsLocation
(
LOCATION_DECK
+
LOCATION_EXTRA
)
end
function
s
.
matcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
s
.
cfilter
,
1
,
nil
,
e
)
return
eg
:
IsExists
(
s
.
cfilter
,
1
,
nil
,
e
,
tp
)
end
function
s
.
tgfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_XYZ
)
...
...
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