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
Soulgamer
ygopro-222DIY-cards
Commits
584b554b
Commit
584b554b
authored
Mar 12, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ybb
parent
fbc57124
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
expansions/script/c81034037.lua
expansions/script/c81034037.lua
+3
-3
No files found.
expansions/script/c81034037.lua
View file @
584b554b
...
@@ -56,11 +56,11 @@ function cm.tgop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -56,11 +56,11 @@ function cm.tgop(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
and
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
~=
0
and
g
:
GetFirst
():
IsLocation
(
LOCATION_HAND
+
LOCATION_EXTRA
)
then
if
g
:
GetCount
()
>
0
and
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
~=
0
and
g
:
GetFirst
():
IsLocation
(
LOCATION_HAND
+
LOCATION_EXTRA
)
then
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
local
tg
=
Duel
.
GetMatchingGroup
(
Card
.
IsFacedown
,
1
-
tp
,
LOCATION_EXTRA
,
0
,
nil
)
local
tg
=
Duel
.
GetMatchingGroup
(
Card
.
IsFacedown
,
1
-
tp
,
LOCATION_EXTRA
,
0
,
nil
)
local
sg
=
Duel
.
GetMatchingGroup
(
Card
.
IsSynchroSummonable
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
nil
)
local
sg
=
Duel
.
GetMatchingGroup
(
Card
.
IsSynchroSummonable
,
1
-
tp
,
LOCATION_EXTRA
,
0
,
nil
,
nil
)
if
sg
:
GetCount
()
>
0
then
if
sg
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
pg
=
sg
:
Select
(
tp
,
1
,
1
,
nil
)
local
pg
=
sg
:
Select
(
1
-
tp
,
1
,
1
,
nil
)
Duel
.
SynchroSummon
(
tp
,
pg
:
GetFirst
(),
nil
)
Duel
.
SynchroSummon
(
1
-
tp
,
pg
:
GetFirst
(),
nil
)
else
else
Duel
.
ConfirmCards
(
tp
,
tg
)
Duel
.
ConfirmCards
(
tp
,
tg
)
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