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
f53474d4
Commit
f53474d4
authored
Nov 19, 2021
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
ad2289ac
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
script/c100285003.lua
script/c100285003.lua
+1
-1
script/c100426003.lua
script/c100426003.lua
+4
-1
script/c100426005.lua
script/c100426005.lua
+2
-1
No files found.
script/c100285003.lua
View file @
f53474d4
...
...
@@ -2,7 +2,7 @@
--
--Script by Trishula9
function
c100285003
.
initial_effect
(
c
)
c
:
SetUniqueOnField
(
1
,
0
,
100
343041
)
c
:
SetUniqueOnField
(
1
,
0
,
100
285003
)
--link summon
c
:
EnableReviveLimit
()
aux
.
AddLinkProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsLinkRace
,
RACE_ZOMBIE
),
2
)
...
...
script/c100426003.lua
View file @
f53474d4
...
...
@@ -48,13 +48,16 @@ end
function
c100426003
.
ovtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c100426003
.
ovfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
:
GetHandler
())
end
end
function
c100426003
.
ovfilter2
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCanOverlay
()
end
function
c100426003
.
ovop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
100426003
,
0
))
local
mg
=
Duel
.
SelectMatchingCard
(
tp
,
c100426003
.
ovfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
c
)
Duel
.
Overlay
(
c
,
mg
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
c
)
local
g
=
Duel
.
GetMatchingGroup
(
c100426003
.
ovfilter2
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
c
)
if
g
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
100426003
,
1
))
then
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
100426003
,
0
))
...
...
script/c100426005.lua
View file @
f53474d4
...
...
@@ -53,7 +53,7 @@ function c100426005.cpcost(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
true
end
end
function
c100426005
.
cpfilter
(
c
)
return
c
:
GetType
()
==
TYPE_SPELL
and
(
c
:
IsSetCard
(
0x277
)
or
c
:
IsCode
(
57734012
)
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
GetType
()
==
TYPE_SPELL
and
c
:
IsSetCard
(
0x277
)
and
c
:
IsAbleToGraveAsCost
()
and
c
:
CheckActivateEffect
(
true
,
true
,
false
)
~=
nil
end
function
c100426005
.
cptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
@@ -117,6 +117,7 @@ function c100426005.xyzop(e,tp,eg,ep,ev,re,r,rp)
local
mg
=
Duel
.
GetMatchingGroup
(
c100426005
.
filter1
,
tp
,
LOCATION_DECK
,
0
,
nil
,
e
,
tp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
mg
:
SelectSubGroup
(
tp
,
c100426005
.
fselect
,
false
,
1
,
ft
,
tp
)
if
not
g
then
return
end
local
tc
=
g
:
GetFirst
()
while
tc
do
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
...
...
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