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
ab1c3a5d
Commit
ab1c3a5d
authored
Jul 02, 2025
by
Huangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
7b5edcce
Pipeline
#38418
passed with stages
in 49 minutes and 56 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
expansions/script/c18701016.lua
expansions/script/c18701016.lua
+3
-3
No files found.
expansions/script/c18701016.lua
View file @
ab1c3a5d
...
@@ -113,14 +113,14 @@ function cm.movtg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -113,14 +113,14 @@ function cm.movtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
cm
.
movop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
movop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
c
=
e
:
GetHandler
()
local
at
=
Duel
.
GetFieldCard
(
tp
,
LOCATION_MZONE
,
5
)
local
at
=
Duel
.
GetFieldCard
(
tp
,
LOCATION_MZONE
,
5
)
local
bt
=
Duel
.
GetFieldCard
(
tp
,
LOCATION_MZONE
,
6
)
local
bt
=
Duel
.
GetFieldCard
(
tp
,
LOCATION_MZONE
,
6
)
local
b1
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
,
PLAYER_NONE
,
0
)
>
0
local
b1
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
,
PLAYER_NONE
,
0
)
>
0
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
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
))
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
not
(
b2
or
b3
)
then
if
t
c
:
IsControler
(
1
-
tp
)
or
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
,
PLAYER_NONE
,
0
)
<=
0
or
(
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
,
PLAYER_NONE
,
0
)
<=
0
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
and
(
at
or
bt
))
then
return
end
local
op
=
aux
.
SelectFromOptions
(
tp
,
local
op
=
aux
.
SelectFromOptions
(
tp
,
{
b1
,
aux
.
Stringid
(
m
,
7
)},
{
b1
,
aux
.
Stringid
(
m
,
7
)},
...
@@ -138,7 +138,7 @@ function cm.movop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -138,7 +138,7 @@ function cm.movop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
MoveSequence
(
c
,
6
)
Duel
.
MoveSequence
(
c
,
6
)
end
end
else
else
if
t
c
:
IsControler
(
1
-
tp
)
or
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
,
PLAYER_NONE
,
0
)
<=
0
then
return
end
if
c
:
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
s
=
Duel
.
SelectDisableField
(
tp
,
1
,
LOCATION_MZONE
,
0
,
0
)
local
nseq
=
math.log
(
s
,
2
)
local
nseq
=
math.log
(
s
,
2
)
Duel
.
MoveSequence
(
c
,
nseq
)
Duel
.
MoveSequence
(
c
,
nseq
)
...
...
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