Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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
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-scripts
Commits
65c76062
Commit
65c76062
authored
Dec 15, 2017
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
5296b63e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
c11801343.lua
c11801343.lua
+1
-1
c42461852.lua
c42461852.lua
+2
-2
No files found.
c11801343.lua
View file @
65c76062
...
@@ -13,7 +13,7 @@ function c11801343.initial_effect(c)
...
@@ -13,7 +13,7 @@ function c11801343.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c11801343
.
thfilter
(
c
,
e
,
tp
)
function
c11801343
.
thfilter
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_CYBERSE
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_CYBERSE
)
and
c
:
IsAbleToHand
()
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c11801343
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
,
c
)
and
Duel
.
IsExistingMatchingCard
(
c11801343
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
,
c
)
end
end
...
...
c42461852.lua
View file @
65c76062
...
@@ -43,7 +43,7 @@ function c42461852.spcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -43,7 +43,7 @@ function c42461852.spcon(e,tp,eg,ep,ev,re,r,rp)
return
ep
==
tp
and
ev
>=
2000
return
ep
==
tp
and
ev
>=
2000
end
end
function
c42461852
.
spfilter
(
c
,
e
,
tp
)
function
c42461852
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsFacedown
()
and
c
:
IsType
(
TYPE_LINK
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
c
)
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsFacedown
()
and
c
:
IsType
(
TYPE_LINK
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c42461852
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c42461852
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c42461852
.
spfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c42461852
.
spfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
)
end
...
@@ -56,7 +56,7 @@ function c42461852.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -56,7 +56,7 @@ function c42461852.spop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
RandomSelect
(
tp
,
1
):
GetFirst
()
local
tc
=
g
:
RandomSelect
(
tp
,
1
):
GetFirst
()
if
tc
then
if
tc
then
Duel
.
ConfirmCards
(
PLAYER_ALL
,
tc
)
Duel
.
ConfirmCards
(
PLAYER_ALL
,
tc
)
if
tc
:
IsType
(
TYPE_LINK
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
tc
)
>
0
and
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
if
tc
:
IsType
(
TYPE_LINK
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
tc
)
>
0
and
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
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