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
REIKAI
ygopro-222DIY-cards
Commits
71c0292b
Commit
71c0292b
authored
Jan 17, 2025
by
Huangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imironman
parent
79448f8f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
expansions/script/c31710057.lua
expansions/script/c31710057.lua
+2
-2
No files found.
expansions/script/c31710057.lua
View file @
71c0292b
...
@@ -57,7 +57,7 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -57,7 +57,7 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
s
.
nefilter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
s
.
nefilter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
s
.
nefilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
e
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
s
.
nefilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
local
g
=
Duel
.
SelectTarget
(
tp
,
s
.
nefilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
e
)
local
g
=
Duel
.
SelectTarget
(
tp
,
s
.
nefilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
e
)
...
@@ -97,7 +97,7 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -97,7 +97,7 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
s
.
nefilter
(
c
,
e
)
function
s
.
nefilter
(
c
,
e
,
tp
)
local
zone
=
c
:
GetLinkedZone
(
c
:
GetControler
())
local
zone
=
c
:
GetLinkedZone
(
c
:
GetControler
())
local
ct
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
,
tp
,
LOCATION_REASON_TOFIELD
,
zone
)
local
ct
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
,
tp
,
LOCATION_REASON_TOFIELD
,
zone
)
return
c
:
IsType
(
TYPE_LINK
)
and
c
:
IsFaceup
()
and
Duel
.
IsExistingMatchingCard
(
s
.
sfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
,
zone
)
and
ct
>
0
return
c
:
IsType
(
TYPE_LINK
)
and
c
:
IsFaceup
()
and
Duel
.
IsExistingMatchingCard
(
s
.
sfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
,
zone
)
and
ct
>
0
...
...
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