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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
61e31325
Commit
61e31325
authored
Aug 25, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wadashimo
parent
937b17b5
Pipeline
#626
passed with stages
in 42 minutes and 5 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
5 deletions
+21
-5
expansions/script/c33500616.lua
expansions/script/c33500616.lua
+19
-2
expansions/script/c81027031.lua
expansions/script/c81027031.lua
+2
-3
No files found.
expansions/script/c33500616.lua
View file @
61e31325
...
@@ -83,7 +83,24 @@ function cm.disop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -83,7 +83,24 @@ function cm.disop(e,tp,eg,ep,ev,re,r,rp)
-- local ct=Duel.GetCurrentChain()
-- local ct=Duel.GetCurrentChain()
local
rx
=
Duel
.
GetMatchingGroup
(
cm
.
tdfilter3
,
rc
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
local
rx
=
Duel
.
GetMatchingGroup
(
cm
.
tdfilter3
,
rc
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
local
rxs
=
rx
:
GetCount
()
local
rxs
=
rx
:
GetCount
()
if
loc
>=
rxs
and
rc
:
IsAbleToDeck
()
and
not
rc
:
IsCode
(
m
)
then
if
loc
>=
rxs
then
if
(
rc
:
IsType
(
TYPE_SPELL
)
or
rc
:
IsType
(
TYPE_TRAP
))
then
if
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
then
rc
:
CancelToGrave
()
Duel
.
SendtoDeck
(
rc
,
nil
,
2
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
rc
,
nil
,
2
,
REASON_EFFECT
)
return
else
if
rc
:
IsAbleToDeck
()
then
Duel
.
SendtoDeck
(
rc
,
nil
,
2
,
REASON_EFFECT
)
return
end
return
end
else
if
rc
:
IsAbleToDeck
()
then
Duel
.
SendtoDeck
(
rc
,
nil
,
2
,
REASON_EFFECT
)
return
end
end
end
end
end
end
\ No newline at end of file
expansions/script/c81027031.lua
View file @
61e31325
...
@@ -22,16 +22,15 @@ function cm.ritual_filter(c)
...
@@ -22,16 +22,15 @@ function cm.ritual_filter(c)
return
c
:
IsCode
(
81027000
)
return
c
:
IsCode
(
81027000
)
end
end
function
cm
.
drfilter
(
c
)
function
cm
.
drfilter
(
c
)
return
c
:
IsCode
(
81027000
)
and
c
:
IsAbleToDeck
()
return
c
:
IsCode
(
81027000
)
and
c
:
IsAbleToDeck
()
and
not
c
:
IsPublic
()
end
end
function
cm
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
drfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
and
Duel
.
IsExistingMatchingCard
(
cm
.
drfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
e
:
GetHandler
()
)
end
Duel
.
SetTargetPlayer
(
tp
)
Duel
.
SetTargetPlayer
(
tp
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
nil
,
1
,
tp
,
LOCATION_HAND
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
nil
,
1
,
tp
,
LOCATION_HAND
)
end
end
function
cm
.
drop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
drop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
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
g
=
Duel
.
SelectMatchingCard
(
p
,
cm
.
drfilter
,
p
,
LOCATION_HAND
,
0
,
1
,
63
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
p
,
cm
.
drfilter
,
p
,
LOCATION_HAND
,
0
,
1
,
63
,
nil
)
...
...
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