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
Ai
ygopro-222DIY-cards
Commits
88232d87
Commit
88232d87
authored
Nov 04, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
watele
parent
3c4f90ca
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
11 deletions
+15
-11
expansions/script/c66915075.lua
expansions/script/c66915075.lua
+15
-11
No files found.
expansions/script/c66915075.lua
View file @
88232d87
...
@@ -5,13 +5,13 @@ function cm.initial_effect(c)
...
@@ -5,13 +5,13 @@ function cm.initial_effect(c)
--fusion material
--fusion material
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
aux
.
AddFusionProcFunRep
(
c
,
cm
.
fsilter
,
2
,
true
)
aux
.
AddFusionProcFunRep
(
c
,
cm
.
fsilter
,
2
,
true
)
--
sp
limit
--
material
limit
local
e
1
=
Effect
.
CreateEffect
(
c
)
local
e
0
=
Effect
.
CreateEffect
(
c
)
e
1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e
0
:
SetType
(
EFFECT_TYPE_SINGLE
)
e
1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e
0
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e
1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e
0
:
SetCode
(
EFFECT_MATERIAL_LIMIT
)
e
1
:
SetValue
(
cm
.
sp
limit
)
e
0
:
SetValue
(
cm
.
mat
limit
)
c
:
RegisterEffect
(
e
1
)
c
:
RegisterEffect
(
e
0
)
--code
--code
aux
.
EnableChangeCode
(
c
,
m
-
5
,
LOCATION_MZONE
+
LOCATION_GRAVE
)
aux
.
EnableChangeCode
(
c
,
m
-
5
,
LOCATION_MZONE
+
LOCATION_GRAVE
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
@@ -38,9 +38,13 @@ function cm.initial_effect(c)
...
@@ -38,9 +38,13 @@ function cm.initial_effect(c)
e2
:
SetOperation
(
cm
.
desop
)
e2
:
SetOperation
(
cm
.
desop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
cm
.
splimit
(
e
,
se
,
sp
,
st
)
function
cm
.
matlimit
(
e
,
c
,
fc
,
st
)
if
not
StarLight_from_K
then
return
true
end
if
st
~=
SUMMON_TYPE_FUSION
then
return
true
end
return
not
StarLight_from_K
.
Brightstarlight_Effect
[
se
]
if
c
:
IsType
(
TYPE_TRAP
+
TYPE_SPELL
)
then
return
c
:
IsControler
(
fc
:
GetControler
())
and
c
:
IsLocation
(
LOCATION_ONFIELD
)
else
return
true
end
end
end
function
cm
.
ffilter
(
c
)
function
cm
.
ffilter
(
c
)
return
c
:
IsFusionType
(
TYPE_FUSION
)
and
c
:
IsRace
(
RACE_FAIRY
)
return
c
:
IsFusionType
(
TYPE_FUSION
)
and
c
:
IsRace
(
RACE_FAIRY
)
...
@@ -49,7 +53,7 @@ function cm.ffilter2(c)
...
@@ -49,7 +53,7 @@ function cm.ffilter2(c)
return
c
:
IsOriginalCodeRule
(
66915070
)
and
c
:
IsFusionType
(
TYPE_FUSION
)
return
c
:
IsOriginalCodeRule
(
66915070
)
and
c
:
IsFusionType
(
TYPE_FUSION
)
end
end
function
cm
.
ffilter3
(
c
)
function
cm
.
ffilter3
(
c
)
return
c
:
IsFusionType
(
TYPE_
NORMAL
)
return
c
:
IsFusionType
(
TYPE_
TRAP
+
TYPE_SPELL
)
end
end
function
cm
.
fsilter
(
c
,
fc
,
sub
,
mg
,
sg
)
function
cm
.
fsilter
(
c
,
fc
,
sub
,
mg
,
sg
)
if
not
sg
then
if
not
sg
then
...
...
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