Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
R
rd-ygopro
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
苍蓝
rd-ygopro
Commits
5125dfec
Commit
5125dfec
authored
Jul 28, 2015
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edit
parent
0d4e8ee7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
script/c48144509.lua
script/c48144509.lua
+2
-0
script/utility.lua
script/utility.lua
+9
-0
No files found.
script/c48144509.lua
View file @
5125dfec
...
...
@@ -26,6 +26,8 @@ function c48144509.filter2(c,e,tp,m,f,chkf)
return
c
:
IsType
(
TYPE_FUSION
)
and
c
:
IsRace
(
RACE_DRAGON
)
and
(
not
f
or
f
(
c
))
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_FUSION
,
tp
,
false
,
false
)
and
c
:
CheckFusionMaterial
(
m
,
nil
,
chkf
)
end
--fusion monster filter
--check_fusion_material_48144509: for dragon-type monsters that >2 odd-eye is possible
function
c48144509
.
filter3
(
c
,
e
,
tp
,
m
,
f
,
chkf
)
local
mg
=
m
:
Clone
()
mg
:
RemoveCard
(
c
)
...
...
script/utility.lua
View file @
5125dfec
...
...
@@ -302,6 +302,9 @@ end
function
Auxiliary
.
FConditionCheckF
(
c
,
chkf
)
return
c
:
IsOnField
()
and
c
:
IsControler
(
chkf
)
end
--Fusion monster, name + name
--material_count: number of different names in material list
--material: names in material list
function
Auxiliary
.
AddFusionProcCode2
(
c
,
code1
,
code2
,
sub
,
insf
)
if
c
.
material_count
==
nil
then
local
code
=
c
:
GetOriginalCode
()
...
...
@@ -385,6 +388,7 @@ function Auxiliary.FOperationCode2(code1,code2,sub,insf)
Duel
.
SetFusionMaterial
(
g1
)
end
end
--Fusion monster, name + name + name
function
Auxiliary
.
AddFusionProcCode3
(
c
,
code1
,
code2
,
code3
,
sub
,
insf
)
if
c
.
material_count
==
nil
then
local
code
=
c
:
GetOriginalCode
()
...
...
@@ -485,6 +489,7 @@ function Auxiliary.FOperationCode3(code1,code2,code3,sub,insf)
Duel
.
SetFusionMaterial
(
g1
)
end
end
--Fusion monster, name + name + name + name
function
Auxiliary
.
AddFusionProcCode4
(
c
,
code1
,
code2
,
code3
,
code4
,
sub
,
insf
)
if
c
.
material_count
==
nil
then
local
code
=
c
:
GetOriginalCode
()
...
...
@@ -598,6 +603,7 @@ function Auxiliary.FOperationCode4(code1,code2,code3,code4,sub,insf)
Duel
.
SetFusionMaterial
(
g1
)
end
end
--Fusion monster, name + condition
function
Auxiliary
.
AddFusionProcCodeFun
(
c
,
code1
,
f
,
cc
,
sub
,
insf
)
if
c
.
material_count
==
nil
then
local
code
=
c
:
GetOriginalCode
()
...
...
@@ -738,6 +744,7 @@ function Auxiliary.FOperationCodeFun(code,f,cc,sub,insf)
end
end
end
--Fusion monster, condition + condition
function
Auxiliary
.
AddFusionProcFun2
(
c
,
f1
,
f2
,
insf
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
@@ -802,6 +809,7 @@ function Auxiliary.FOperationFun2(f1,f2,insf)
Duel
.
SetFusionMaterial
(
g1
)
end
end
--Fusion monster, name * n
function
Auxiliary
.
AddFusionProcCodeRep
(
c
,
code1
,
cc
,
sub
,
insf
)
if
c
.
material_count
==
nil
then
local
code
=
c
:
GetOriginalCode
()
...
...
@@ -861,6 +869,7 @@ function Auxiliary.FOperationCodeRep(code,cc,sub,insf)
Duel
.
SetFusionMaterial
(
g1
)
end
end
--Fusion monster, condition * n
function
Auxiliary
.
AddFusionProcFunRep
(
c
,
f
,
cc
,
insf
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
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