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
26ed9396
Commit
26ed9396
authored
Oct 22, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
423b7608
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
39 deletions
+0
-39
c13143275.lua
c13143275.lua
+0
-13
c59537380.lua
c59537380.lua
+0
-13
c86148577.lua
c86148577.lua
+0
-13
No files found.
c13143275.lua
View file @
26ed9396
...
...
@@ -24,19 +24,6 @@ function c13143275.initial_effect(c)
e2
:
SetTarget
(
c13143275
.
sptg
)
e2
:
SetOperation
(
c13143275
.
spop
)
c
:
RegisterEffect
(
e2
)
if
aux
.
GetMultiLinkedZone
==
nil
then
function
aux
.
GetMultiLinkedZone
(
tp
)
local
lg
=
Duel
.
GetMatchingGroup
(
Card
.
IsType
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
TYPE_LINK
)
local
multi_linked_zone
=
0
local
single_linked_zone
=
0
for
tc
in
aux
.
Next
(
lg
)
do
local
zone
=
tc
:
GetLinkedZone
(
tp
)
&
0x7f
multi_linked_zone
=
single_linked_zone
&
zone
|
multi_linked_zone
single_linked_zone
=
single_linked_zone
~
zone
end
return
multi_linked_zone
end
end
end
function
c13143275
.
matfilter
(
c
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsLinkRace
(
RACE_DRAGON
)
...
...
c59537380.lua
View file @
26ed9396
...
...
@@ -23,19 +23,6 @@ function c59537380.initial_effect(c)
e2
:
SetTarget
(
c59537380
.
sptg
)
e2
:
SetOperation
(
c59537380
.
spop
)
c
:
RegisterEffect
(
e2
)
if
aux
.
GetMultiLinkedZone
==
nil
then
function
aux
.
GetMultiLinkedZone
(
tp
)
local
lg
=
Duel
.
GetMatchingGroup
(
Card
.
IsType
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
TYPE_LINK
)
local
multi_linked_zone
=
0
local
single_linked_zone
=
0
for
tc
in
aux
.
Next
(
lg
)
do
local
zone
=
tc
:
GetLinkedZone
(
tp
)
&
0x7f
multi_linked_zone
=
single_linked_zone
&
zone
|
multi_linked_zone
single_linked_zone
=
single_linked_zone
~
zone
end
return
multi_linked_zone
end
end
end
function
c59537380
.
splimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
)
return
not
c
:
IsRace
(
RACE_DRAGON
)
...
...
c86148577.lua
View file @
26ed9396
...
...
@@ -23,19 +23,6 @@ function c86148577.initial_effect(c)
e2
:
SetTarget
(
c86148577
.
sptg
)
e2
:
SetOperation
(
c86148577
.
spop
)
c
:
RegisterEffect
(
e2
)
if
aux
.
GetMultiLinkedZone
==
nil
then
function
aux
.
GetMultiLinkedZone
(
tp
)
local
lg
=
Duel
.
GetMatchingGroup
(
Card
.
IsType
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
TYPE_LINK
)
local
multi_linked_zone
=
0
local
single_linked_zone
=
0
for
tc
in
aux
.
Next
(
lg
)
do
local
zone
=
tc
:
GetLinkedZone
(
tp
)
&
0x7f
multi_linked_zone
=
single_linked_zone
&
zone
|
multi_linked_zone
single_linked_zone
=
single_linked_zone
~
zone
end
return
multi_linked_zone
end
end
end
function
c86148577
.
matfilter
(
c
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsLinkRace
(
RACE_DRAGON
)
...
...
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