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
f2220a45
Commit
f2220a45
authored
Apr 01, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of git.mycard.moe:alstroemeria-silentlove/ygopro-222DIY-cards
parents
e3b15f85
007f966d
Pipeline
#11411
passed with stages
in 27 minutes and 2 seconds
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
10 deletions
+13
-10
expansions/script/c33300301.lua
expansions/script/c33300301.lua
+5
-4
expansions/script/c33300305.lua
expansions/script/c33300305.lua
+4
-3
expansions/script/c33300306.lua
expansions/script/c33300306.lua
+4
-3
No files found.
expansions/script/c33300301.lua
View file @
f2220a45
...
...
@@ -58,7 +58,7 @@ function cm.LinkOperation(f,minc,maxc,gf)
end
end
function
cm
.
lcheck
(
c
)
return
(
c
:
IsLevelBelow
(
4
)
and
c
:
Is
SetCard
(
0x562
))
or
c
:
GetOriginalCode
()
==
33300308
return
(
c
:
IsLevelBelow
(
4
)
and
c
:
Is
LinkSetCard
(
0x562
))
or
(
c
:
GetOriginalCode
()
==
33300308
and
not
c
:
IsDisabled
())
end
function
cm
.
extracheck
(
c
)
return
c
:
IsFaceup
()
and
c
:
GetOriginalCode
()
==
33300308
...
...
@@ -80,14 +80,15 @@ function cm.ltg(...)
aux
.
GetLinkMaterials
=
f
return
res
end
function
cm
.
GetLinkMaterials
(
tp
,
f
,
lc
)
local
mg
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
LConditionFilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
f
,
lc
)
local
mg2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
LExtraFilter
,
tp
,
LOCATION_HAND
+
LOCATION_SZONE
,
LOCATION_ONFIELD
,
nil
,
f
,
lc
,
tp
)
function
cm
.
GetLinkMaterials
(
tp
,
f
,
lc
,
e
)
local
mg
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
LConditionFilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
f
,
lc
,
e
)
local
mg2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
LExtraFilter
,
tp
,
LOCATION_HAND
+
LOCATION_SZONE
,
LOCATION_ONFIELD
,
nil
,
f
,
lc
,
tp
,
e
)
local
mg3
=
Duel
.
GetMatchingGroup
(
cm
.
extracheck
,
tp
,
LOCATION_SZONE
,
0
,
nil
)
if
mg2
:
GetCount
()
>
0
then
mg
:
Merge
(
mg2
)
end
if
mg3
:
GetCount
()
>
0
then
mg
:
Merge
(
mg3
)
end
return
mg
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
spcheck
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
and
e
:
GetHandler
():
IsAbleToGrave
()
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_GRAVE
)
...
...
expansions/script/c33300305.lua
View file @
f2220a45
...
...
@@ -59,7 +59,7 @@ function cm.LinkOperation(f,minc,maxc,gf)
end
end
function
cm
.
lcheck
(
c
)
return
c
:
Is
SetCard
(
0x562
)
or
c
:
GetOriginalCode
()
==
33300308
return
c
:
Is
LinkSetCard
(
0x562
)
or
(
c
:
GetOriginalCode
()
==
33300308
and
not
c
:
IsDisabled
())
end
function
cm
.
extracheck
(
c
)
return
c
:
IsFaceup
()
and
c
:
GetOriginalCode
()
==
33300308
...
...
@@ -81,14 +81,15 @@ function cm.ltg(...)
aux
.
GetLinkMaterials
=
f
return
res
end
function
cm
.
GetLinkMaterials
(
tp
,
f
,
lc
)
local
mg
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
LConditionFilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
f
,
lc
)
function
cm
.
GetLinkMaterials
(
tp
,
f
,
lc
,
e
)
local
mg
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
LConditionFilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
f
,
lc
,
e
)
local
mg2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
LExtraFilter
,
tp
,
LOCATION_HAND
+
LOCATION_SZONE
,
LOCATION_ONFIELD
,
nil
,
f
,
lc
,
tp
)
local
mg3
=
Duel
.
GetMatchingGroup
(
cm
.
extracheck
,
tp
,
LOCATION_SZONE
,
0
,
nil
)
if
mg2
:
GetCount
()
>
0
then
mg
:
Merge
(
mg2
)
end
if
mg3
:
GetCount
()
>
0
then
mg
:
Merge
(
mg3
)
end
return
mg
end
function
cm
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x562
)
and
c
:
IsAbleToHand
()
end
...
...
expansions/script/c33300306.lua
View file @
f2220a45
...
...
@@ -58,7 +58,7 @@ function cm.LinkOperation(f,minc,maxc,gf)
end
end
function
cm
.
lcheck
(
c
)
return
c
:
Is
SetCard
(
0x562
)
or
c
:
GetOriginalCode
()
==
33300308
return
c
:
Is
LinkSetCard
(
0x562
)
or
(
c
:
GetOriginalCode
()
==
33300308
and
not
c
:
IsDisabled
())
end
function
cm
.
extracheck
(
c
)
return
c
:
IsFaceup
()
and
c
:
GetOriginalCode
()
==
33300308
...
...
@@ -83,14 +83,15 @@ function cm.ltg(...)
aux
.
GetLinkMaterials
=
f
return
res
end
function
cm
.
GetLinkMaterials
(
tp
,
f
,
lc
)
local
mg
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
LConditionFilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
f
,
lc
)
function
cm
.
GetLinkMaterials
(
tp
,
f
,
lc
,
e
)
local
mg
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
LConditionFilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
f
,
lc
,
e
)
local
mg2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
LExtraFilter
,
tp
,
LOCATION_HAND
+
LOCATION_SZONE
,
LOCATION_ONFIELD
,
nil
,
f
,
lc
,
tp
)
local
mg3
=
Duel
.
GetMatchingGroup
(
cm
.
extracheck
,
tp
,
LOCATION_SZONE
,
0
,
nil
)
if
mg2
:
GetCount
()
>
0
then
mg
:
Merge
(
mg2
)
end
if
mg3
:
GetCount
()
>
0
then
mg
:
Merge
(
mg3
)
end
return
mg
end
function
cm
.
ctcheck
(
c
,
tp
)
return
c
:
IsControler
(
1
-
tp
)
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