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
84e6e49f
Commit
84e6e49f
authored
Apr 07, 2015
by
unyutema
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
4b013130
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
script/c32271987.lua
script/c32271987.lua
+4
-2
No files found.
script/c32271987.lua
View file @
84e6e49f
...
@@ -18,8 +18,10 @@ function c32271987.filter(c)
...
@@ -18,8 +18,10 @@ function c32271987.filter(c)
return
c
:
IsType
(
TYPE_DUAL
)
and
c
:
IsAbleToGrave
()
return
c
:
IsType
(
TYPE_DUAL
)
and
c
:
IsAbleToGrave
()
end
end
function
c32271987
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c32271987
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
if
chk
==
0
then
and
Duel
.
IsExistingMatchingCard
(
c32271987
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
local
ct
=
Duel
.
GetMatchingGroupCount
(
c32271987
.
filter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
if
ct
==
1
and
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
==
1
then
return
false
end
return
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
and
ct
>=
1
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
tp
,
1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
tp
,
1
)
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