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
1f77ccc3
Commit
1f77ccc3
authored
May 23, 2017
by
mercury233
Committed by
GitHub
May 23, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
cb10c633
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
c29357956.lua
c29357956.lua
+8
-8
No files found.
c29357956.lua
View file @
1f77ccc3
...
@@ -54,30 +54,30 @@ end
...
@@ -54,30 +54,30 @@ end
function
c29357956
.
spfilter
(
c
)
function
c29357956
.
spfilter
(
c
)
return
c
:
IsFusionSetCard
(
0x19
)
and
c
:
IsCanBeFusionMaterial
()
and
c
:
IsAbleToDeckOrExtraAsCost
()
return
c
:
IsFusionSetCard
(
0x19
)
and
c
:
IsCanBeFusionMaterial
()
and
c
:
IsAbleToDeckOrExtraAsCost
()
end
end
function
c2
2638495
.
fselect
(
c
,
tp
,
mg
,
sg
)
function
c2
9357956
.
fselect
(
c
,
tp
,
mg
,
sg
)
sg
:
AddCard
(
c
)
sg
:
AddCard
(
c
)
local
res
=
false
local
res
=
false
if
sg
:
GetCount
()
<
3
then
if
sg
:
GetCount
()
<
3
then
res
=
mg
:
IsExists
(
c2
2638495
.
fselect
,
1
,
sg
,
tp
,
mg
,
sg
)
res
=
mg
:
IsExists
(
c2
9357956
.
fselect
,
1
,
sg
,
tp
,
mg
,
sg
)
else
else
res
=
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
sg
)
>
0
res
=
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
sg
)
>
0
end
end
sg
:
RemoveCard
(
c
)
sg
:
RemoveCard
(
c
)
return
res
return
res
end
end
function
c2
2638495
.
sprcon
(
e
,
c
)
function
c2
9357956
.
sprcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c2
2638495
.
spfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
mg
=
Duel
.
GetMatchingGroup
(
c2
9357956
.
spfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
sg
=
Group
.
CreateGroup
()
local
sg
=
Group
.
CreateGroup
()
return
mg
:
IsExists
(
c2
2638495
.
fselect
,
1
,
nil
,
tp
,
mg
,
sg
)
return
mg
:
IsExists
(
c2
9357956
.
fselect
,
1
,
nil
,
tp
,
mg
,
sg
)
end
end
function
c2
2638495
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c2
9357956
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c2
2638495
.
spfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
mg
=
Duel
.
GetMatchingGroup
(
c2
9357956
.
spfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
sg
=
Group
.
CreateGroup
()
local
sg
=
Group
.
CreateGroup
()
while
sg
:
GetCount
()
<
3
do
while
sg
:
GetCount
()
<
3
do
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g
=
mg
:
FilterSelect
(
tp
,
c2
2638495
.
fselect
,
1
,
1
,
sg
,
tp
,
mg
,
sg
)
local
g
=
mg
:
FilterSelect
(
tp
,
c2
9357956
.
fselect
,
1
,
1
,
sg
,
tp
,
mg
,
sg
)
sg
:
Merge
(
g
)
sg
:
Merge
(
g
)
end
end
local
cg
=
sg
:
Filter
(
Card
.
IsFacedown
,
nil
)
local
cg
=
sg
:
Filter
(
Card
.
IsFacedown
,
nil
)
...
...
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