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
Ai
ygopro-222DIY-cards
Commits
8bb64fce
Commit
8bb64fce
authored
Sep 21, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mopempoe
parent
19243c9a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
expansions/script/c16104614.lua
expansions/script/c16104614.lua
+4
-5
No files found.
expansions/script/c16104614.lua
View file @
8bb64fce
...
@@ -24,18 +24,17 @@ function cm.turnupop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -24,18 +24,17 @@ function cm.turnupop(e,tp,eg,ep,ev,re,r,rp)
local
ac
=
Duel
.
AnnounceCard
(
tp
,
table.unpack
(
getmetatable
(
e
:
GetHandler
()).
announce_filter
))
local
ac
=
Duel
.
AnnounceCard
(
tp
,
table.unpack
(
getmetatable
(
e
:
GetHandler
()).
announce_filter
))
local
sg
=
Duel
.
GetFieldGroup
(
tp
,
0
,
LOCATION_HAND
)
local
sg
=
Duel
.
GetFieldGroup
(
tp
,
0
,
LOCATION_HAND
)
Duel
.
ConfirmCards
(
tp
,
sg
)
Duel
.
ConfirmCards
(
tp
,
sg
)
Duel
.
ShuffleHand
(
1
-
tp
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsCode
,
tp
,
0
,
LOCATION_HAND
,
nil
,
ac
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsCode
,
tp
,
0
,
LOCATION_HAND
,
nil
,
ac
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
if
g
:
IsExists
(
cm
.
turnupfilter
,
1
,
nil
)
then
if
g
:
IsExists
(
cm
.
turnupfilter
,
1
,
nil
)
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_SUMMON
)
local
sc
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
local
sc
=
g
:
Select
(
1
-
tp
,
1
,
1
,
nil
)
Duel
.
MSet
(
tp
,
sc
:
GetFirst
(),
true
,
nil
)
Duel
.
MSet
(
tp
,
sc
:
GetFirst
(),
true
,
nil
)
end
end
if
g
:
IsExists
(
cm
.
setfilter
,
1
,
nil
)
then
if
g
:
IsExists
(
cm
.
setfilter
,
1
,
nil
)
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SET
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SET
)
local
sc
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
local
sc
=
g
:
Select
(
1
-
tp
,
1
,
1
,
nil
)
Duel
.
SSet
(
tp
,
sc
)
Duel
.
SSet
(
1
-
tp
,
sc
,
tp
)
Duel
.
ConfirmCards
(
1
-
tp
,
sc
)
Duel
.
ConfirmCards
(
1
-
tp
,
sc
)
end
end
end
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