Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
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-2pick
Commits
2f611df9
Commit
2f611df9
authored
Sep 03, 2017
by
purerosefallen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
3a3cdac7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
expansions/script/c13257317.lua
expansions/script/c13257317.lua
+4
-1
No files found.
expansions/script/c13257317.lua
View file @
2f611df9
...
@@ -47,6 +47,9 @@ end
...
@@ -47,6 +47,9 @@ end
function
c13257317
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c13257317
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
Duel
.
Hint
(
11
,
0
,
aux
.
Stringid
(
13257317
,
7
))
Duel
.
Hint
(
11
,
0
,
aux
.
Stringid
(
13257317
,
7
))
end
end
function
c13257317
.
eqfilter
(
c
,
ec
)
return
c
:
IsSetCard
(
0x352
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
CheckEquipTarget
(
ec
)
end
function
c13257317
.
pctg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c13257317
.
pctg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
t1
=
Duel
.
IsExistingMatchingCard
(
c13257317
.
eqfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
c
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
local
t1
=
Duel
.
IsExistingMatchingCard
(
c13257317
.
eqfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
c
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
...
@@ -160,7 +163,7 @@ function c13257317.uptg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -160,7 +163,7 @@ function c13257317.uptg(e,tp,eg,ep,ev,re,r,rp,chk)
local
tc
=
Duel
.
GetAttacker
()
local
tc
=
Duel
.
GetAttacker
()
local
at
=
Duel
.
GetAttackTarget
()
local
at
=
Duel
.
GetAttackTarget
()
if
tc
:
IsControler
(
1
-
tp
)
then
tc
=
at
end
if
tc
:
IsControler
(
1
-
tp
)
then
tc
=
at
end
if
tc
:
IsFacedown
()
then
return
false
end
if
not
tc
and
tc
:
IsFacedown
()
then
return
false
end
e
:
SetLabelObject
(
tc
)
e
:
SetLabelObject
(
tc
)
if
chk
==
0
then
return
tc
:
IsControler
(
tp
)
and
tc
:
IsLocation
(
LOCATION_MZONE
)
and
tc
:
IsSetCard
(
0x351
)
and
e
:
GetHandler
()
~=
tc
end
if
chk
==
0
then
return
tc
:
IsControler
(
tp
)
and
tc
:
IsLocation
(
LOCATION_MZONE
)
and
tc
:
IsSetCard
(
0x351
)
and
e
:
GetHandler
()
~=
tc
end
e
:
SetLabelObject
(
tc
)
e
:
SetLabelObject
(
tc
)
...
...
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