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
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-scripts
Commits
eef56673
Commit
eef56673
authored
Dec 19, 2015
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
9bf3d963
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
14 additions
and
27 deletions
+14
-27
c15155568.lua
c15155568.lua
+1
-5
c1784686.lua
c1784686.lua
+1
-5
c1801154.lua
c1801154.lua
+6
-10
c27383110.lua
c27383110.lua
+1
-0
c41940225.lua
c41940225.lua
+1
-5
c45410988.lua
c45410988.lua
+1
-0
c68319538.lua
c68319538.lua
+2
-2
c79306385.lua
c79306385.lua
+1
-0
No files found.
c15155568.lua
View file @
eef56673
...
...
@@ -22,11 +22,7 @@ function c15155568.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c15155568
.
cfilter
(
c
)
if
c
:
IsFacedown
()
or
not
c
.
material
then
return
false
end
for
i
,
mcode
in
ipairs
(
c
.
material
)
do
if
mcode
==
78193831
then
return
true
end
end
return
false
return
c
:
IsFaceup
()
and
aux
.
IsMaterialListCode
(
c
,
78193831
)
end
function
c15155568
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c15155568
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
...
...
c1784686.lua
View file @
eef56673
...
...
@@ -28,11 +28,7 @@ function c1784686.tgfilter(c,e,tp)
and
Duel
.
IsExistingMatchingCard
(
c1784686
.
spfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
c
:
GetCode
())
end
function
c1784686
.
spfilter
(
c
,
e
,
tp
,
code
)
if
not
c
.
material
or
not
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_FUSION
,
tp
,
false
,
false
)
then
return
false
end
for
i
,
mcode
in
ipairs
(
c
.
material
)
do
if
code
==
mcode
then
return
true
end
end
return
false
return
aux
.
IsMaterialListCode
(
c
,
code
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_FUSION
,
tp
,
false
,
false
)
end
function
c1784686
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
==
0
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c1784686
.
tgfilter
(
chkc
,
e
,
tp
)
end
...
...
c1801154.lua
View file @
eef56673
...
...
@@ -17,18 +17,14 @@ function c1801154.initial_effect(c)
e2
:
SetOperation
(
c1801154
.
spop
)
c
:
RegisterEffect
(
e2
)
end
function
c1801154
.
filter2
(
c
,
code
)
if
not
c
.
material
or
not
c
:
IsReason
(
REASON_DESTROY
)
or
not
c
:
IsReason
(
REASON_EFFECT
)
then
return
false
end
for
i
,
mcode
in
ipairs
(
c
.
material
)
do
if
code
==
mcode
then
return
true
end
end
return
false
end
function
c1801154
.
filter1
(
c
,
e
,
tp
,
eg
)
if
not
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
then
return
false
end
return
eg
:
IsExists
(
c1801154
.
filter2
,
1
,
nil
,
c
:
GetCode
())
return
eg
:
IsExists
(
c1801154
.
filter2
,
1
,
nil
,
c
:
GetCode
())
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c1801154
.
filter2
(
c
,
code
)
return
c
:
IsReason
(
REASON_DESTROY
)
and
c
:
IsReason
(
REASON_EFFECT
)
and
aux
.
IsMaterialListCode
(
c
,
code
)
end
function
c1801154
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c1801154
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c1801154
.
filter1
(
chkc
,
e
,
tp
,
eg
)
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsRelateToEffect
(
e
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingTarget
(
c1801154
.
filter1
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
,
eg
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
...
...
c27383110.lua
View file @
eef56673
...
...
@@ -21,6 +21,7 @@ function c27383110.initial_effect(c)
e2
:
SetLabelObject
(
e1
)
c
:
RegisterEffect
(
e2
)
end
c27383110
.
fit_monster
=
{
44665365
}
function
c27383110
.
filter
(
c
,
e
,
tp
,
m
)
if
not
c
:
IsCode
(
44665365
)
or
not
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_RITUAL
,
tp
,
false
,
true
)
then
return
false
end
local
mg
=
m
:
Filter
(
Card
.
IsCanBeRitualMaterial
,
c
,
c
)
...
...
c41940225.lua
View file @
eef56673
...
...
@@ -33,11 +33,7 @@ function c41940225.filter2(c,e,tp,m,f,chkf)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_FUSION
,
tp
,
false
,
false
)
and
c
:
CheckFusionMaterial
(
m
,
nil
,
chkf
)
end
function
c41940225
.
spfilter
(
c
)
if
not
c
.
material
then
return
false
end
for
i
,
mcode
in
ipairs
(
c
.
material
)
do
if
mcode
==
78193831
then
return
true
end
end
return
false
return
aux
.
IsMaterialListCode
(
c
,
78193831
)
end
function
c41940225
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
...
...
c45410988.lua
View file @
eef56673
...
...
@@ -9,6 +9,7 @@ function c45410988.initial_effect(c)
e1
:
SetOperation
(
c45410988
.
activate
)
c
:
RegisterEffect
(
e1
)
end
c45410988
.
fit_monster
=
{
19025379
}
function
c45410988
.
filter
(
c
,
e
,
tp
,
m1
,
m2
)
if
not
c
:
IsCode
(
19025379
)
or
not
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_RITUAL
,
tp
,
false
,
true
)
then
return
false
end
local
mg
=
m1
:
Filter
(
Card
.
IsCanBeRitualMaterial
,
c
,
c
)
...
...
c68319538.lua
View file @
eef56673
...
...
@@ -34,8 +34,8 @@ function c68319538.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chkc
then
return
chkc
:
IsOnField
()
and
c68319538
.
filter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c68319538
.
filter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RTOHAND
)
local
eg
=
Duel
.
SelectTarget
(
tp
,
c68319538
.
filter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
11
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
eg
,
e
g
:
GetCount
(),
0
,
0
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c68319538
.
filter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
16
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
g
,
g
:
GetCount
(),
0
,
0
)
end
function
c68319538
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tg
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
)
...
...
c79306385.lua
View file @
eef56673
...
...
@@ -9,6 +9,7 @@ function c79306385.initial_effect(c)
e1
:
SetOperation
(
c79306385
.
activate
)
c
:
RegisterEffect
(
e1
)
end
c79306385
.
fit_monster
=
{
48546368
}
function
c79306385
.
filter
(
c
,
e
,
tp
,
m
)
if
not
c
:
IsCode
(
48546368
)
or
not
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_RITUAL
,
tp
,
false
,
true
)
then
return
false
end
local
mg
=
m
:
Filter
(
Card
.
IsCanBeRitualMaterial
,
c
,
c
)
...
...
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