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
82d95bc8
Commit
82d95bc8
authored
Sep 02, 2017
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
1c69bbda
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
expansions/script/c22231002.lua
expansions/script/c22231002.lua
+4
-4
expansions/script/c22231201.lua
expansions/script/c22231201.lua
+0
-1
No files found.
expansions/script/c22231002.lua
View file @
82d95bc8
...
...
@@ -29,14 +29,14 @@ end
function
c22231002
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>
2
end
end
function
c22231002
.
filter
(
c
)
function
c22231002
.
c
filter
(
c
)
return
c22231002
.
IsDarkest
(
c
)
end
function
c22231002
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
<
3
then
return
false
end
Duel
.
ConfirmDecktop
(
tp
,
3
)
if
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
<
3
then
return
end
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
3
)
if
g
:
IsExists
(
c22231002
.
filter
,
1
,
nil
)
then
Duel
.
ConfirmDecktop
(
tp
,
3
)
if
g
:
IsExists
(
c22231002
.
cfilter
,
1
,
nil
)
then
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
SendtoHand
(
sg
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
sg
)
...
...
expansions/script/c22231201.lua
View file @
82d95bc8
...
...
@@ -45,7 +45,6 @@ function c22231201.condition(e,tp,eg,ep,ev,re,r,rp)
return
eg
:
IsExists
(
c22231201
.
cfilter
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c22231201
.
confilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
function
c22231201
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
false
end
local
tc
=
Duel
.
GetFieldCard
(
1
-
tp
,
LOCATION_GRAVE
,
Duel
.
GetFieldGroupCount
(
1
-
tp
,
LOCATION_GRAVE
,
0
)
-
1
)
if
tc
then
if
Duel
.
Remove
(
tc
,
POS_FACEDOWN
,
REASON_EFFECT
)
>
0
then
...
...
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