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
15138ce6
Commit
15138ce6
authored
Nov 04, 2025
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 影装騎士 ブラック・ジャック
parent
4bf96670
Pipeline
#41496
canceled with stages
in 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
19 deletions
+21
-19
script/c100253002.lua
script/c100253002.lua
+21
-19
No files found.
script/c100253002.lua
View file @
15138ce6
...
...
@@ -43,11 +43,11 @@ function s.initial_effect(c)
e5
:
SetCondition
(
s
.
descon
)
c
:
RegisterEffect
(
e5
)
end
function
s
.
desfilter
(
c
)
return
c
:
IsLocation
(
LOCATION_SZONE
)
function
s
.
desfilter
(
c
,
tp
)
return
c
:
IsLocation
(
LOCATION_SZONE
)
and
c
:
IsControler
(
1
-
tp
)
end
function
s
.
eqcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
==
1
-
tp
and
eg
:
IsExists
(
s
.
desfilter
,
1
,
e
:
GetHandler
()
)
return
eg
:
IsExists
(
s
.
desfilter
,
1
,
e
:
GetHandler
(),
tp
)
end
function
s
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
@@ -60,31 +60,33 @@ end
function
s
.
eqop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
<
1
then
return
end
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsType
,
tp
,
LOCATION_DECK
,
0
,
nil
,
TYPE_MONSTER
)
local
dcount
=
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
local
seq
=-
1
local
tc
=
g
:
GetFirst
()
local
mg
=
Duel
.
GetMatchingGroup
(
Card
.
IsType
,
tp
,
LOCATION_DECK
,
0
,
nil
,
TYPE_MONSTER
)
local
tc
=
mg
:
GetFirst
()
local
qc
=
nil
while
tc
do
if
tc
:
GetSequence
()
>
seq
then
seq
=
tc
:
GetSequence
()
qc
=
tc
end
tc
=
g
:
GetNext
()
tc
=
m
g
:
GetNext
()
end
if
seq
==-
1
then
Duel
.
ConfirmDecktop
(
tp
,
dcount
)
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
dcount
)
Duel
.
SortDecktop
(
tp
,
tp
,
#
g
)
for
i
=
1
,
#
g
do
local
mg
=
Duel
.
GetDecktopGroup
(
tp
,
1
)
Duel
.
MoveSequence
(
mg
:
GetFirst
(),
SEQ_DECKBOTTOM
)
local
dg
=
Duel
.
GetDecktopGroup
(
tp
,
dcount
)
Duel
.
DisableShuffleCheck
()
Duel
.
SortDecktop
(
tp
,
tp
,
#
dg
)
for
i
=
1
,
#
dg
do
local
mvg
=
Duel
.
GetDecktopGroup
(
tp
,
1
)
Duel
.
MoveSequence
(
mvg
:
GetFirst
(),
SEQ_DECKBOTTOM
)
end
return
end
Duel
.
ConfirmDecktop
(
tp
,
dcount
-
seq
)
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
dcount
-
seq
-
1
)
if
c
:
IsRelateToChain
()
and
c
:
IsFaceup
()
then
local
cg
=
Duel
.
GetDecktopGroup
(
tp
,
dcount
-
seq
-
1
)
if
c
:
IsRelateToChain
()
and
c
:
IsFaceup
()
and
qc
then
Duel
.
DisableShuffleCheck
()
if
s
.
eqfilter
(
qc
,
c
,
tp
)
then
if
Duel
.
Equip
(
tp
,
qc
,
c
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -99,14 +101,14 @@ function s.eqop(e,tp,eg,ep,ev,re,r,rp)
else
Duel
.
SendtoGrave
(
qc
,
REASON_RULE
)
end
else
else
if
qc
then
Duel
.
SendtoGrave
(
qc
,
REASON_RULE
)
end
if
#
g
>
0
then
Duel
.
SortDecktop
(
tp
,
tp
,
#
g
)
for
i
=
1
,
#
g
do
local
mg
=
Duel
.
GetDecktopGroup
(
tp
,
1
)
Duel
.
MoveSequence
(
mg
:
GetFirst
(),
SEQ_DECKBOTTOM
)
if
#
c
g
>
0
then
Duel
.
SortDecktop
(
tp
,
tp
,
#
c
g
)
for
i
=
1
,
#
c
g
do
local
m
v
g
=
Duel
.
GetDecktopGroup
(
tp
,
1
)
Duel
.
MoveSequence
(
m
v
g
:
GetFirst
(),
SEQ_DECKBOTTOM
)
end
end
end
...
...
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