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
Soulgamer
ygopro-222DIY-cards
Commits
68f4f12a
Commit
68f4f12a
authored
Feb 25, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ybb
parent
109c20e4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
expansions/script/c33701353.lua
expansions/script/c33701353.lua
+5
-4
No files found.
expansions/script/c33701353.lua
View file @
68f4f12a
...
@@ -39,18 +39,19 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -39,18 +39,19 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_RECOVER
,
nil
,
0
,
0
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_RECOVER
,
nil
,
0
,
0
,
0
,
0
)
end
end
function
cm
.
tgfilter
(
c
)
function
cm
.
tgfilter
(
c
)
return
c
:
IsSetCard
(
0x442
)
and
c
:
IsAbleToGrave
()
return
c
:
IsSetCard
(
0x442
)
end
end
function
cm
.
regop
(
e
,
tp
)
function
cm
.
regop
(
e
,
tp
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_DECK
,
0
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_DECK
,
0
)
:
Filter
(
Card
.
IsAbleToGrave
,
nil
)
local
g1
=
Duel
.
GetMatchingGroup
(
Card
.
IsSetCard
,
tp
,
LOCATION_GRAVE
,
0
,
nil
,
0x442
)
local
g1
=
Duel
.
GetMatchingGroup
(
Card
.
IsSetCard
,
tp
,
LOCATION_GRAVE
,
0
,
nil
,
0x442
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
tp
,
g
)
Duel
.
ConfirmCards
(
tp
,
g
)
if
g
:
GetClassCount
(
Card
.
GetCode
,
nil
)
==
g
:
GetCount
()
then
if
g
:
GetClassCount
(
Card
.
GetCode
,
nil
)
==
g
:
GetCount
()
then
if
g1
:
GetCount
()
==
0
and
g
:
Filter
(
cm
.
tgfilter
,
nil
):
GetClassCount
(
Card
.
GetCode
,
nil
)
>=
7
then
g
=
g
:
Filter
(
cm
.
tgfilter
,
nil
)
if
g1
:
GetCount
()
==
0
and
g
:
GetClassCount
(
Card
.
GetCode
,
nil
)
>=
7
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
cm
.
thfilter
,
true
,
7
,
7
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
aux
.
dncheck
,
true
,
7
,
7
)
Duel
.
SendtoGrave
(
sg
,
REASON_EFFECT
)
Duel
.
SendtoGrave
(
sg
,
REASON_EFFECT
)
elseif
g1
:
FilterCount
(
Card
.
IsAbleToDeck
,
nil
)
>
0
then
elseif
g1
:
FilterCount
(
Card
.
IsAbleToDeck
,
nil
)
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
...
...
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