Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-pre-data
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
MyCard
ygopro-pre-data
Commits
7f130759
Commit
7f130759
authored
Apr 19, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
54df2a39
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
script/c101005033.lua
script/c101005033.lua
+2
-1
script/c101005067.lua
script/c101005067.lua
+0
-1
script/c101005072.lua
script/c101005072.lua
+2
-0
No files found.
script/c101005033.lua
View file @
7f130759
...
...
@@ -62,11 +62,12 @@ function c101005033.spcon(e,tp,eg,ep,ev,re,r,rp)
end
function
c101005033
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCountFromEx
(
tp
)
>
0
and
aux
.
MustMaterialCheck
(
nil
,
tp
,
EFFECT_MUST_BE_SMATERIAL
)
and
Duel
.
IsExistingMatchingCard
(
c101005033
.
spfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
end
function
c101005033
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCountFromEx
(
tp
)
<=
0
then
return
end
if
Duel
.
GetLocationCountFromEx
(
tp
)
<=
0
or
not
aux
.
MustMaterialCheck
(
nil
,
tp
,
EFFECT_MUST_BE_SMATERIAL
)
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
c101005033
.
spfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
):
GetFirst
()
if
tc
and
Duel
.
SpecialSummon
(
tc
,
SUMMON_TYPE_SYNCHRO
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
then
...
...
script/c101005067.lua
View file @
7f130759
...
...
@@ -50,7 +50,6 @@ function c101005067.thop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
e
:
GetLabelObject
()
if
g
:
GetCount
()
==
3
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
end
script/c101005072.lua
View file @
7f130759
...
...
@@ -75,6 +75,7 @@ function c101005072.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c101005072
.
relfilter
(
c
,
e
,
tp
,
tc
,
ft
)
if
not
c
:
IsLevelAbove
(
tc
:
GetLevel
())
then
return
false
end
if
tc
.
mat_filter
and
not
tc
.
mat_filter
(
c
)
then
return
false
end
if
c
:
IsLocation
(
LOCATION_GRAVE
)
then
return
c
:
IsType
(
TYPE_RITUAL
)
and
ft
>
0
and
c
:
IsAbleToDeck
()
else
...
...
@@ -86,6 +87,7 @@ function c101005072.spop(e,tp,eg,ep,ev,re,r,rp)
if
not
rc
or
rc
:
IsFacedown
()
or
rc
:
GetFlagEffect
(
101005072
)
==
0
then
return
end
if
not
rc
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_RITUAL
,
tp
,
false
,
true
)
then
return
end
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
c101005072
.
relfilter
),
tp
,
LOCATION_MZONE
+
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
1
,
rc
,
e
,
tp
,
rc
,
ft
):
GetFirst
()
if
tc
then
rc
:
SetMaterial
(
Group
.
FromCards
(
tc
))
...
...
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