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
Nguyễn Anh Kiệt
ygopro-222DIY-cards
Commits
ac9c5e2e
Commit
ac9c5e2e
authored
Jul 10, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
byd
parent
839d1afb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
expansions/script/c16400142.lua
expansions/script/c16400142.lua
+1
-1
expansions/script/c5012624.lua
expansions/script/c5012624.lua
+5
-5
No files found.
expansions/script/c16400142.lua
View file @
ac9c5e2e
...
...
@@ -46,7 +46,7 @@ function cm.op1(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e1
,
tp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
filter1
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
filter1
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
...
...
expansions/script/c5012624.lua
View file @
ac9c5e2e
...
...
@@ -16,7 +16,7 @@ function s.initial_effect(c)
end
function
s
.
tgfilter
(
c
)
local
b1
=
c
:
IsLocation
(
LOCATION_REMOVED
)
local
b2
=
c
.
MoJin
==
true
and
c
:
IsLocation
(
LOCATION_DECK
)
and
c
:
IsType
(
TYPE_MONSTER
)
local
b2
=
c
.
MoJin
==
true
and
c
:
IsLocation
(
LOCATION_DECK
)
and
c
:
IsType
(
TYPE_MONSTER
)
local
b3
=
c
:
IsFaceupEx
()
and
c
:
IsCode
(
5012625
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
return
(
b1
or
b2
or
b3
)
and
c
:
IsAbleToGrave
()
end
...
...
@@ -31,7 +31,7 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
local
b1
=
Duel
.
IsExistingMatchingCard
(
s
.
tgfilter
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
nil
)
local
b2
=
Duel
.
IsExistingMatchingCard
(
s
.
tgfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
local
b3
=
Duel
.
IsExistingMatchingCard
(
s
.
tgfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
local
b4
=
rg1
:
CheckSubGroup
(
s
.
fselect
,
1
,
1
,
tp
)
--b4=rg1:CheckSubGroup(s.fselect,1
1,11,tp)
local
b4
=
rg1
:
CheckSubGroup
(
s
.
fselect
,
11
,
11
,
tp
)
and
Duel
.
IsExistingMatchingCard
(
s
.
filter
,
tp
,
LOCATION_GRAVE
+
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
if
chk
==
0
then
return
b1
or
b2
or
b3
or
b4
end
local
off
=
1
...
...
@@ -109,17 +109,17 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
local
sg
=
g
:
FilterSelect
(
tp
,
Card
.
IsLocation
,
1
,
1
,
nil
,
LOCATION_MZONE
)
local
pg
=
Duel
.
GetMatchingGroup
(
aux
.
NecroValleyFilter
(
s
.
spfilter
),
tp
,
LOCATION_GRAVE
,
0
,
nil
,
e
,
tp
)
if
ft
>
0
and
#
sg
>
0
and
Duel
.
SendtoGrave
(
sg
,
REASON_EFFECT
+
REASON_RETURN
)
~=
0
then
if
pg
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
1621413
,
2
))
then
if
pg
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
3
))
then
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
cg
=
pg
:
Select
(
tp
,
1
,
ft
,
nil
)
local
cg
=
pg
:
Select
(
tp
,
1
,
1
,
nil
)
--cg=pg:Select(tp,1,
ft,nil)
Duel
.
SpecialSummon
(
cg
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
else
local
rg1
=
Duel
.
GetMatchingGroup
(
Card
.
IsReleasableByEffect
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
e
:
GetHandler
())
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
rs
=
rg1
:
SelectSubGroup
(
tp
,
s
.
fselect
,
false
,
1
,
1
,
tp
)
--rs=rg1:SelectSubGroup(tp,s.fselect,false,1
1,11,tp)
local
rs
=
rg1
:
SelectSubGroup
(
tp
,
s
.
fselect
,
false
,
11
,
11
,
tp
)
if
Duel
.
Release
(
rs
,
REASON_EFFECT
)
~=
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
rg
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
s
.
filter
),
tp
,
LOCATION_GRAVE
+
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
e
,
tp
)
...
...
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