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
e8b4a37b
Commit
e8b4a37b
authored
Jun 12, 2022
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
5d7ec0fa
Pipeline
#13549
passed with stages
in 1 minute and 38 seconds
Changes
4
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
5 deletions
+6
-5
script/c100290008.lua
script/c100290008.lua
+1
-1
script/c100427024.lua
script/c100427024.lua
+1
-0
script/c101108089.lua
script/c101108089.lua
+3
-3
script/c101110052.lua
script/c101110052.lua
+1
-1
No files found.
script/c100290008.lua
View file @
e8b4a37b
...
...
@@ -40,7 +40,7 @@ end
function
c100290008
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
c100290008
.
tdfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
e
,
tp
):
GetFirst
()
if
tc
and
Duel
.
SendtoDeck
(
tc
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
>
0
and
tc
:
IsLocation
(
LOCATION_DECK
)
if
tc
and
Duel
.
SendtoDeck
(
tc
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
>
0
and
tc
:
IsLocation
(
LOCATION_DECK
+
LOCATION_EXTRA
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c100290008
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
,
tc
:
GetCode
())
...
...
script/c100427024.lua
View file @
e8b4a37b
...
...
@@ -48,6 +48,7 @@ function c100427024.spop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
NecroValleyFilter
(
c100427024
.
spfilter
),
tp
,
LOCATION_GRAVE
,
0
,
nil
,
e
,
tp
)
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
g
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
100427024
,
2
))
then
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
...
...
script/c101108089.lua
View file @
e8b4a37b
...
...
@@ -4,13 +4,13 @@ local s,id,o=GetID()
function
s
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
45001322
,
101108087
)
--ritual summon
aux
.
AddRitualProcGreater
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsSetCard
,
0x17c
),
LOCATION_HAND
,
nil
,
nil
,
false
,
s
.
op
)
aux
.
AddRitualProcGreater
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsSetCard
,
0x17c
),
LOCATION_HAND
,
nil
,
nil
,
false
,
s
.
extra
op
)
end
function
s
.
filter
(
c
)
return
c
:
IsCode
(
45001322
)
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
end
function
s
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
tc
,
g
)
if
not
(
g
:
IsExists
(
s
.
filter
,
1
,
nil
)
and
tc
:
IsCode
(
101108087
))
then
return
end
function
s
.
extraop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
tc
,
mat
)
if
not
(
tc
and
tc
:
IsCode
(
101108087
)
and
mat
:
IsExists
(
s
.
filter
,
1
,
nil
))
then
return
end
local
c
=
e
:
GetHandler
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
...
...
script/c101110052.lua
View file @
e8b4a37b
...
...
@@ -47,7 +47,7 @@ function c101110052.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local
_
,
atk
=
eg
:
Filter
(
c101110052
.
cfilter
,
nil
,
tp
):
GetMaxGroup
(
Card
.
GetAttack
)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_GRAVE
+
LOCATION_REMOVED
)
and
c101110052
.
spfilter
(
c
,
e
,
tp
,
atk
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
atk
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingTarget
(
c101110052
.
spfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
nil
,
e
,
tp
,
atk
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c101110052
.
spfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
1
,
nil
,
e
,
tp
,
atk
)
...
...
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