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
f6964062
Commit
f6964062
authored
Dec 30, 2014
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
92564431
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
script/c6859683.lua
script/c6859683.lua
+8
-5
No files found.
script/c6859683.lua
View file @
f6964062
...
...
@@ -8,15 +8,18 @@ function c6859683.initial_effect(c)
e1
:
SetOperation
(
c6859683
.
operation
)
c
:
RegisterEffect
(
e1
)
end
function
c6859683
.
filter
(
c
)
not
c
:
IsType
(
TYPE_PENDULUM
)
end
function
c6859683
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_EXTRA
)
>=
2
end
local
g
=
Duel
.
GetFieldGroup
(
tp
,
0
,
LOCATION_EXTRA
)
if
chk
==
0
then
return
g
:
FilterCount
(
c6859683
.
filter
,
nil
)
>=
2
end
end
function
c6859683
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
cg
=
Duel
.
GetFieldGroup
(
tp
,
0
,
LOCATION_EXTRA
)
Duel
.
ConfirmCards
(
tp
,
cg
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsType
,
1
-
tp
,
LOCATION_EXTRA
,
0
,
nil
,
TYPE_FUSION
)
if
g
:
GetCount
()
<
2
then
return
end
local
rg
=
g
:
RandomSelect
(
tp
,
2
)
Duel
.
SendtoGrave
(
rg
,
REASON_EFFECT
)
if
rg
:
GetCount
()
<
2
then
local
cg
=
Duel
.
GetFieldGroup
(
tp
,
0
,
LOCATION_EXTRA
)
Duel
.
ConfirmCards
(
tp
,
cg
)
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