Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-THC-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
八宫一月
ygopro-THC-cards
Commits
83b36a20
Commit
83b36a20
authored
May 21, 2022
by
wyykak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 999530
Signed-off-by:
wyykak
<
wyy_1414@126.com
>
parent
af0090e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
script/c999530.lua
script/c999530.lua
+2
-2
No files found.
script/c999530.lua
View file @
83b36a20
...
@@ -22,7 +22,7 @@ function M.filter2(c, e, tp)
...
@@ -22,7 +22,7 @@ function M.filter2(c, e, tp)
end
end
function
M
.
filter3
(
c
,
e
,
tp
,
mat1
,
code
)
function
M
.
filter3
(
c
,
e
,
tp
,
mat1
,
code
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_XYZ
,
tp
,
false
,
false
)
and
c
:
IsCode
(
code
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsCode
(
code
)
and
Duel
.
IsExistingMatchingCard
(
M
.
filterEx
,
tp
,
LOCATION_EXTRA
+
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
,
Group
.
FromCards
(
c
,
mat1
),
code
)
and
Duel
.
IsExistingMatchingCard
(
M
.
filterEx
,
tp
,
LOCATION_EXTRA
+
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
,
Group
.
FromCards
(
c
,
mat1
),
code
)
end
end
...
@@ -32,7 +32,7 @@ function M.filterEx(c, e, tp, g, code)
...
@@ -32,7 +32,7 @@ function M.filterEx(c, e, tp, g, code)
elseif
c
:
IsCode
(
code
)
and
c
:
IsLocation
(
LOCATION_EXTRA
)
and
c
:
IsType
(
TYPE_FUSION
)
then
elseif
c
:
IsCode
(
code
)
and
c
:
IsLocation
(
LOCATION_EXTRA
)
and
c
:
IsType
(
TYPE_FUSION
)
then
return
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_FUSION
,
tp
,
false
,
false
)
and
c
:
CheckFusionMaterial
(
g
,
nil
,
tp
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_FUSION
,
tp
,
false
,
false
)
and
c
:
CheckFusionMaterial
(
g
,
nil
,
tp
)
elseif
c
:
IsLocation
(
LOCATION_HAND
)
and
c
:
IsType
(
TYPE_RITUAL
)
and
c
:
IsSetCard
(
0x999
)
then
elseif
c
:
IsLocation
(
LOCATION_HAND
)
and
c
:
IsType
(
TYPE_RITUAL
)
and
c
:
IsSetCard
(
0x999
)
then
return
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_RITUAL
,
tp
,
false
,
true
)
and
M
.
RMatFilter
(
g
:
GetFirst
())
return
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_RITUAL
,
tp
,
false
,
true
)
and
M
.
RMatFilter
(
g
:
GetFirst
()
,
code
)
and
Duel
.
IsExistingMatchingCard
(
M
.
RMatFilter
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
+
LOCATION_ONFIELD
,
0
,
2
,
g
:
GetFirst
(),
code
)
and
Duel
.
IsExistingMatchingCard
(
M
.
RMatFilter
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
+
LOCATION_ONFIELD
,
0
,
2
,
g
:
GetFirst
(),
code
)
end
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