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
2a38270f
Commit
2a38270f
authored
Jun 12, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
得得得得得
parent
57813ce8
Pipeline
#13548
failed with stages
in 9 minutes and 15 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
3 deletions
+19
-3
expansions/script/c17032430.lua
expansions/script/c17032430.lua
+19
-3
No files found.
expansions/script/c17032430.lua
View file @
2a38270f
...
...
@@ -2,7 +2,14 @@
function
c17032430
.
initial_effect
(
c
)
--fusion material
c
:
EnableReviveLimit
()
aux
.
AddFusionProcFunRep2
(
c
,
c17032430
.
ffilter
,
3
,
63
,
false
)
--fusion material
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_FUSION_MATERIAL
)
e1
:
SetCondition
(
c17032430
.
fscondition
)
e1
:
SetOperation
(
c17032430
.
fsoperation
)
c
:
RegisterEffect
(
e1
)
--summon success
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
@@ -20,9 +27,18 @@ function c17032430.initial_effect(c)
e3
:
SetOperation
(
c17032430
.
ctop
)
c
:
RegisterEffect
(
e3
)
end
function
c17032430
.
ffilter
(
c
,
fc
,
sub
,
mg
,
sg
)
return
(
not
sg
or
not
sg
:
IsExists
(
Card
.
IsRace
,
1
,
c
,
c
:
GetRace
()))
function
c17032430
.
fscondition
(
e
,
g
,
gc
)
local
c
=
e
:
GetHandler
()
if
g
==
nil
then
return
true
end
if
gc
then
return
false
end
return
g
:
IsExists
(
Card
.
IsCanBeFusionMaterial
,
3
,
nil
,
c
,
c
)
and
g
:
GetClassCount
(
Card
.
GetRace
)
==
g
:
GetCount
()
end
function
c17032430
.
fsoperation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
gc
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FMATERIAL
)
local
g
=
eg
:
FilterSelect
(
tp
,
Card
.
IsCanBeFusionMaterial
,
3
,
63
,
nil
,
c
,
c
)
Duel
.
SetFusionMaterial
(
g
)
end
function
c17032430
.
matcheck
(
e
,
c
)
local
ct
=
c
:
GetMaterialCount
()
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
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