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
Soulgamer
ygopro-222DIY-cards
Commits
4b5615ff
Commit
4b5615ff
authored
Mar 06, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ybb
parent
aa96b7c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
expansions/script/c9310043.lua
expansions/script/c9310043.lua
+4
-6
No files found.
expansions/script/c9310043.lua
View file @
4b5615ff
...
@@ -53,12 +53,10 @@ function c9310043.spfilter2(c,e,tp,m,f,chkf)
...
@@ -53,12 +53,10 @@ function c9310043.spfilter2(c,e,tp,m,f,chkf)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_FUSION
,
tp
,
false
,
false
)
and
c
:
CheckFusionMaterial
(
m
,
nil
,
chkf
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_FUSION
,
tp
,
false
,
false
)
and
c
:
CheckFusionMaterial
(
m
,
nil
,
chkf
)
end
end
function
c9310043
.
fcheck
(
tp
,
sg
,
fc
)
function
c9310043
.
fcheck
(
tp
,
sg
,
fc
)
if
sg
:
IsExists
(
Card
.
IsLocation
,
1
,
nil
,
LOCATION_DECK
)
then
return
sg
:
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_DECK
)
<=
1
and
sg
:
IsExists
(
c9310043
.
chkfilter
,
1
,
nil
,
tp
)
return
sg
:
IsExists
(
c9310043
.
chkfilter
,
1
,
nil
)
end
return
sg
:
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_DECK
)
<=
1
end
end
function
c9310043
.
gcheck
(
sg
)
function
c9310043
.
gcheck
(
sg
)
return
sg
:
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_DECK
)
<=
1
return
sg
:
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_DECK
)
<=
1
end
end
function
c9310043
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9310043
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
if
chk
==
0
then
...
@@ -72,7 +70,7 @@ function c9310043.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -72,7 +70,7 @@ function c9310043.target(e,tp,eg,ep,ev,re,r,rp,chk)
aux
.
FCheckAdditional
=
c9310043
.
fcheck
aux
.
FCheckAdditional
=
c9310043
.
fcheck
aux
.
GCheckAdditional
=
c9310043
.
gcheck
aux
.
GCheckAdditional
=
c9310043
.
gcheck
end
end
res
=
Duel
.
IsExistingMatchingCard
(
c9310043
.
spfilter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
mg
2
,
nil
,
chkf
)
res
=
Duel
.
IsExistingMatchingCard
(
c9310043
.
spfilter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
mg
1
,
nil
,
chkf
)
if
not
res
then
if
not
res
then
local
ce
=
Duel
.
GetChainMaterial
(
tp
)
local
ce
=
Duel
.
GetChainMaterial
(
tp
)
if
ce
~=
nil
then
if
ce
~=
nil
then
...
@@ -105,7 +103,7 @@ function c9310043.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -105,7 +103,7 @@ function c9310043.activate(e,tp,eg,ep,ev,re,r,rp)
aux
.
FCheckAdditional
=
nil
aux
.
FCheckAdditional
=
nil
aux
.
GCheckAdditional
=
nil
aux
.
GCheckAdditional
=
nil
local
mg3
=
nil
local
mg3
=
nil
local
sg2
=
Duel
.
GetMatchingGroup
(
c9310043
.
spfilter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
,
mg
2
,
nil
,
chkf
)
local
sg2
=
Duel
.
GetMatchingGroup
(
c9310043
.
spfilter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
,
mg
1
,
nil
,
chkf
)
sg1
:
Merge
(
sg2
)
sg1
:
Merge
(
sg2
)
local
sg3
=
nil
local
sg3
=
nil
local
ce
=
Duel
.
GetChainMaterial
(
tp
)
local
ce
=
Duel
.
GetChainMaterial
(
tp
)
...
...
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