Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
410cd215
Commit
410cd215
authored
Jul 01, 2025
by
Huangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
676511c2
Pipeline
#38400
passed with stages
in 62 minutes and 11 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
18 deletions
+26
-18
expansions/script/c18700952.lua
expansions/script/c18700952.lua
+1
-1
expansions/script/c18701016.lua
expansions/script/c18701016.lua
+25
-17
No files found.
expansions/script/c18700952.lua
View file @
410cd215
--
奇晶置物
--
帝国中枢智械-时依
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
18700201
)
...
...
expansions/script/c18701016.lua
View file @
410cd215
...
...
@@ -105,36 +105,44 @@ function cm.effop(e,tp,eg,ep,ev,re,r,rp)
rc
:
RegisterEffect
(
e5
,
true
)
end
function
cm
.
movtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
at
=
Duel
.
GetFieldCard
(
tp
,
LOCATION_MZONE
,
5
)
local
bt
=
Duel
.
GetFieldCard
(
tp
,
LOCATION_MZONE
,
6
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
,
PLAYER_NONE
,
0
)
>
0
or
not
at
or
not
bt
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
,
PLAYER_NONE
,
0
)
>
0
or
not
(
at
or
bt
)
end
end
function
cm
.
movop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
at
=
Duel
.
GetFieldCard
(
tp
,
LOCATION_MZONE
,
5
)
local
bt
=
Duel
.
GetFieldCard
(
tp
,
LOCATION_MZONE
,
6
)
local
b1
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
,
PLAYER_NONE
,
0
)
>
0
local
b2
=
not
Duel
.
GetFieldCard
(
tp
,
LOCATION_MZONE
,
5
)
local
b3
=
not
Duel
.
GetFieldCard
(
tp
,
LOCATION_MZONE
,
6
)
local
c
=
e
:
GetHandler
()
if
c
:
IsControler
(
1
-
tp
)
or
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
,
PLAYER_NONE
,
0
)
<=
0
or
(
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
,
PLAYER_NONE
,
0
)
<=
0
and
(
at
or
bt
))
then
return
end
local
op
=
aux
.
SelectFromOptions
(
tp
,
{
b1
,
aux
.
Stringid
(
m
,
7
)},
{
b2
,
aux
.
Stringid
(
m
,
8
)},
{
b3
,
aux
.
Stringid
(
m
,
9
)})
if
op
==
1
then
local
b2
=
not
Duel
.
GetFieldCard
(
tp
,
LOCATION_MZONE
,
5
)
and
(
Duel
.
GetFieldCard
(
tp
,
LOCATION_MZONE
,
6
):
IsControler
(
1
-
tp
)
or
not
Duel
.
GetFieldCard
(
tp
,
LOCATION_MZONE
,
6
))
local
b3
=
not
Duel
.
GetFieldCard
(
tp
,
LOCATION_MZONE
,
6
)
and
(
Duel
.
GetFieldCard
(
tp
,
LOCATION_MZONE
,
5
):
IsControler
(
1
-
tp
)
or
not
Duel
.
GetFieldCard
(
tp
,
LOCATION_MZONE
,
5
))
if
not
(
b2
or
b3
)
then
if
tc
:
IsControler
(
1
-
tp
)
or
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
,
PLAYER_NONE
,
0
)
<=
0
or
(
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
,
PLAYER_NONE
,
0
)
<=
0
and
(
at
or
bt
))
then
return
end
local
op
=
aux
.
SelectFromOptions
(
tp
,
{
b1
,
aux
.
Stringid
(
m
,
7
)},
{
b2
,
aux
.
Stringid
(
m
,
8
)},
{
b3
,
aux
.
Stringid
(
m
,
9
)})
if
op
==
1
then
local
s
=
Duel
.
SelectDisableField
(
tp
,
1
,
LOCATION_MZONE
,
0
,
0
)
local
nseq
=
math.log
(
s
,
2
)
Duel
.
MoveSequence
(
c
,
nseq
)
end
if
op
==
2
then
Duel
.
MoveSequence
(
c
,
5
)
end
if
op
==
3
then
Duel
.
MoveSequence
(
c
,
6
)
end
else
if
tc
:
IsControler
(
1
-
tp
)
or
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
,
PLAYER_NONE
,
0
)
<=
0
then
return
end
local
s
=
Duel
.
SelectDisableField
(
tp
,
1
,
LOCATION_MZONE
,
0
,
0
)
local
nseq
=
math.log
(
s
,
2
)
Duel
.
MoveSequence
(
c
,
nseq
)
end
if
op
==
2
then
Duel
.
MoveSequence
(
c
,
5
)
end
if
op
==
3
then
Duel
.
MoveSequence
(
c
,
6
)
end
end
function
cm
.
efilter
(
e
,
te
)
return
te
:
GetHandler
():
IsLocation
(
LOCATION_MZONE
)
and
e
:
GetHandler
():
GetLinkedGroup
():
IsContains
(
te
:
GetHandler
())
...
...
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