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
Nguyễn Anh Kiệt
ygopro-222DIY-cards
Commits
d1142a69
Commit
d1142a69
authored
Aug 17, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
byd
parent
851b918a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
7 deletions
+14
-7
expansions/script/c17243481.lua
expansions/script/c17243481.lua
+14
-7
No files found.
expansions/script/c17243481.lua
View file @
d1142a69
...
...
@@ -85,11 +85,18 @@ function cm.sumfilter(c)
end
function
cm
.
drop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
p
,
d
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
,
CHAININFO_TARGET_PARAM
)
local
ftp
=
e
:
GetHandler
():
GetOwner
()
if
Duel
.
Draw
(
p
,
d
,
REASON_EFFECT
)
~=
0
and
Duel
.
IsExistingMatchingCard
(
cm
.
sumfilter
,
ftp
,
LOCATION_HAND
,
0
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
ftp
,
aux
.
Stringid
(
m
,
3
))
then
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
ftp
,
HINTMSG_SUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
ftp
,
cm
.
sumfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
Duel
.
Summon
(
ftp
,
g
:
GetFirst
(),
true
,
nil
)
local
vp
=
e
:
GetHandler
():
GetOwner
()
if
Duel
.
Draw
(
p
,
d
,
REASON_EFFECT
)
>
0
then
if
Duel
.
IsExistingMatchingCard
(
cm
.
sumfilter
,
vp
,
LOCATION_HAND
,
0
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
vp
,
aux
.
Stringid
(
m
,
3
))
then
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
vp
,
HINTMSG_SUMMON
)
local
sg
=
Duel
.
SelectMatchingCard
(
vp
,
cm
.
sumfilter
,
vp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
if
sg
:
GetCount
()
>
0
then
local
tc
=
sg
:
GetFirst
()
Duel
.
Summon
(
tp
,
tc
,
true
,
nil
)
end
end
end
end
\ No newline at end of file
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