Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
22f77745
Commit
22f77745
authored
Feb 11, 2025
by
花桃白音
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix #124s
parent
f522220e
Pipeline
#33111
passed with stages
in 35 minutes and 3 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
expansions/script/c12400118.lua
expansions/script/c12400118.lua
+1
-2
expansions/script/c12400130.lua
expansions/script/c12400130.lua
+2
-3
No files found.
expansions/script/c12400118.lua
View file @
22f77745
...
...
@@ -25,7 +25,6 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
local
g1
=
Duel
.
GetMatchingGroup
(
aux
.
NecroValleyFilter
(
s
.
tdfilter
),
tp
,
LOCATION_HAND
+
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
local
g3
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToGrave
,
tp
,
LOCATION_HAND
+
LOCATION_ONFIELD
,
0
,
c
)
local
g3
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_HAND
+
LOCATION_ONFIELD
,
0
,
nil
)
local
g4
=
Duel
.
GetMatchingGroup
(
aux
.
NecroValleyFilter
(
s
.
spfilter
),
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
nil
,
e
,
tp
)
local
b1
=#
g1
>
0
and
#
g2
>
0
local
b2
=#
g3
>
0
and
#
g4
>
0
...
...
@@ -50,7 +49,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
sg1
=
g1
:
Select
(
tp
,
1
,
1
,
nil
)
if
#
sg1
>
0
then
if
Duel
.
SendtoDeck
(
sg1
,
nil
,
2
,
REASON_EFFECT
)
~
0
and
(
sg1
:
GetFirst
():
IsLocation
(
LOCATION_DECK
)
or
if
Duel
.
SendtoDeck
(
sg1
,
nil
,
2
,
REASON_EFFECT
)
~
=
0
and
(
sg1
:
GetFirst
():
IsLocation
(
LOCATION_DECK
)
or
sg1
:
GetFirst
():
IsLocation
(
LOCATION_EXTRA
))
and
#
g2
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
sg2
=
g2
:
Select
(
tp
,
1
,
1
,
nil
)
...
...
expansions/script/c12400130.lua
View file @
22f77745
...
...
@@ -61,10 +61,10 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
s
.
mobfilter
),
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
local
b1
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
local
b1
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
local
b2
=
Duel
.
GetLocationCount
(
tc
:
GetOwner
(),
LOCATION_SZONE
)
>
0
if
tc
then
local
op
=
aux
.
SelectFromOptions
(
tp
,{
b1
,
11
18
},{
b2
,
aux
.
Stringid
(
id
,
4
)})
local
op
=
aux
.
SelectFromOptions
(
tp
,{
b1
,
11
90
},{
b2
,
aux
.
Stringid
(
id
,
4
)})
if
op
==
1
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
...
...
@@ -102,7 +102,6 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
dg
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
if
#
dg
>
0
then
Duel
.
HintSelection
(
dg
)
Duel
.
Destroy
(
dg
,
REASON_EFFECT
)
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