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
2cee1fb0
Commit
2cee1fb0
authored
Mar 27, 2023
by
REIKAI
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
buug fix
parent
dc03c8dd
Pipeline
#20970
passed with stages
in 21 minutes and 49 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
expansions/script/c16400088.lua
expansions/script/c16400088.lua
+5
-0
expansions/script/c16400092.lua
expansions/script/c16400092.lua
+4
-1
No files found.
expansions/script/c16400088.lua
View file @
2cee1fb0
...
@@ -61,7 +61,12 @@ function cm.tdtg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -61,7 +61,12 @@ function cm.tdtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
cm
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
local
count
=
Duel
.
GetMatchingGroupCount
(
nil
,
tp
,
LOCATION_ONFIELD
,
0
,
nil
)
if
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SendtoHand
(
tc
,
1
-
tp
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
tc
,
1
-
tp
,
REASON_EFFECT
)
if
Duel
.
IsPlayerCanDraw
(
1
-
tp
,
count
)
then
Duel
.
BreakEffect
()
Duel
.
Draw
(
tp
,
count
,
REASON_EFFECT
)
end
end
end
end
end
\ No newline at end of file
expansions/script/c16400092.lua
View file @
2cee1fb0
...
@@ -29,6 +29,9 @@ function cm.initial_effect(c)
...
@@ -29,6 +29,9 @@ function cm.initial_effect(c)
e4
:
SetOperation
(
cm
.
thop
)
e4
:
SetOperation
(
cm
.
thop
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
cm
.
handcon
(
e
)
return
Duel
.
GetFieldGroupCount
(
e
:
GetHandler
():
GetControler
(),
LOCATION_MZONE
,
0
)
==
0
end
function
cm
.
thfilter
(
c
)
function
cm
.
thfilter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0xce2
)
and
c
:
IsAbleToDeck
()
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0xce2
)
and
c
:
IsAbleToDeck
()
end
end
...
@@ -78,7 +81,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -78,7 +81,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
end
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
tc1
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
check
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc1
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
check
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
:
GetFirst
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
tc2
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
check2
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
,
tc1
,
e
,
tp
)
local
tc2
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
check2
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
,
tc1
,
e
,
tp
)
local
g
=
Group
.
FromCards
(
tc1
,
tc2
)
local
g
=
Group
.
FromCards
(
tc1
,
tc2
)
...
...
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