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
Reinen
ygopro-scripts
Commits
beeb3b74
Commit
beeb3b74
authored
Aug 08, 2017
by
mercury233
Committed by
GitHub
Aug 08, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
0bcfb3aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
c95474755.lua
c95474755.lua
+5
-5
No files found.
c95474755.lua
View file @
beeb3b74
...
...
@@ -81,21 +81,21 @@ function c95474755.grop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Remove
(
tc
,
POS_FACEDOWN
,
REASON_EFFECT
)
end
end
function
c95474755
.
dkfilter
(
c
)
return
not
c
:
IsType
(
TYPE_TOKEN
)
and
c
:
IsFacedown
(
)
function
c95474755
.
dkfilter
(
c
,
p
)
return
c
:
IsFacedown
()
and
c
:
IsControler
(
p
)
end
function
c95474755
.
dkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c95474755
.
dkfilter
,
1
,
nil
)
return
eg
:
IsExists
(
c95474755
.
dkfilter
,
1
,
nil
,
1
-
tp
)
end
function
c95474755
.
dktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ct
=
Duel
.
GetMatchingGroupCount
(
c95474755
.
dkfilter
,
tp
,
0
,
LOCATION_REMOVED
,
nil
)
local
ct
=
Duel
.
GetMatchingGroupCount
(
c95474755
.
dkfilter
,
tp
,
0
,
LOCATION_REMOVED
,
nil
,
1
-
tp
)
local
tg
=
Duel
.
GetDecktopGroup
(
1
-
tp
,
ct
)
if
chk
==
0
then
return
ct
>
0
and
tg
:
FilterCount
(
Card
.
IsAbleToRemove
,
nil
)
==
ct
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
nil
,
ct
,
1
-
tp
,
LOCATION_DECK
)
end
function
c95474755
.
dkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ct
=
Duel
.
GetMatchingGroupCount
(
c95474755
.
dkfilter
,
tp
,
0
,
LOCATION_REMOVED
,
nil
)
local
ct
=
Duel
.
GetMatchingGroupCount
(
c95474755
.
dkfilter
,
tp
,
0
,
LOCATION_REMOVED
,
nil
,
1
-
tp
)
if
ct
==
0
then
return
end
local
tg
=
Duel
.
GetDecktopGroup
(
1
-
tp
,
ct
)
Duel
.
DisableShuffleCheck
()
...
...
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