Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
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
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
MyCard
ygopro-2pick
Commits
86406ee9
Commit
86406ee9
authored
Oct 03, 2017
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aya
parent
7c276b14
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
expansions/script/c37564012.lua
expansions/script/c37564012.lua
+5
-2
No files found.
expansions/script/c37564012.lua
View file @
86406ee9
...
...
@@ -40,17 +40,20 @@ end
function
cm
.
spcfilter
(
c
)
return
Senya
.
check_set_rose
(
c
)
and
not
c
:
IsPublic
()
end
function
cm
.
spcheck
(
g
,
tp
,
c
)
return
Duel
.
GetLocationCountFromEx
(
tp
,
1
-
tp
,
g
,
c
)
>
0
end
function
cm
.
sprcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
cm
.
sprfilter1
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_ONFIELD
,
0
)
==
0
and
Senya
.
CheckGroup
(
mg
,
Senya
.
CheckFieldFilter
,
nil
,
3
,
63
,
tp
,
c
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
spcfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
and
Duel
.
GetCustomActivityCount
(
m
,
tp
,
ACTIVITY_CHAIN
)
==
0
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_ONFIELD
,
0
)
==
0
and
Senya
.
CheckGroup
(
mg
,
cm
.
spcheck
,
nil
,
3
,
63
,
tp
,
c
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
spcfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
and
Duel
.
GetCustomActivityCount
(
m
,
tp
,
ACTIVITY_CHAIN
)
==
0
end
function
cm
.
sprop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONFIRM
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
spcfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
local
mg
=
Duel
.
GetMatchingGroup
(
cm
.
sprfilter1
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
local
g1
=
Senya
.
SelectGroup
(
tp
,
HINTMSG_TOGRAVE
,
mg
,
Senya
.
CheckFieldFilter
,
nil
,
3
,
63
,
tp
,
c
)
local
g1
=
Senya
.
SelectGroup
(
tp
,
HINTMSG_TOGRAVE
,
mg
,
cm
.
spcheck
,
nil
,
3
,
63
,
tp
,
c
)
Duel
.
Hint
(
HINT_CARD
,
0
,
m
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
Release
(
g1
,
REASON_COST
)
...
...
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