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
06b566d9
Commit
06b566d9
authored
Jun 28, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
25165047
parent
44596656
Pipeline
#3819
passed with stages
in 51 minutes and 54 seconds
Changes
23
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
299 additions
and
51 deletions
+299
-51
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c1110131.lua
expansions/script/c1110131.lua
+13
-2
expansions/script/c12005016.lua
expansions/script/c12005016.lua
+14
-3
expansions/script/c14000034.lua
expansions/script/c14000034.lua
+14
-3
expansions/script/c15000357.lua
expansions/script/c15000357.lua
+13
-2
expansions/script/c17035340.lua
expansions/script/c17035340.lua
+14
-3
expansions/script/c18004010.lua
expansions/script/c18004010.lua
+13
-2
expansions/script/c18004014.lua
expansions/script/c18004014.lua
+13
-2
expansions/script/c18004016.lua
expansions/script/c18004016.lua
+14
-3
expansions/script/c23000309.lua
expansions/script/c23000309.lua
+13
-2
expansions/script/c23000350.lua
expansions/script/c23000350.lua
+14
-3
expansions/script/c37564502.lua
expansions/script/c37564502.lua
+13
-2
expansions/script/c37564539.lua
expansions/script/c37564539.lua
+13
-2
expansions/script/c37564540.lua
expansions/script/c37564540.lua
+13
-2
expansions/script/c37564566.lua
expansions/script/c37564566.lua
+17
-0
expansions/script/c37564605.lua
expansions/script/c37564605.lua
+13
-2
expansions/script/c37564606.lua
expansions/script/c37564606.lua
+13
-2
expansions/script/c37564607.lua
expansions/script/c37564607.lua
+13
-2
expansions/script/c37564616.lua
expansions/script/c37564616.lua
+13
-2
expansions/script/c47501006.lua
expansions/script/c47501006.lua
+14
-3
expansions/script/c81002017.lua
expansions/script/c81002017.lua
+16
-5
expansions/script/c81019073.lua
expansions/script/c81019073.lua
+13
-2
expansions/script/c81042008.lua
expansions/script/c81042008.lua
+13
-2
No files found.
expansions/222DIY.cdb
View file @
06b566d9
No preview for this file type
expansions/script/c1110131.lua
View file @
06b566d9
...
...
@@ -46,8 +46,8 @@ function c1110131.initial_effect(c)
--double tuner
local
e9
=
Effect
.
CreateEffect
(
c
)
e9
:
SetType
(
EFFECT_TYPE_SINGLE
)
e9
:
Set
Property
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e9
:
Set
Code
(
21142671
)
e9
:
Set
Code
(
EFFECT_MATERIAL_CHECK
)
e9
:
Set
Value
(
c1110131
.
valcheck
)
c
:
RegisterEffect
(
e9
)
end
--
...
...
@@ -142,3 +142,14 @@ function c1110131.op5(e,tp,eg,ep,ev,re,r,rp)
end
end
--
function
c1110131
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
if
g
:
IsExists
(
Card
.
IsType
,
2
,
nil
,
TYPE_TUNER
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
21142671
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
end
end
expansions/script/c12005016.lua
View file @
06b566d9
...
...
@@ -25,11 +25,11 @@ function c12005016.initial_effect(c)
e2
:
SetTarget
(
c12005016
.
sptg1
)
e2
:
SetOperation
(
c12005016
.
spop1
)
c
:
RegisterEffect
(
e2
)
--double tuner
--double tuner
check
local
e9
=
Effect
.
CreateEffect
(
c
)
e9
:
SetType
(
EFFECT_TYPE_SINGLE
)
e9
:
Set
Property
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e9
:
Set
Code
(
21142671
)
e9
:
Set
Code
(
EFFECT_MATERIAL_CHECK
)
e9
:
Set
Value
(
c12005016
.
valcheck
)
c
:
RegisterEffect
(
e9
)
end
function
c12005016
.
mfilter
(
c
)
...
...
@@ -121,3 +121,14 @@ function c12005016.spop1(e,tp,eg,ep,ev,re,r,rp)
end
end
end
function
c12005016
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
if
g
:
IsExists
(
Card
.
IsType
,
2
,
nil
,
TYPE_TUNER
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
21142671
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
end
end
expansions/script/c14000034.lua
View file @
06b566d9
...
...
@@ -61,8 +61,8 @@ function cm.initial_effect(c)
--double tuner
local
e9
=
Effect
.
CreateEffect
(
c
)
e9
:
SetType
(
EFFECT_TYPE_SINGLE
)
e9
:
Set
Property
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e9
:
Set
Code
(
21142671
)
e9
:
Set
Code
(
EFFECT_MATERIAL_CHECK
)
e9
:
Set
Value
(
cm
.
valcheck
)
c
:
RegisterEffect
(
e9
)
end
function
cm
.
TM
(
c
)
...
...
@@ -136,4 +136,15 @@ function cm.stop(e,tp,eg,ep,ev,re,r,rp)
else
Duel
.
MoveSequence
(
tc
,
1
)
end
end
\ No newline at end of file
end
function
cm
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
if
g
:
IsExists
(
Card
.
IsType
,
2
,
nil
,
TYPE_TUNER
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
21142671
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
end
end
expansions/script/c15000357.lua
View file @
06b566d9
...
...
@@ -73,8 +73,8 @@ function cm.initial_effect(c)
--double tuner
local
e9
=
Effect
.
CreateEffect
(
c
)
e9
:
SetType
(
EFFECT_TYPE_SINGLE
)
e9
:
Set
Property
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e9
:
Set
Code
(
21142671
)
e9
:
Set
Code
(
EFFECT_MATERIAL_CHECK
)
e9
:
Set
Value
(
cm
.
valcheck
)
c
:
RegisterEffect
(
e9
)
end
function
cm
.
sprop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
@@ -160,3 +160,14 @@ function cm.spop2(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
function
cm
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
if
g
:
IsExists
(
Card
.
IsType
,
2
,
nil
,
TYPE_TUNER
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
21142671
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
end
end
expansions/script/c17035340.lua
View file @
06b566d9
...
...
@@ -63,8 +63,8 @@ function cm.initial_effect(c)
--double tuner
local
e9
=
Effect
.
CreateEffect
(
c
)
e9
:
SetType
(
EFFECT_TYPE_SINGLE
)
e9
:
Set
Property
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e9
:
Set
Code
(
21142671
)
e9
:
Set
Code
(
EFFECT_MATERIAL_CHECK
)
e9
:
Set
Value
(
cm
.
valcheck
)
c
:
RegisterEffect
(
e9
)
end
function
cm
.
CheckGroupRecursive
(
c
,
sg
,
g
,
f
,
min
,
max
,
ext_params
)
...
...
@@ -275,4 +275,15 @@ function cm.tdop(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoDeck
(
Group
.
FromCards
(
g
,
e
:
GetHandler
()),
nil
,
2
,
REASON_EFFECT
)
end
end
\ No newline at end of file
end
function
cm
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
if
g
:
IsExists
(
Card
.
IsType
,
2
,
nil
,
TYPE_TUNER
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
21142671
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
end
end
expansions/script/c18004010.lua
View file @
06b566d9
...
...
@@ -13,8 +13,8 @@ function cm.initial_effect(c)
--double tuner
local
e9
=
Effect
.
CreateEffect
(
c
)
e9
:
SetType
(
EFFECT_TYPE_SINGLE
)
e9
:
Set
Property
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e9
:
Set
Code
(
21142671
)
e9
:
Set
Code
(
EFFECT_MATERIAL_CHECK
)
e9
:
Set
Value
(
cm
.
valcheck
)
c
:
RegisterEffect
(
e9
)
end
function
cm
.
con2
(
e
,
tp
)
...
...
@@ -54,3 +54,14 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
end
function
cm
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
if
g
:
IsExists
(
Card
.
IsType
,
2
,
nil
,
TYPE_TUNER
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
21142671
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
end
end
expansions/script/c18004014.lua
View file @
06b566d9
...
...
@@ -13,8 +13,8 @@ function cm.initial_effect(c)
--double tuner
local
e9
=
Effect
.
CreateEffect
(
c
)
e9
:
SetType
(
EFFECT_TYPE_SINGLE
)
e9
:
Set
Property
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e9
:
Set
Code
(
21142671
)
e9
:
Set
Code
(
EFFECT_MATERIAL_CHECK
)
e9
:
Set
Value
(
cm
.
valcheck
)
c
:
RegisterEffect
(
e9
)
end
function
cm
.
con2
(
e
)
...
...
@@ -35,3 +35,14 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
end
end
function
cm
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
if
g
:
IsExists
(
Card
.
IsType
,
2
,
nil
,
TYPE_TUNER
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
21142671
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
end
end
expansions/script/c18004016.lua
View file @
06b566d9
...
...
@@ -13,8 +13,8 @@ function cm.initial_effect(c)
--double tuner
local
e9
=
Effect
.
CreateEffect
(
c
)
e9
:
SetType
(
EFFECT_TYPE_SINGLE
)
e9
:
Set
Property
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e9
:
Set
Code
(
21142671
)
e9
:
Set
Code
(
EFFECT_MATERIAL_CHECK
)
e9
:
Set
Value
(
cm
.
valcheck
)
c
:
RegisterEffect
(
e9
)
end
function
cm
.
con2
(
e
,
tp
)
...
...
@@ -61,4 +61,15 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
Duel
.
HintSelection
(
g
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
end
\ No newline at end of file
end
function
cm
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
if
g
:
IsExists
(
Card
.
IsType
,
2
,
nil
,
TYPE_TUNER
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
21142671
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
end
end
expansions/script/c23000309.lua
View file @
06b566d9
...
...
@@ -49,8 +49,8 @@ function c23000309.initial_effect(c)
--double tuner
local
e9
=
Effect
.
CreateEffect
(
c
)
e9
:
SetType
(
EFFECT_TYPE_SINGLE
)
e9
:
Set
Property
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e9
:
Set
Code
(
21142671
)
e9
:
Set
Code
(
EFFECT_MATERIAL_CHECK
)
e9
:
Set
Value
(
c23000309
.
valcheck
)
c
:
RegisterEffect
(
e9
)
end
function
c23000309
.
indct
(
e
,
re
,
r
,
rp
)
...
...
@@ -119,3 +119,14 @@ end
function
c23000309
.
splimit
(
e
,
c
)
return
not
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsLocation
(
LOCATION_EXTRA
)
end
function
c23000309
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
if
g
:
IsExists
(
Card
.
IsType
,
2
,
nil
,
TYPE_TUNER
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
21142671
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
end
end
expansions/script/c23000350.lua
View file @
06b566d9
...
...
@@ -52,8 +52,8 @@ function cm.initial_effect(c)
--double tuner
local
e9
=
Effect
.
CreateEffect
(
c
)
e9
:
SetType
(
EFFECT_TYPE_SINGLE
)
e9
:
Set
Property
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e9
:
Set
Code
(
21142671
)
e9
:
Set
Code
(
EFFECT_MATERIAL_CHECK
)
e9
:
Set
Value
(
cm
.
valcheck
)
c
:
RegisterEffect
(
e9
)
end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
@@ -92,4 +92,15 @@ function cm.operation1(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
end
end
end
\ No newline at end of file
end
function
cm
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
if
g
:
IsExists
(
Card
.
IsType
,
2
,
nil
,
TYPE_TUNER
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
21142671
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
end
end
expansions/script/c37564502.lua
View file @
06b566d9
...
...
@@ -22,8 +22,8 @@ function cm.initial_effect(c)
--double tuner
local
e9
=
Effect
.
CreateEffect
(
c
)
e9
:
SetType
(
EFFECT_TYPE_SINGLE
)
e9
:
Set
Property
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e9
:
Set
Code
(
21142671
)
e9
:
Set
Code
(
EFFECT_MATERIAL_CHECK
)
e9
:
Set
Value
(
cm
.
valcheck
)
c
:
RegisterEffect
(
e9
)
end
function
cm
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
@@ -47,3 +47,14 @@ function cm.disop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
function
cm
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
if
g
:
IsExists
(
Card
.
IsType
,
2
,
nil
,
TYPE_TUNER
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
21142671
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
end
end
expansions/script/c37564539.lua
View file @
06b566d9
...
...
@@ -33,8 +33,8 @@ function cm.initial_effect(c)
--double tuner
local
e9
=
Effect
.
CreateEffect
(
c
)
e9
:
SetType
(
EFFECT_TYPE_SINGLE
)
e9
:
Set
Property
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e9
:
Set
Code
(
21142671
)
e9
:
Set
Code
(
EFFECT_MATERIAL_CHECK
)
e9
:
Set
Value
(
cm
.
valcheck
)
c
:
RegisterEffect
(
e9
)
end
function
cm
.
filter
(
c
)
...
...
@@ -68,3 +68,14 @@ function cm.activate1(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
function
cm
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
if
g
:
IsExists
(
Card
.
IsType
,
2
,
nil
,
TYPE_TUNER
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
21142671
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
end
end
expansions/script/c37564540.lua
View file @
06b566d9
...
...
@@ -36,8 +36,8 @@ function cm.initial_effect(c)
--double tuner
local
e9
=
Effect
.
CreateEffect
(
c
)
e9
:
SetType
(
EFFECT_TYPE_SINGLE
)
e9
:
Set
Property
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e9
:
Set
Code
(
21142671
)
e9
:
Set
Code
(
EFFECT_MATERIAL_CHECK
)
e9
:
Set
Value
(
cm
.
valcheck
)
c
:
RegisterEffect
(
e9
)
end
cm
.
material_type
=
TYPE_SYNCHRO
...
...
@@ -82,3 +82,14 @@ function cm.repop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
end
end
function
cm
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
if
g
:
IsExists
(
Card
.
IsType
,
2
,
nil
,
TYPE_TUNER
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
21142671
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
end
end
expansions/script/c37564566.lua
View file @
06b566d9
...
...
@@ -29,6 +29,12 @@ function cm.initial_effect(c)
e1
:
SetTarget
(
cm
.
target1
)
e1
:
SetOperation
(
cm
.
operation1
)
c
:
RegisterEffect
(
e1
)
--double tuner
local
e9
=
Effect
.
CreateEffect
(
c
)
e9
:
SetType
(
EFFECT_TYPE_SINGLE
)
e9
:
SetCode
(
EFFECT_MATERIAL_CHECK
)
e9
:
SetValue
(
cm
.
valcheck
)
c
:
RegisterEffect
(
e9
)
end
function
cm
.
filter
(
c
)
return
c
.
Senya_desc_with_nanahira
and
c
:
IsSSetable
(
true
)
and
c
:
IsType
(
TYPE_TRAP
)
...
...
@@ -95,3 +101,14 @@ function cm.operation1(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsHasCardTarget
(
tc
)
then
c
:
CancelCardTarget
(
tc
)
end
end
end
function
cm
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
if
g
:
IsExists
(
Card
.
IsType
,
2
,
nil
,
TYPE_TUNER
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
21142671
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
end
end
expansions/script/c37564605.lua
View file @
06b566d9
...
...
@@ -30,8 +30,8 @@ function cm.initial_effect(c)
--double tuner
local
e9
=
Effect
.
CreateEffect
(
c
)
e9
:
SetType
(
EFFECT_TYPE_SINGLE
)
e9
:
Set
Property
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e9
:
Set
Code
(
21142671
)
e9
:
Set
Code
(
EFFECT_MATERIAL_CHECK
)
e9
:
Set
Value
(
cm
.
valcheck
)
c
:
RegisterEffect
(
e9
)
end
function
cm
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
@@ -87,3 +87,14 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
end
end
function
cm
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
if
g
:
IsExists
(
Card
.
IsType
,
2
,
nil
,
TYPE_TUNER
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
21142671
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
end
end
expansions/script/c37564606.lua
View file @
06b566d9
...
...
@@ -56,8 +56,8 @@ function cm.initial_effect(c)
--double tuner
local
e9
=
Effect
.
CreateEffect
(
c
)
e9
:
SetType
(
EFFECT_TYPE_SINGLE
)
e9
:
Set
Property
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e9
:
Set
Code
(
21142671
)
e9
:
Set
Code
(
EFFECT_MATERIAL_CHECK
)
e9
:
Set
Value
(
cm
.
valcheck
)
c
:
RegisterEffect
(
e9
)
end
function
cm
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
@@ -136,3 +136,14 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
end
end
function
cm
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
if
g
:
IsExists
(
Card
.
IsType
,
2
,
nil
,
TYPE_TUNER
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
21142671
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
end
end
expansions/script/c37564607.lua
View file @
06b566d9
...
...
@@ -43,8 +43,8 @@ function cm.initial_effect(c)
--double tuner
local
e9
=
Effect
.
CreateEffect
(
c
)
e9
:
SetType
(
EFFECT_TYPE_SINGLE
)
e9
:
Set
Property
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e9
:
Set
Code
(
21142671
)
e9
:
Set
Code
(
EFFECT_MATERIAL_CHECK
)
e9
:
Set
Value
(
cm
.
valcheck
)
c
:
RegisterEffect
(
e9
)
end
function
cm
.
drcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
@@ -125,3 +125,14 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
end
end
function
cm
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
if
g
:
IsExists
(
Card
.
IsType
,
2
,
nil
,
TYPE_TUNER
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
21142671
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
end
end
expansions/script/c37564616.lua
View file @
06b566d9
...
...
@@ -31,8 +31,8 @@ function cm.initial_effect(c)
--double tuner
local
e9
=
Effect
.
CreateEffect
(
c
)
e9
:
SetType
(
EFFECT_TYPE_SINGLE
)
e9
:
Set
Property
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e9
:
Set
Code
(
21142671
)
e9
:
Set
Code
(
EFFECT_MATERIAL_CHECK
)
e9
:
Set
Value
(
cm
.
valcheck
)
c
:
RegisterEffect
(
e9
)
end
function
cm
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
@@ -90,3 +90,14 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
end
end
function
cm
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
if
g
:
IsExists
(
Card
.
IsType
,
2
,
nil
,
TYPE_TUNER
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
21142671
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
end
end
expansions/script/c47501006.lua
View file @
06b566d9
...
...
@@ -46,8 +46,8 @@ function c47501006.initial_effect(c)
--double tuner
local
e9
=
Effect
.
CreateEffect
(
c
)
e9
:
SetType
(
EFFECT_TYPE_SINGLE
)
e9
:
Set
Property
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e9
:
Set
Code
(
21142671
)
e9
:
Set
Code
(
EFFECT_MATERIAL_CHECK
)
e9
:
Set
Value
(
cm
.
valcheck
)
c
:
RegisterEffect
(
e9
)
end
c47501006
.
material_type
=
TYPE_SYNCHRO
...
...
@@ -122,4 +122,15 @@ function c47501006.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
end
end
\ No newline at end of file
end
function
c47501006
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
if
g
:
IsExists
(
Card
.
IsType
,
2
,
nil
,
TYPE_TUNER
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
21142671
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
end
end
expansions/script/c81002017.lua
View file @
06b566d9
...
...
@@ -30,11 +30,11 @@ function cm.initial_effect(c)
e1
:
SetOperation
(
cm
.
operation
)
c
:
RegisterEffect
(
e1
)
--double tuner
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e2
:
SetCode
(
21142671
)
c
:
RegisterEffect
(
e2
)
local
e9
=
Effect
.
CreateEffect
(
c
)
e9
:
SetType
(
EFFECT_TYPE_SINGLE
)
e9
:
SetCode
(
EFFECT_MATERIAL_CHECK
)
e9
:
SetValue
(
cm
.
valcheck
)
c
:
RegisterEffect
(
e9
)
--disable
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
...
...
@@ -96,3 +96,14 @@ end
function
cm
.
distg
(
e
,
c
)
return
c
:
GetFlagEffect
(
m
)
~=
0
end
function
cm
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
if
g
:
IsExists
(
Card
.
IsType
,
2
,
nil
,
TYPE_TUNER
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
21142671
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
end
end
expansions/script/c81019073.lua
View file @
06b566d9
...
...
@@ -31,8 +31,8 @@ function cm.initial_effect(c)
--double tuner
local
e9
=
Effect
.
CreateEffect
(
c
)
e9
:
SetType
(
EFFECT_TYPE_SINGLE
)
e9
:
Set
Property
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e9
:
Set
Code
(
21142671
)
e9
:
Set
Code
(
EFFECT_MATERIAL_CHECK
)
e9
:
Set
Value
(
cm
.
valcheck
)
c
:
RegisterEffect
(
e9
)
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
@@ -101,3 +101,14 @@ function cm.eqop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Equip
(
tp
,
ec
,
tc
)
end
end
function
cm
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
if
g
:
IsExists
(
Card
.
IsType
,
2
,
nil
,
TYPE_TUNER
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
21142671
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
end
end
expansions/script/c81042008.lua
View file @
06b566d9
...
...
@@ -35,8 +35,8 @@ function cm.initial_effect(c)
--double tuner
local
e9
=
Effect
.
CreateEffect
(
c
)
e9
:
SetType
(
EFFECT_TYPE_SINGLE
)
e9
:
Set
Property
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e9
:
Set
Code
(
21142671
)
e9
:
Set
Code
(
EFFECT_MATERIAL_CHECK
)
e9
:
Set
Value
(
cm
.
valcheck
)
c
:
RegisterEffect
(
e9
)
end
function
cm
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
...
...
@@ -82,3 +82,14 @@ function cm.ctop(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterEffect
(
e1
)
end
end
function
cm
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
if
g
:
IsExists
(
Card
.
IsType
,
2
,
nil
,
TYPE_TUNER
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
21142671
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TOFIELD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
end
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