Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-pre-data
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
MyCard
ygopro-pre-data
Commits
4cb6a9fd
Commit
4cb6a9fd
authored
Apr 24, 2020
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
a80f37ee
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
10 deletions
+17
-10
script/c100266029.lua
script/c100266029.lua
+17
-10
No files found.
script/c100266029.lua
View file @
4cb6a9fd
...
@@ -74,17 +74,24 @@ function c100266029.drawop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -74,17 +74,24 @@ function c100266029.drawop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
Draw
(
p
,
d
,
REASON_EFFECT
)
~=
0
then
if
Duel
.
Draw
(
p
,
d
,
REASON_EFFECT
)
~=
0
then
local
tc
=
Duel
.
GetOperatedGroup
():
GetFirst
()
local
tc
=
Duel
.
GetOperatedGroup
():
GetFirst
()
Duel
.
ConfirmCards
(
1
-
p
,
tc
)
Duel
.
ConfirmCards
(
1
-
p
,
tc
)
if
tc
:
IsType
(
TYPE_MONSTER
)
and
tc
:
IsSetCard
(
0xe6
)
and
Duel
.
IsExistingMatchingCard
(
c100266029
.
sfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
100266029
,
0
))
then
if
tc
:
IsType
(
TYPE_MONSTER
)
and
tc
:
IsSetCard
(
0xe6
)
then
local
sel
=
1
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
100266029
,
0
))
if
Duel
.
IsExistingMatchingCard
(
c100266029
.
sfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
then
sel
=
Duel
.
SelectOption
(
tp
,
1213
,
1214
)
else
sel
=
Duel
.
SelectOption
(
tp
,
1214
)
+
1
end
if
sel
==
0
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_OPERATECARD
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_OPERATECARD
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
c100266029
.
sfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
sc
=
Duel
.
SelectMatchingCard
(
tp
,
c100266029
.
sfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
):
GetFirst
()
if
#
sg
>
0
then
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
sc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
sg
:
GetFirst
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
(
not
sc
:
IsAbleToHand
()
or
Duel
.
SelectOption
(
tp
,
1190
,
1152
)
==
1
)
then
and
(
not
sg
:
GetFirst
():
IsAbleToHand
()
or
Duel
.
SelectOption
(
tp
,
1190
,
1152
)
==
1
)
then
Duel
.
SpecialSummon
(
sc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
sg
:
GetFirst
(),
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
else
else
Duel
.
SendtoHand
(
s
g
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
s
c
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
s
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
s
c
)
end
end
end
end
else
else
...
...
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