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
e571aa6b
Commit
e571aa6b
authored
Sep 10, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
byd
parent
1c7b2f39
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
expansions/script/c50221430.lua
expansions/script/c50221430.lua
+5
-2
No files found.
expansions/script/c50221430.lua
View file @
e571aa6b
...
@@ -52,11 +52,14 @@ function c50221430.initial_effect(c)
...
@@ -52,11 +52,14 @@ function c50221430.initial_effect(c)
e5
:
SetLabelObject
(
e4
)
e5
:
SetLabelObject
(
e4
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
end
end
function
c50221430
.
ffilter
(
c
,
fc
)
return
c
:
IsSetCard
(
0xcb5
)
and
c
:
IsCanBeFusionMaterial
(
fc
)
end
function
c50221430
.
fscondition
()
function
c50221430
.
fscondition
()
return
function
(
e
,
g
,
gc
,
chkf
)
return
function
(
e
,
g
,
gc
,
chkf
)
if
g
==
nil
then
return
aux
.
MustMaterialCheck
(
nil
,
e
:
GetHandlerPlayer
(),
EFFECT_MUST_BE_FMATERIAL
)
end
if
g
==
nil
then
return
aux
.
MustMaterialCheck
(
nil
,
e
:
GetHandlerPlayer
(),
EFFECT_MUST_BE_FMATERIAL
)
end
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
mg
=
g
:
Filter
(
Card
.
IsCanBeFusionMaterial
,
nil
,
c
)
local
mg
=
g
:
Filter
(
c50221430
.
ffilter
,
nil
,
c
)
local
tp
=
e
:
GetHandlerPlayer
()
local
tp
=
e
:
GetHandlerPlayer
()
return
mg
:
GetClassCount
(
Card
.
GetFusionAttribute
)
>=
2
return
mg
:
GetClassCount
(
Card
.
GetFusionAttribute
)
>=
2
end
end
...
@@ -68,7 +71,7 @@ end
...
@@ -68,7 +71,7 @@ end
function
c50221430
.
fsoperation
()
function
c50221430
.
fsoperation
()
return
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
gc
,
chkf
)
return
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
gc
,
chkf
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
mg
=
eg
:
Filter
(
Card
.
IsCanBeFusionMaterial
,
nil
,
c
)
local
mg
=
eg
:
Filter
(
c50221430
.
ffilter
,
nil
,
c
)
if
mg
:
GetClassCount
(
Card
.
GetFusionAttribute
)
<
2
then
return
end
if
mg
:
GetClassCount
(
Card
.
GetFusionAttribute
)
<
2
then
return
end
local
sg
=
Group
.
CreateGroup
()
local
sg
=
Group
.
CreateGroup
()
if
gc
then
sg
:
AddCard
(
gc
)
end
if
gc
then
sg
:
AddCard
(
gc
)
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