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
db2b5d49
Commit
db2b5d49
authored
Mar 15, 2015
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
6ab3a698
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
5 deletions
+12
-5
script/c5288597.lua
script/c5288597.lua
+4
-1
script/c69270537.lua
script/c69270537.lua
+7
-3
script/c89312388.lua
script/c89312388.lua
+1
-1
No files found.
script/c5288597.lua
View file @
db2b5d49
...
...
@@ -18,8 +18,11 @@ function c5288597.cost(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c5288597
.
cfilter
(
c
,
e
,
tp
)
local
lv
=
c
:
GetOriginalLevel
()
local
rc
=
nil
if
Duel
.
IsEnvironment
(
4064256
)
then
rc
=
RACE_ZOMBIE
else
rc
=
c
:
GetOriginalRace
()
end
return
lv
>
0
and
c
:
IsFaceup
()
and
c
:
IsAbleToGraveAsCost
()
and
Duel
.
IsExistingMatchingCard
(
c5288597
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
lv
+
1
,
c
:
GetOriginalRace
()
,
c
:
GetOriginalAttribute
(),
e
,
tp
)
and
Duel
.
IsExistingMatchingCard
(
c5288597
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
lv
+
1
,
rc
,
c
:
GetOriginalAttribute
(),
e
,
tp
)
end
function
c5288597
.
spfilter
(
c
,
lv
,
rc
,
att
,
e
,
tp
)
return
c
:
GetLevel
()
==
lv
and
c
:
IsRace
(
rc
)
and
c
:
IsAttribute
(
att
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
script/c69270537.lua
View file @
db2b5d49
...
...
@@ -20,15 +20,19 @@ function c69270537.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local
g
=
Duel
.
SelectTarget
(
tp
,
c69270537
.
tdfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
1
,
0
,
0
)
end
function
c69270537
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
function
c69270537
.
spfilter
(
c
,
e
,
tp
,
fc
)
for
i
=
1
,
fc
.
material_count
do
if
c
:
GetCode
()
==
fc
.
material
[
i
]
then
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
return
false
end
function
c69270537
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
and
Duel
.
SendtoDeck
(
tc
,
nil
,
2
,
REASON_EFFECT
)
~=
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
1
and
tc
:
IsLocation
(
LOCATION_EXTRA
)
then
local
sg
=
Duel
.
GetMatchingGroup
(
c69270537
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
,
e
,
tp
)
local
sg
=
Duel
.
GetMatchingGroup
(
c69270537
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
,
e
,
tp
,
tc
)
if
tc
:
CheckFusionMaterial
(
sg
,
nil
,
PLAYER_NONE
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
69270537
,
0
))
then
Duel
.
BreakEffect
()
local
mats
=
Duel
.
SelectFusionMaterial
(
tp
,
tc
,
sg
,
nil
,
PLAYER_NONE
)
Duel
.
SpecialSummon
(
mats
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
...
...
script/c89312388.lua
View file @
db2b5d49
...
...
@@ -12,7 +12,7 @@ function c89312388.initial_effect(c)
end
function
c89312388
.
filter2
(
c
,
fc
)
local
fd
=
c
:
GetCode
()
if
c
:
IsHasEffect
(
EFFECT_FORBIDDEN
)
or
not
c
:
IsAbleToGraveAsCost
()
then
return
false
end
if
not
c
:
IsAbleToGraveAsCost
()
then
return
false
end
for
i
=
1
,
fc
.
material_count
do
if
fd
==
fc
.
material
[
i
]
then
return
true
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