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
12c8e7e5
Commit
12c8e7e5
authored
Sep 02, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndyd
parent
3a8d9c3a
Pipeline
#5166
failed with stages
in 24 minutes and 15 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
expansions/script/c71402000.lua
expansions/script/c71402000.lua
+4
-8
No files found.
expansions/script/c71402000.lua
View file @
12c8e7e5
...
@@ -58,7 +58,7 @@ end
...
@@ -58,7 +58,7 @@ end
function
c71402000
.
scop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c71402000
.
scop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
not
(
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
))
or
c
:
GetLeftScale
()
>=
13
then
return
end
if
not
(
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
))
or
t
c
:
GetLeftScale
()
>=
13
then
return
end
local
dc
=
Duel
.
TossDice
(
tp
,
1
)
local
dc
=
Duel
.
TossDice
(
tp
,
1
)
local
sch
=
math.min
(
13
-
c
:
GetLeftScale
(),
dc
)
local
sch
=
math.min
(
13
-
c
:
GetLeftScale
(),
dc
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
@@ -120,15 +120,11 @@ function c71402000.efop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -120,15 +120,11 @@ function c71402000.efop(e,tp,eg,ep,ev,re,r,rp)
end
end
elseif
dc
==
3
then
elseif
dc
==
3
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
tg
=
Duel
.
SelectMatchingCard
(
tp
,
c71402000
.
filter2
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c71402000
.
filter2
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
tg
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
>
0
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
sg
=
tg
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
Duel
.
SendtoGrave
(
sg
,
REASON_EFFECT
)
end
elseif
dc
==
4
then
elseif
dc
==
4
then
local
thg
=
Duel
.
GetMatchingGroup
(
c71402000
.
filter3
,
tp
,
LOCATION_GRAVE
,
0
,
nil
)
local
thg
=
Duel
.
GetMatchingGroup
(
c71402000
.
filter3
,
tp
,
LOCATION_GRAVE
,
0
,
nil
)
if
thg
:
GetCount
()
>
0
then
if
thg
:
GetCount
()
>
0
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
sc
=
thg
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
local
sc
=
thg
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
Duel
.
SendtoHand
(
sc
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
sc
,
nil
,
REASON_EFFECT
)
...
...
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