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
ce604b3d
Commit
ce604b3d
authored
May 14, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
得得得得得
parent
74cc34eb
Pipeline
#12722
passed with stages
in 29 minutes and 23 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
expansions/script/c33400411.lua
expansions/script/c33400411.lua
+3
-4
expansions/script/c35800241.lua
expansions/script/c35800241.lua
+4
-4
No files found.
expansions/script/c33400411.lua
View file @
ce604b3d
...
...
@@ -53,10 +53,10 @@ function c33400411.ovfilter(c)
return
c
:
IsFaceup
()
end
function
c33400411
.
refilter1
(
c
)
return
c
:
IsXyzType
(
TYPE_XYZ
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x5342
)
return
c
:
IsXyzType
(
TYPE_XYZ
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x5342
)
and
c
:
IsSetCard
(
0x341
)
and
c
:
IsAbleToRemoveAsCost
()
end
function
c33400411
.
refilter2
(
c
)
return
c
:
IsXyzType
(
TYPE_XYZ
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x341
)
return
c
:
IsXyzType
(
TYPE_XYZ
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x341
)
and
c
:
IsAbleToRemoveAsCost
()
end
function
c33400411
.
check
(
g
)
return
g
:
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x5342
)
...
...
@@ -64,8 +64,7 @@ end
function
c33400411
.
xyzop
(
e
,
tp
,
chk
,
c
)
local
g1nm
=
Duel
.
GetMatchingGroupCount
(
c33400411
.
refilter1
,
tp
,
LOCATION_GRAVE
,
0
,
nil
)
local
g2nm
=
Duel
.
GetMatchingGroupCount
(
c33400411
.
refilter2
,
tp
,
LOCATION_GRAVE
,
0
,
nil
)
local
cnm
=
g2nm
-
g1nm
if
chk
==
0
then
return
cnm
>=
3
or
(
g1nm
>=
1
and
g2nm
>=
3
)
end
if
chk
==
0
then
return
g1nm
>=
1
and
g2nm
>=
3
end
local
g
=
Duel
.
GetMatchingGroup
(
c33400411
.
refilter2
,
tp
,
LOCATION_GRAVE
,
0
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g1
=
g
:
SelectSubGroup
(
tp
,
c33400411
.
check
,
false
,
3
,
99
)
...
...
expansions/script/c35800241.lua
View file @
ce604b3d
...
...
@@ -22,15 +22,15 @@ function cm.initial_effect(c)
e1
:
SetOperation
(
cm
.
activate1
)
c
:
RegisterEffect
(
e1
)
end
function
cm
.
filter
1
(
c
)
function
cm
.
filter
9
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToDeck
()
and
c
:
IsSetCard
(
0xc12
)
end
function
cm
.
target1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
cm
.
filter
1
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
cm
.
filter
9
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
and
Duel
.
IsExistingTarget
(
cm
.
filter
1
,
tp
,
LOCATION_GRAVE
,
0
,
3
,
nil
)
end
and
Duel
.
IsExistingTarget
(
cm
.
filter
9
,
tp
,
LOCATION_GRAVE
,
0
,
3
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g
=
Duel
.
SelectTarget
(
tp
,
cm
.
filter
1
,
tp
,
LOCATION_GRAVE
,
0
,
3
,
3
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
cm
.
filter
9
,
tp
,
LOCATION_GRAVE
,
0
,
3
,
3
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
tp
,
1
)
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