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
fb758c5b
Commit
fb758c5b
authored
Oct 30, 2023
by
REIKAI
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
b386c8bf
Pipeline
#23921
passed with stages
in 25 minutes and 26 seconds
Changes
4
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
13 deletions
+35
-13
expansions/script/c1156015.lua
expansions/script/c1156015.lua
+8
-8
expansions/script/c77765002.lua
expansions/script/c77765002.lua
+9
-2
expansions/script/c77765004.lua
expansions/script/c77765004.lua
+9
-2
expansions/script/c77765007.lua
expansions/script/c77765007.lua
+9
-1
No files found.
expansions/script/c1156015.lua
View file @
fb758c5b
...
@@ -43,8 +43,8 @@ function c1156015.LExtraFilter(c,f,lc,tp)
...
@@ -43,8 +43,8 @@ function c1156015.LExtraFilter(c,f,lc,tp)
end
end
return
false
return
false
end
end
function
c1156015
.
GetLinkMaterials
(
tp
,
f
,
lc
)
function
c1156015
.
GetLinkMaterials
(
tp
,
f
,
lc
,
e
)
local
mg
=
Duel
.
GetMatchingGroup
(
aux
.
LConditionFilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
f
,
lc
)
local
mg
=
Duel
.
GetMatchingGroup
(
aux
.
LConditionFilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
f
,
lc
,
e
)
local
mg2
=
Duel
.
GetMatchingGroup
(
c1156015
.
LExtraFilter
,
tp
,
LOCATION_HAND
+
LOCATION_SZONE
,
LOCATION_ONFIELD
,
nil
,
f
,
lc
,
tp
)
local
mg2
=
Duel
.
GetMatchingGroup
(
c1156015
.
LExtraFilter
,
tp
,
LOCATION_HAND
+
LOCATION_SZONE
,
LOCATION_ONFIELD
,
nil
,
f
,
lc
,
tp
)
if
mg2
:
GetCount
()
>
0
then
mg
:
Merge
(
mg2
)
end
if
mg2
:
GetCount
()
>
0
then
mg
:
Merge
(
mg2
)
end
return
mg
return
mg
...
@@ -64,12 +64,12 @@ function c1156015.LinkCondition(f,minc,maxc,gf)
...
@@ -64,12 +64,12 @@ function c1156015.LinkCondition(f,minc,maxc,gf)
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
local
mg
=
nil
local
mg
=
nil
if
og
then
if
og
then
mg
=
og
:
Filter
(
aux
.
LConditionFilter
,
nil
,
f
,
c
)
mg
=
og
:
Filter
(
aux
.
LConditionFilter
,
nil
,
f
,
c
,
e
)
else
else
mg
=
c1156015
.
GetLinkMaterials
(
tp
,
f
,
c
)
mg
=
c1156015
.
GetLinkMaterials
(
tp
,
f
,
c
,
e
)
end
end
if
lmat
~=
nil
then
if
lmat
~=
nil
then
if
not
aux
.
LConditionFilter
(
lmat
,
f
,
c
)
then
return
false
end
if
not
aux
.
LConditionFilter
(
lmat
,
f
,
c
,
e
)
then
return
false
end
mg
:
AddCard
(
lmat
)
mg
:
AddCard
(
lmat
)
end
end
local
fg
=
Duel
.
GetMustMaterial
(
tp
,
EFFECT_MUST_BE_LMATERIAL
)
local
fg
=
Duel
.
GetMustMaterial
(
tp
,
EFFECT_MUST_BE_LMATERIAL
)
...
@@ -90,12 +90,12 @@ function c1156015.LinkTarget(f,minc,maxc,gf)
...
@@ -90,12 +90,12 @@ function c1156015.LinkTarget(f,minc,maxc,gf)
end
end
local
mg
=
nil
local
mg
=
nil
if
og
then
if
og
then
mg
=
og
:
Filter
(
aux
.
LConditionFilter
,
nil
,
f
,
c
)
mg
=
og
:
Filter
(
aux
.
LConditionFilter
,
nil
,
f
,
c
,
e
)
else
else
mg
=
c1156015
.
GetLinkMaterials
(
tp
,
f
,
c
)
mg
=
c1156015
.
GetLinkMaterials
(
tp
,
f
,
c
,
e
)
end
end
if
lmat
~=
nil
then
if
lmat
~=
nil
then
if
not
aux
.
LConditionFilter
(
lmat
,
f
,
c
)
then
return
false
end
if
not
aux
.
LConditionFilter
(
lmat
,
f
,
c
,
e
)
then
return
false
end
mg
:
AddCard
(
lmat
)
mg
:
AddCard
(
lmat
)
end
end
local
fg
=
Duel
.
GetMustMaterial
(
tp
,
EFFECT_MUST_BE_LMATERIAL
)
local
fg
=
Duel
.
GetMustMaterial
(
tp
,
EFFECT_MUST_BE_LMATERIAL
)
...
...
expansions/script/c77765002.lua
View file @
fb758c5b
...
@@ -53,8 +53,15 @@ function c77765002.initial_effect(c)
...
@@ -53,8 +53,15 @@ function c77765002.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
local
function
KaguyaFilter
(
c
,
e
,
tp
,
cc
)
local
function
KaguyaFilter
(
c
,
e
,
tp
,
cc
)
local
p
=
c
:
GetControler
()
local
p
=
c
:
GetControler
()
local
tc
=
Senya
.
GetDFCBackSideCard
(
cc
)
local
code
=
c
.
dfc_front_side
Duel
.
DisableActionCheck
(
true
)
local
tc
=
Duel
.
CreateToken
(
tp
,
code
)
Duel
.
DisableActionCheck
(
false
)
if
tc
then
return
c
:
IsFaceup
()
and
c
:
IsCode
(
77765001
)
and
Duel
.
GetLocationCount
(
p
,
LOCATION_SZONE
,
tp
)
>
0
and
tc
:
CheckEquipTarget
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
77765001
)
and
Duel
.
GetLocationCount
(
p
,
LOCATION_SZONE
,
tp
)
>
0
and
tc
:
CheckEquipTarget
(
c
)
else
return
false
end
end
end
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_TRIGGER_F
+
EFFECT_TYPE_SINGLE
)
e3
:
SetType
(
EFFECT_TYPE_TRIGGER_F
+
EFFECT_TYPE_SINGLE
)
...
...
expansions/script/c77765004.lua
View file @
fb758c5b
...
@@ -70,8 +70,15 @@ function cm.initial_effect(c)
...
@@ -70,8 +70,15 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
local
function
KaguyaFilter
(
c
,
e
,
tp
,
cc
)
local
function
KaguyaFilter
(
c
,
e
,
tp
,
cc
)
local
p
=
c
:
GetControler
()
local
p
=
c
:
GetControler
()
local
tc
=
Senya
.
GetDFCBackSideCard
(
cc
)
local
code
=
c
.
dfc_front_side
Duel
.
DisableActionCheck
(
true
)
local
tc
=
Duel
.
CreateToken
(
tp
,
code
)
Duel
.
DisableActionCheck
(
false
)
if
tc
then
return
c
:
IsFaceup
()
and
c
:
IsCode
(
77765001
)
and
Duel
.
GetLocationCount
(
p
,
LOCATION_SZONE
,
tp
)
>
0
and
tc
:
CheckEquipTarget
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
77765001
)
and
Duel
.
GetLocationCount
(
p
,
LOCATION_SZONE
,
tp
)
>
0
and
tc
:
CheckEquipTarget
(
c
)
else
return
false
end
end
end
local
function
DifficultyFilter
(
c
,
e
,
tp
)
local
function
DifficultyFilter
(
c
,
e
,
tp
)
return
Kaguya
.
IsDifficulty
(
c
)
and
Senya
.
IsDFCTransformable
(
c
)
and
Duel
.
IsExistingMatchingCard
(
KaguyaFilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
e
,
tp
,
c
)
return
Kaguya
.
IsDifficulty
(
c
)
and
Senya
.
IsDFCTransformable
(
c
)
and
Duel
.
IsExistingMatchingCard
(
KaguyaFilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
e
,
tp
,
c
)
...
...
expansions/script/c77765007.lua
View file @
fb758c5b
...
@@ -8,7 +8,15 @@ function cm.initial_effect(c)
...
@@ -8,7 +8,15 @@ function cm.initial_effect(c)
end
end
local
function
KaguyaFilter
(
c
,
e
,
tp
,
cc
)
local
function
KaguyaFilter
(
c
,
e
,
tp
,
cc
)
local
p
=
c
:
GetControler
()
local
p
=
c
:
GetControler
()
local
tc
=
Senya
.
GetDFCBackSideCard
(
cc
)
local
code
=
c
.
dfc_front_side
Duel
.
DisableActionCheck
(
true
)
local
tc
=
Duel
.
CreateToken
(
tp
,
code
)
Duel
.
DisableActionCheck
(
false
)
if
tc
then
return
c
:
IsFaceup
()
and
c
:
IsCode
(
77765001
)
and
Duel
.
GetLocationCount
(
p
,
LOCATION_SZONE
,
tp
)
>
0
and
tc
:
CheckEquipTarget
(
c
)
else
return
false
end
return
c
:
IsFaceup
()
and
c
:
IsCode
(
77765001
)
and
Duel
.
GetLocationCount
(
p
,
LOCATION_SZONE
,
tp
)
>
0
and
tc
:
CheckEquipTarget
(
c
)
and
(
cc
:
IsControler
(
c
:
GetControler
())
or
c
:
IsAbleToChangeControler
())
return
c
:
IsFaceup
()
and
c
:
IsCode
(
77765001
)
and
Duel
.
GetLocationCount
(
p
,
LOCATION_SZONE
,
tp
)
>
0
and
tc
:
CheckEquipTarget
(
c
)
and
(
cc
:
IsControler
(
c
:
GetControler
())
or
c
:
IsAbleToChangeControler
())
end
end
local
function
DifficultyFilter
(
c
,
e
,
tp
)
local
function
DifficultyFilter
(
c
,
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