Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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-scripts
Commits
cef4bddc
Commit
cef4bddc
authored
Nov 26, 2017
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improve
parent
d04b08e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
c64061284.lua
c64061284.lua
+3
-3
No files found.
c64061284.lua
View file @
cef4bddc
...
...
@@ -15,7 +15,7 @@ function c64061284.fcheck(tp,sg,fc,mg)
if
sg
:
IsExists
(
Card
.
IsLocation
,
1
,
nil
,
LOCATION_DECK
)
then
return
sg
:
IsExists
(
c64061284
.
filterchk
,
1
,
nil
)
end
return
true
end
end
function
c64061284
.
filterchk
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
83104731
,
95735217
)
and
c
:
IsOnField
()
end
...
...
@@ -34,7 +34,7 @@ function c64061284.target(e,tp,eg,ep,ev,re,r,rp,chk)
local
chkf
=
tp
local
mg
=
Duel
.
GetFusionMaterial
(
tp
)
local
mg2
=
Duel
.
GetMatchingGroup
(
c64061284
.
filter0
,
tp
,
LOCATION_DECK
,
0
,
nil
)
if
mg2
:
GetCount
()
>
0
then
if
mg
:
IsExists
(
c64061284
.
filterchk
,
1
,
nil
)
and
mg
2
:
GetCount
()
>
0
then
mg
:
Merge
(
mg2
)
aux
.
FCheckAdditional
=
c64061284
.
fcheck
end
...
...
@@ -56,7 +56,7 @@ function c64061284.activate(e,tp,eg,ep,ev,re,r,rp)
local
chkf
=
tp
local
mg1
=
Duel
.
GetFusionMaterial
(
tp
):
Filter
(
c64061284
.
filter1
,
nil
,
e
)
local
mg2
=
Duel
.
GetMatchingGroup
(
c64061284
.
filter0
,
tp
,
LOCATION_DECK
,
0
,
nil
)
if
mg2
:
GetCount
()
>
0
then
if
mg
1
:
IsExists
(
c64061284
.
filterchk
,
1
,
nil
)
and
mg
2
:
GetCount
()
>
0
then
mg1
:
Merge
(
mg2
)
aux
.
FCheckAdditional
=
c64061284
.
fcheck
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