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
Soulgamer
ygopro-222DIY-cards
Commits
5e9e9736
Commit
5e9e9736
authored
Mar 23, 2020
by
gg123gg
Committed by
GitHub
Mar 23, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c12029008.lua
parent
c7434844
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
expansions/script/c12029008.lua
expansions/script/c12029008.lua
+6
-7
No files found.
expansions/script/c12029008.lua
View file @
5e9e9736
...
...
@@ -2,7 +2,6 @@
Duel
.
LoadScript
(
"c12029008"
)
local
m
=
12029008
local
cm
=
_G
[
"c"
..
m
]
muxu
=
cm
function
cm
.
initial_effect
(
c
)
--synchro summon
cm
.
AddSynchroProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsSynchroType
,
TYPE_SYNCHRO
),
aux
.
NonTuner
(
nil
),
1
)
...
...
@@ -68,7 +67,7 @@ function cm.tdop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoDeck
(
tc
,
nil
,
2
,
REASON_EFFECT
)
end
end
function
muxu
.
AddSynchroProcedure
(
c
,
f1
,
f2
,
minc
,
maxc
)
function
cm
.
AddSynchroProcedure
(
c
,
f1
,
f2
,
minc
,
maxc
)
if
maxc
==
nil
then
maxc
=
99
end
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
1164
)
...
...
@@ -76,13 +75,13 @@ function muxu.AddSynchroProcedure(c,f1,f2,minc,maxc)
e1
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e1
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
+
EFFECT_FLAG_IGNORE_IMMUNE
)
e1
:
SetRange
(
LOCATION_EXTRA
)
e1
:
SetCondition
(
muxu
.
SynCondition
(
f1
,
f2
,
minc
,
maxc
))
e1
:
SetTarget
(
muxu
.
SynTarget
(
f1
,
f2
,
minc
,
maxc
))
e1
:
SetCondition
(
cm
.
SynCondition
(
f1
,
f2
,
minc
,
maxc
))
e1
:
SetTarget
(
cm
.
SynTarget
(
f1
,
f2
,
minc
,
maxc
))
e1
:
SetOperation
(
aux
.
SynOperation
(
f1
,
f2
,
minc
,
maxc
))
e1
:
SetValue
(
SUMMON_TYPE_SYNCHRO
)
c
:
RegisterEffect
(
e1
)
end
function
muxu
.
SynCondition
(
f1
,
f2
,
minc
,
maxc
)
function
cm
.
SynCondition
(
f1
,
f2
,
minc
,
maxc
)
return
function
(
e
,
c
,
smat
,
mg
,
min
,
max
)
if
c
==
nil
then
return
true
end
...
...
@@ -101,7 +100,7 @@ function muxu.SynCondition(f1,f2,minc,maxc)
return
Duel
.
CheckSynchroMaterial
(
c
,
f1
,
f2
,
minc
,
maxc
,
smat
,
mg
)
end
end
function
muxu
.
SynTarget
(
f1
,
f2
,
minc
,
maxc
)
function
cm
.
SynTarget
(
f1
,
f2
,
minc
,
maxc
)
return
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
,
smat
,
mg
,
min
,
max
)
local
minc
=
minc
...
...
@@ -125,4 +124,4 @@ function muxu.SynTarget(f1,f2,minc,maxc)
return
true
else
return
false
end
end
end
\ No newline at end of file
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