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
3320e0db
Commit
3320e0db
authored
Sep 11, 2017
by
mercury233
Committed by
GitHub
Sep 11, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
d4aff3a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
c54658815.lua
c54658815.lua
+2
-2
No files found.
c54658815.lua
View file @
3320e0db
...
...
@@ -20,7 +20,7 @@ function c54658815.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local
zone
=
0
local
lg
=
Duel
.
GetMatchingGroup
(
c54658815
.
lkfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
for
tc
in
aux
.
Next
(
lg
)
do
zone
=
bit
.
bor
(
zone
,
tc
:
GetLinkedZone
(
))
zone
=
bit
.
bor
(
zone
,
bit
.
rshift
(
tc
:
GetLinkedZone
(),
16
))
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
1
-
tp
)
and
c54658815
.
filter
(
chkc
,
e
,
tp
,
zone
)
end
if
chk
==
0
then
return
zone
~=
0
and
Duel
.
IsExistingTarget
(
c54658815
.
filter
,
tp
,
0
,
LOCATION_GRAVE
,
1
,
nil
,
e
,
tp
,
zone
)
end
...
...
@@ -34,7 +34,7 @@ function c54658815.activate(e,tp,eg,ep,ev,re,r,rp)
local
zone
=
0
local
lg
=
Duel
.
GetMatchingGroup
(
c54658815
.
lkfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
for
tc
in
aux
.
Next
(
lg
)
do
zone
=
bit
.
bor
(
zone
,
tc
:
GetLinkedZone
(
))
zone
=
bit
.
bor
(
zone
,
bit
.
rshift
(
tc
:
GetLinkedZone
(),
16
))
end
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
1
-
tp
,
false
,
false
,
POS_FACEUP
,
zone
)
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