Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
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
xiaoye
ygopro-222DIY-cards
Commits
4d63002b
Commit
4d63002b
authored
Oct 20, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
foo foo
parent
c485a6b8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
expansions/pics/81040062.jpg
expansions/pics/81040062.jpg
+0
-0
expansions/script/c81000013.lua
expansions/script/c81000013.lua
+4
-4
No files found.
expansions/pics/81040062.jpg
View replaced file @
c485a6b8
View file @
4d63002b
78.8 KB
|
W:
|
H:
78.5 KB
|
W:
|
H:
2-up
Swipe
Onion skin
expansions/script/c81000013.lua
View file @
4d63002b
...
@@ -83,7 +83,7 @@ function cm.ctfilter(c)
...
@@ -83,7 +83,7 @@ function cm.ctfilter(c)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
26807000
,
81000000
,
81011000
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
26807000
,
81000000
,
81011000
)
end
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
ctfilter
,
tp
,
LOCATION_
MZONE
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
ctfilter
,
tp
,
LOCATION_
ONFIELD
,
0
,
nil
)
local
ct
=
g
:
GetClassCount
(
Card
.
GetCode
)
local
ct
=
g
:
GetClassCount
(
Card
.
GetCode
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToDeck
,
tp
,
LOCATION_HAND
,
0
,
1
,
e
:
GetHandler
())
and
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>=
ct
end
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToDeck
,
tp
,
LOCATION_HAND
,
0
,
1
,
e
:
GetHandler
())
and
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>=
ct
end
...
@@ -94,14 +94,14 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -94,14 +94,14 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local
p
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
)
local
p
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
)
Duel
.
Hint
(
HINT_SELECTMSG
,
p
,
HINTMSG_TODECK
)
Duel
.
Hint
(
HINT_SELECTMSG
,
p
,
HINTMSG_TODECK
)
local
cg
=
Duel
.
SelectMatchingCard
(
p
,
Card
.
IsAbleToDeck
,
p
,
LOCATION_HAND
,
0
,
1
,
63
,
nil
)
local
cg
=
Duel
.
SelectMatchingCard
(
p
,
Card
.
IsAbleToDeck
,
p
,
LOCATION_HAND
,
0
,
1
,
63
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
c
filter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
c
tfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
nil
)
local
ct
=
g
:
GetClassCount
(
Card
.
GetCode
)
local
ct
=
g
:
GetClassCount
(
Card
.
GetCode
)
local
sg
=
cg
:
GetCount
()
local
sg
=
cg
:
GetCount
()
+
ct
if
cg
==
0
then
return
end
if
cg
==
0
then
return
end
Duel
.
SendtoDeck
(
cg
,
nil
,
2
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
cg
,
nil
,
2
,
REASON_EFFECT
)
Duel
.
ShuffleDeck
(
p
)
Duel
.
ShuffleDeck
(
p
)
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
Draw
(
p
,
sg
+
ct
,
REASON_EFFECT
)
Duel
.
Draw
(
p
,
sg
,
REASON_EFFECT
)
end
end
function
cm
.
efilter
(
c
)
function
cm
.
efilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
26808000
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
26808000
)
...
...
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