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
abe3d46e
Commit
abe3d46e
authored
Jul 30, 2016
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
35279684
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
c3752422.lua
c3752422.lua
+9
-2
No files found.
c3752422.lua
View file @
abe3d46e
...
@@ -47,9 +47,16 @@ end
...
@@ -47,9 +47,16 @@ end
function
c3752422
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c3752422
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
chkc
then
return
chkc
~=
c
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c3752422
.
filter
(
chkc
)
end
if
chkc
then
return
chkc
~=
c
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c3752422
.
filter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c3752422
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
c
)
end
if
chk
==
0
then
return
c
:
GetLevel
()
>
1
and
Duel
.
IsExistingTarget
(
c3752422
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
c
)
end
local
t
=
{}
local
p
=
c
:
GetLevel
()
-
1
p
=
math.min
(
p
,
5
)
for
i
=
1
,
p
do
t
[
i
]
=
i
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
567
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
567
)
e
:
SetLabel
(
Duel
.
AnnounceNumber
(
tp
,
1
,
2
,
3
,
4
,
5
))
e
:
SetLabel
(
Duel
.
AnnounceNumber
(
tp
,
table.unpack
(
t
)
))
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
Duel
.
SelectTarget
(
tp
,
c3752422
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
c
)
Duel
.
SelectTarget
(
tp
,
c3752422
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
c
)
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