Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
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
List
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
YGOPRO-520DIY
ygopro
Commits
1f54d259
Commit
1f54d259
authored
Jul 24, 2014
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
b8e664ac
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
8 deletions
+10
-8
script/c13760677.lua
script/c13760677.lua
+5
-4
script/c37991342.lua
script/c37991342.lua
+1
-1
script/c64496451.lua
script/c64496451.lua
+1
-1
script/c90885155.lua
script/c90885155.lua
+1
-1
script/c91907707.lua
script/c91907707.lua
+1
-1
script/utility.lua
script/utility.lua
+1
-0
No files found.
script/c13760677.lua
View file @
1f54d259
...
@@ -29,12 +29,13 @@ function c13760677.initial_effect(c)
...
@@ -29,12 +29,13 @@ function c13760677.initial_effect(c)
e3
:
SetOperation
(
c13760677
.
thop
)
e3
:
SetOperation
(
c13760677
.
thop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c13760677
.
cfilter
(
c
,
tp
)
function
c13760677
.
cfilter
(
c
,
e
,
tp
)
return
c
:
IsRace
(
RACE_ZOMBIE
)
and
c
:
GetSummonPlayer
()
==
tp
and
c
:
GetSummonType
()
==
SUMMON_TYPE_PENDULUM
return
c
:
IsRace
(
RACE_ZOMBIE
)
and
c
:
GetSummonPlayer
()
==
tp
and
c
:
GetSummonType
()
==
SUMMON_TYPE_PENDULUM
and
(
not
e
or
c
:
IsRelateToEffect
(
e
))
end
end
function
c13760677
.
indcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c13760677
.
indcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
(
e
:
GetHandler
():
GetSequence
()
==
6
or
e
:
GetHandler
():
GetSequence
()
==
7
)
return
(
e
:
GetHandler
():
GetSequence
()
==
6
or
e
:
GetHandler
():
GetSequence
()
==
7
)
and
eg
:
IsExists
(
c13760677
.
cfilter
,
1
,
nil
,
tp
)
and
eg
:
IsExists
(
c13760677
.
cfilter
,
1
,
nil
,
nil
,
tp
)
end
end
function
c13760677
.
indtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c13760677
.
indtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
...
@@ -43,8 +44,8 @@ end
...
@@ -43,8 +44,8 @@ end
function
c13760677
.
indop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c13760677
.
indop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
local
g
=
eg
:
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
local
g
=
eg
:
Filter
(
c13760677
.
cfilter
,
nil
,
e
,
tp
)
local
tc
=
e
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
while
tc
do
while
tc
do
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
script/c37991342.lua
View file @
1f54d259
...
@@ -75,7 +75,7 @@ function c37991342.ntcon(e,c)
...
@@ -75,7 +75,7 @@ function c37991342.ntcon(e,c)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
return
c
:
GetLevel
()
>
4
and
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>
0
return
c
:
GetLevel
()
>
4
and
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>
0
end
end
function
c37991342
.
lvcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c37991342
.
lvcon
(
e
)
return
e
:
GetHandler
():
GetMaterialCount
()
==
0
return
e
:
GetHandler
():
GetMaterialCount
()
==
0
end
end
function
c37991342
.
lvop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c37991342
.
lvop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c64496451.lua
View file @
1f54d259
...
@@ -83,7 +83,7 @@ function c64496451.ntcon(e,c)
...
@@ -83,7 +83,7 @@ function c64496451.ntcon(e,c)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
return
c
:
GetLevel
()
>
4
and
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>
0
return
c
:
GetLevel
()
>
4
and
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>
0
end
end
function
c64496451
.
lvcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c64496451
.
lvcon
(
e
)
return
e
:
GetHandler
():
GetMaterialCount
()
==
0
return
e
:
GetHandler
():
GetMaterialCount
()
==
0
end
end
function
c64496451
.
lvop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c64496451
.
lvop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c90885155.lua
View file @
1f54d259
...
@@ -79,7 +79,7 @@ function c90885155.ntcon(e,c)
...
@@ -79,7 +79,7 @@ function c90885155.ntcon(e,c)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
return
c
:
GetLevel
()
>
4
and
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>
0
return
c
:
GetLevel
()
>
4
and
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>
0
end
end
function
c90885155
.
lvcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c90885155
.
lvcon
(
e
)
return
e
:
GetHandler
():
GetMaterialCount
()
==
0
return
e
:
GetHandler
():
GetMaterialCount
()
==
0
end
end
function
c90885155
.
lvop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c90885155
.
lvop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c91907707.lua
View file @
1f54d259
...
@@ -76,7 +76,7 @@ function c91907707.ntcon(e,c)
...
@@ -76,7 +76,7 @@ function c91907707.ntcon(e,c)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
return
c
:
GetLevel
()
>
4
and
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>
0
return
c
:
GetLevel
()
>
4
and
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>
0
end
end
function
c91907707
.
lvcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c91907707
.
lvcon
(
e
)
return
e
:
GetHandler
():
GetMaterialCount
()
==
0
return
e
:
GetHandler
():
GetMaterialCount
()
==
0
end
end
function
c91907707
.
lvop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c91907707
.
lvop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/utility.lua
View file @
1f54d259
...
@@ -236,6 +236,7 @@ function Auxiliary.XyzOperation2(f,minc,maxc,alterf,desc,op)
...
@@ -236,6 +236,7 @@ function Auxiliary.XyzOperation2(f,minc,maxc,alterf,desc,op)
local
ct
=-
ft
local
ct
=-
ft
local
b1
=
Duel
.
CheckXyzMaterial
(
c
,
f
,
minc
,
maxc
,
og
)
local
b1
=
Duel
.
CheckXyzMaterial
(
c
,
f
,
minc
,
maxc
,
og
)
local
b2
=
ct
<
1
and
Duel
.
IsExistingMatchingCard
(
alterf
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
local
b2
=
ct
<
1
and
Duel
.
IsExistingMatchingCard
(
alterf
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
(
not
op
or
op
(
e
,
tp
,
0
))
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_XMATERIAL
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_XMATERIAL
)
if
b2
and
(
not
b1
or
Duel
.
SelectYesNo
(
tp
,
desc
))
then
if
b2
and
(
not
b1
or
Duel
.
SelectYesNo
(
tp
,
desc
))
then
if
op
then
op
(
e
,
tp
,
1
)
end
if
op
then
op
(
e
,
tp
,
1
)
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