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
6771aa0a
Commit
6771aa0a
authored
Apr 29, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
得得得得得
parent
0e375040
Pipeline
#12120
passed with stages
in 36 minutes and 3 seconds
Changes
8
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
12 additions
and
22 deletions
+12
-22
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c19500022.lua
expansions/script/c19500022.lua
+1
-2
expansions/script/c33501033.lua
expansions/script/c33501033.lua
+4
-4
expansions/script/c81032000.lua
expansions/script/c81032000.lua
+2
-2
expansions/script/c81032006.lua
expansions/script/c81032006.lua
+1
-4
expansions/script/c81032007.lua
expansions/script/c81032007.lua
+1
-4
expansions/script/c81032008.lua
expansions/script/c81032008.lua
+1
-4
expansions/script/c81032016.lua
expansions/script/c81032016.lua
+2
-2
No files found.
expansions/222DIY.cdb
View file @
6771aa0a
No preview for this file type
expansions/script/c19500022.lua
View file @
6771aa0a
--七色人形剧·蓬莱人形
local
s
,
id
,
o
=
GetID
()
function
c19500022
.
initial_effect
(
c
)
--todeck and draw
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -22,7 +21,7 @@ function c19500022.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_DESTROYED
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetCountLimit
(
1
,
19500022
+
o
)
e3
:
SetCountLimit
(
1
,
19500022
+
100
)
e3
:
SetTarget
(
c19500022
.
thtg
)
e3
:
SetOperation
(
c19500022
.
thop
)
c
:
RegisterEffect
(
e3
)
...
...
expansions/script/c33501033.lua
View file @
6771aa0a
...
...
@@ -23,9 +23,7 @@ function cm.initial_effect(c)
end
function
cm
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
re
:
GetHandler
()
if
tc
:
IsControler
(
1
-
tp
)
then
Sre_setbackt
[
1
]
=
tc
end
Sre_setbackt
[
1
]
=
tc
end
function
cm
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
res
=
false
...
...
@@ -33,12 +31,13 @@ function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
res
=
Sre_setbackt
[
1
]
end
if
chk
==
0
then
return
res
and
res
:
IsControler
(
1
-
tp
)
and
res
:
IsLocation
(
LOCATION_ONFIELD
)
end
res
:
CreateEffectRelation
(
e
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_CONTROL
,
e
:
GetLabelObject
(),
1
,
0
,
0
)
end
function
cm
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Sre_setbackt
[
1
]
if
tc
then
if
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
IsLocation
(
LOCATION_MZONE
)
then
Duel
.
GetControl
(
tc
,
tp
)
elseif
tc
:
IsLocation
(
LOCATION_FZONE
)
then
...
...
@@ -64,4 +63,5 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ChangePosition
(
c
,
POS_FACEDOWN
)
Duel
.
RaiseEvent
(
c
,
EVENT_SSET
,
e
,
REASON_EFFECT
,
tp
,
tp
,
0
)
end
res
:
ReleaseEffectRelation
(
e
)
end
\ No newline at end of file
expansions/script/c81032000.lua
View file @
6771aa0a
...
...
@@ -5,7 +5,7 @@ Duel.LoadScript("c81000000.lua")
function
cm
.
initial_effect
(
c
)
--synchro summon
c
:
EnableReviveLimit
()
aux
.
AddSynchroMixProcedure
(
c
,
cm
.
matfilter
,
nil
,
nil
,
aux
.
NonTuner
(
nil
)
,
1
,
1
,
cm
.
syncheck
)
aux
.
AddSynchroMixProcedure
(
c
,
nil
,
nil
,
nil
,
nil
,
1
,
1
,
cm
.
syncheck
)
--search
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
...
...
@@ -28,7 +28,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
cm
.
matfilter
(
c
)
return
c
:
Is
SynchroType
(
TYPE_TUNER
)
or
(
not
c
:
IsType
(
TYPE_TUNER
)
)
return
c
:
Is
Type
(
TYPE_MONSTER
)
end
function
cm
.
syncheck
(
g
)
return
not
g
:
IsExists
(
Card
.
IsSynchroType
,
1
,
nil
,
TYPE_TUNER
)
...
...
expansions/script/c81032006.lua
View file @
6771aa0a
...
...
@@ -5,7 +5,7 @@ Duel.LoadScript("c81000000.lua")
function
cm
.
initial_effect
(
c
)
--synchro summon
c
:
EnableReviveLimit
()
aux
.
AddSynchroMixProcedure
(
c
,
cm
.
matfilter
,
nil
,
nil
,
aux
.
NonTuner
(
nil
)
,
1
,
1
,
cm
.
syncheck
)
aux
.
AddSynchroMixProcedure
(
c
,
nil
,
nil
,
nil
,
nil
,
1
,
1
,
cm
.
syncheck
)
--spsummon
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
...
@@ -29,9 +29,6 @@ function cm.initial_effect(c)
e2
:
SetOperation
(
cm
.
drop
)
c
:
RegisterEffect
(
e2
)
end
function
cm
.
matfilter
(
c
)
return
c
:
IsSynchroType
(
TYPE_TUNER
)
or
(
not
c
:
IsType
(
TYPE_TUNER
))
end
function
cm
.
syncheck
(
g
)
return
not
g
:
IsExists
(
Card
.
IsSynchroType
,
1
,
nil
,
TYPE_TUNER
)
end
...
...
expansions/script/c81032007.lua
View file @
6771aa0a
...
...
@@ -5,7 +5,7 @@ Duel.LoadScript("c81000000.lua")
function
cm
.
initial_effect
(
c
)
--synchro summon
c
:
EnableReviveLimit
()
aux
.
AddSynchroMixProcedure
(
c
,
cm
.
matfilter
,
nil
,
nil
,
aux
.
NonTuner
(
tgrfilter
)
,
1
,
1
,
cm
.
syncheck
)
aux
.
AddSynchroMixProcedure
(
c
,
cm
.
matfilter
,
nil
,
nil
,
cm
.
matfilter
,
1
,
1
,
cm
.
syncheck
)
--cannot be target/effect indestructable
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
@@ -45,9 +45,6 @@ function cm.initial_effect(c)
end
cm
.
material_type
=
TYPE_SYNCHRO
function
cm
.
matfilter
(
c
)
return
c
:
IsSynchroType
(
TYPE_TUNER
)
or
(
c
:
IsRace
(
RACE_REPTILE
)
and
c
:
IsType
(
TYPE_SYNCHRO
))
end
function
cm
.
tgrfilter
(
c
)
return
c
:
IsRace
(
RACE_REPTILE
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
end
function
cm
.
syncheck
(
g
)
...
...
expansions/script/c81032008.lua
View file @
6771aa0a
...
...
@@ -5,7 +5,7 @@ Duel.LoadScript("c81000000.lua")
function
cm
.
initial_effect
(
c
)
--synchro summon
c
:
EnableReviveLimit
()
aux
.
AddSynchroMixProcedure
(
c
,
cm
.
matfilter
,
nil
,
nil
,
aux
.
NonTuner
(
tgrfilter
)
,
1
,
1
,
cm
.
syncheck
)
aux
.
AddSynchroMixProcedure
(
c
,
cm
.
matfilter
,
nil
,
nil
,
cm
.
matfilter
,
1
,
1
,
cm
.
syncheck
)
--remove
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
...
...
@@ -30,9 +30,6 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
cm
.
matfilter
(
c
)
return
c
:
IsSynchroType
(
TYPE_TUNER
)
or
c
:
IsRace
(
RACE_REPTILE
)
end
function
cm
.
tgrfilter
(
c
)
return
c
:
IsRace
(
RACE_REPTILE
)
end
function
cm
.
syncheck
(
g
)
...
...
expansions/script/c81032016.lua
View file @
6771aa0a
...
...
@@ -5,7 +5,7 @@ Duel.LoadScript("c81000000.lua")
function
cm
.
initial_effect
(
c
)
--synchro summon
c
:
EnableReviveLimit
()
aux
.
AddSynchroMixProcedure
(
c
,
cm
.
matfilter
,
nil
,
nil
,
aux
.
NonTuner
(
tgrfilter
)
,
1
,
1
,
cm
.
syncheck
)
aux
.
AddSynchroMixProcedure
(
c
,
cm
.
matfilter
,
nil
,
nil
,
cm
.
matfilter
,
1
,
1
,
cm
.
syncheck
)
--negate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
...
...
@@ -32,7 +32,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
cm
.
matfilter
(
c
)
return
c
:
Is
SynchroType
(
TYPE_TUNER
)
or
c
:
Is
Race
(
RACE_REPTILE
)
return
c
:
IsRace
(
RACE_REPTILE
)
end
function
cm
.
tgrfilter
(
c
)
return
c
:
IsRace
(
RACE_REPTILE
)
...
...
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