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
4bec2fc5
Commit
4bec2fc5
authored
Mar 01, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ybb
parent
07f05e84
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
15 additions
and
103 deletions
+15
-103
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c28315000.lua
expansions/script/c28315000.lua
+0
-13
expansions/script/c28315001.lua
expansions/script/c28315001.lua
+0
-13
expansions/script/c28316006.lua
expansions/script/c28316006.lua
+0
-14
expansions/script/c28316018.lua
expansions/script/c28316018.lua
+14
-0
expansions/script/c28321001.lua
expansions/script/c28321001.lua
+0
-13
expansions/script/c28321002.lua
expansions/script/c28321002.lua
+0
-4
expansions/script/c28323001.lua
expansions/script/c28323001.lua
+0
-14
expansions/script/c37564520.lua
expansions/script/c37564520.lua
+0
-1
expansions/script/c81026004.lua
expansions/script/c81026004.lua
+0
-13
expansions/script/c81041026.lua
expansions/script/c81041026.lua
+0
-1
expansions/script/c81041033.lua
expansions/script/c81041033.lua
+1
-1
expansions/script/c81041036.lua
expansions/script/c81041036.lua
+0
-1
expansions/script/c81041056.lua
expansions/script/c81041056.lua
+0
-1
expansions/script/c81050000.lua
expansions/script/c81050000.lua
+0
-14
No files found.
expansions/222DIY.cdb
View file @
4bec2fc5
No preview for this file type
expansions/script/c28315000.lua
View file @
4bec2fc5
...
...
@@ -31,19 +31,6 @@ function cm.initial_effect(c)
e2
:
SetTarget
(
cm
.
sptg
)
e2
:
SetOperation
(
cm
.
spop
)
c
:
RegisterEffect
(
e2
)
--spsummon bgm
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e3
:
SetCondition
(
cm
.
sumcon
)
e3
:
SetOperation
(
cm
.
sumsuc
)
c
:
RegisterEffect
(
e3
)
end
function
cm
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_XYZ
)
end
function
cm
.
sumsuc
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
28315001
,
2
))
end
function
cm
.
drcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
...
...
expansions/script/c28315001.lua
View file @
4bec2fc5
...
...
@@ -5,13 +5,6 @@ function cm.initial_effect(c)
--xyz summon
aux
.
AddXyzProcedure
(
c
,
nil
,
4
,
2
,
nil
,
nil
,
99
)
c
:
EnableReviveLimit
()
--spsummon bgm
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e0
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e0
:
SetCondition
(
cm
.
sumcon
)
e0
:
SetOperation
(
cm
.
sumsuc
)
c
:
RegisterEffect
(
e0
)
--destroy
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
...
...
@@ -36,12 +29,6 @@ function cm.initial_effect(c)
e2
:
SetOperation
(
cm
.
lvop
)
c
:
RegisterEffect
(
e2
)
end
function
cm
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_XYZ
)
end
function
cm
.
sumsuc
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
m
,
2
))
end
function
cm
.
descost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
...
...
expansions/script/c28316006.lua
View file @
4bec2fc5
...
...
@@ -38,14 +38,6 @@ function cm.initial_effect(c)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetTargetRange
(
LOCATION_GRAVE
,
LOCATION_GRAVE
)
c
:
RegisterEffect
(
e4
)
--spsummon bgm
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e5
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e5
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e5
:
SetCondition
(
cm
.
sumcon
)
e5
:
SetOperation
(
cm
.
sumsuc
)
c
:
RegisterEffect
(
e5
)
end
function
cm
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_LOCATION
)
==
LOCATION_REMOVED
then
...
...
@@ -84,9 +76,3 @@ function cm.rmop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
end
end
function
cm
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_XYZ
)
end
function
cm
.
sumsuc
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
m
,
0
))
end
expansions/script/c28316018.lua
View file @
4bec2fc5
...
...
@@ -34,6 +34,14 @@ function cm.initial_effect(c)
local
e5
=
e4
:
Clone
()
e5
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
c
:
RegisterEffect
(
e5
)
--spsummon bgm
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e6
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e6
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e6
:
SetCondition
(
cm
.
sumcon
)
e6
:
SetOperation
(
cm
.
sumsuc
)
c
:
RegisterEffect
(
e6
)
end
function
cm
.
spfilter
(
c
,
xyzc
)
if
c
:
IsHasEffect
(
EFFECT_CANNOT_BE_XYZ_MATERIAL
)
then
...
...
@@ -97,3 +105,9 @@ end
function
cm
.
atkval
(
e
,
c
)
return
c
:
GetOverlayCount
()
*
1000
end
function
cm
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_XYZ
)
end
function
cm
.
sumsuc
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
m
,
0
))
end
expansions/script/c28321001.lua
View file @
4bec2fc5
...
...
@@ -5,13 +5,6 @@ function cm.initial_effect(c)
--xyz summon
aux
.
AddXyzProcedure
(
c
,
nil
,
6
,
2
)
c
:
EnableReviveLimit
()
--spsummon bgm
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCondition
(
cm
.
sumcon
)
e1
:
SetOperation
(
cm
.
sumsuc
)
c
:
RegisterEffect
(
e1
)
--destroy replace
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_FIELD
)
...
...
@@ -30,12 +23,6 @@ function cm.initial_effect(c)
e3
:
SetOperation
(
cm
.
setop
)
c
:
RegisterEffect
(
e3
)
end
function
cm
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_XYZ
)
end
function
cm
.
sumsuc
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
m
,
1
))
end
function
cm
.
repfilter
(
c
,
tp
)
return
c
:
IsControler
(
tp
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsReason
(
REASON_EFFECT
)
and
not
c
:
IsReason
(
REASON_REPLACE
)
end
...
...
expansions/script/c28321002.lua
View file @
4bec2fc5
...
...
@@ -11,7 +11,6 @@ function cm.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCondition
(
cm
.
spcon
)
e1
:
SetOperation
(
cm
.
spop
)
c
:
RegisterEffect
(
e1
)
--indes
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -42,9 +41,6 @@ function cm.spcon(e,c)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
false
end
return
not
Tenka
.
ReikaCon
(
e
)
end
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
m
,
0
))
end
function
cm
.
target
(
e
,
c
)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
end
...
...
expansions/script/c28323001.lua
View file @
4bec2fc5
...
...
@@ -20,14 +20,6 @@ function cm.initial_effect(c)
e1
:
SetTarget
(
cm
.
atktg
)
e1
:
SetOperation
(
cm
.
atkop
)
c
:
RegisterEffect
(
e1
)
--spsummon bgm
local
e8
=
Effect
.
CreateEffect
(
c
)
e8
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e8
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CANNOT_NEGATE
)
e8
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e8
:
SetCondition
(
cm
.
sumcon
)
e8
:
SetOperation
(
cm
.
sumsuc
)
c
:
RegisterEffect
(
e8
)
end
function
cm
.
ovfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
28323000
)
...
...
@@ -59,9 +51,3 @@ function cm.atkop(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterEffect
(
e1
)
end
end
function
cm
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_XYZ
)
end
function
cm
.
sumsuc
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
m
,
2
))
end
expansions/script/c37564520.lua
View file @
4bec2fc5
...
...
@@ -6,7 +6,6 @@ function cm.initial_effect(c)
aux
.
AddMaterialCodeList
(
c
,
37564765
)
Senya
.
Nanahira
(
c
)
aux
.
AddSynchroProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsCode
,
37564765
),
aux
.
NonTuner
(
Card
.
IsRace
,
RACE_FAIRY
),
1
)
Senya
.
AddSummonMusic
(
c
,
m
*
16
+
2
,
SUMMON_TYPE_SYNCHRO
)
c
:
EnableReviveLimit
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
m
*
16
+
1
)
...
...
expansions/script/c81026004.lua
View file @
4bec2fc5
...
...
@@ -43,21 +43,8 @@ function cm.initial_effect(c)
e2
:
SetTarget
(
cm
.
distg
)
e2
:
SetOperation
(
cm
.
disop
)
c
:
RegisterEffect
(
e2
)
--spsummon bgm
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e3
:
SetCondition
(
cm
.
sumcon
)
e3
:
SetOperation
(
cm
.
sumsuc
)
c
:
RegisterEffect
(
e3
)
end
cm
.
pendulum_level
=
3
function
cm
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_RITUAL
)
end
function
cm
.
sumsuc
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
m
,
2
))
end
function
cm
.
thfilter
(
c
)
return
(
c
:
IsFaceup
()
or
c
:
IsLocation
(
LOCATION_GRAVE
))
and
c
:
IsCode
(
33334568
)
and
c
:
IsAbleToHand
()
end
...
...
expansions/script/c81041026.lua
View file @
4bec2fc5
...
...
@@ -35,7 +35,6 @@ function cm.filter(c,e,tp)
return
c
:
IsAttack
(
1550
)
and
c
:
IsDefense
(
1050
)
and
c
:
IsType
(
TYPE_PENDULUM
)
end
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
m
,
0
))
local
mg
=
Duel
.
GetRitualMaterial
(
tp
)
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
RitualUltimateFilter
,
tp
,
LOCATION_HAND
,
0
,
nil
,
cm
.
filter
,
e
,
tp
,
mg
,
nil
,
Card
.
GetLevel
,
"Greater"
)
if
g
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
1
))
then
...
...
expansions/script/c81041033.lua
View file @
4bec2fc5
...
...
@@ -61,7 +61,7 @@ function cm.rsop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ReleaseRitualMaterial
(
mat
)
Duel
.
BreakEffect
()
Duel
.
SpecialSummon
(
tc
,
SUMMON_TYPE_RITUAL
,
tp
,
tp
,
false
,
true
,
POS_FACEUP
)
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
m
,
math.random
(
0
,
2
)
))
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
m
,
0
))
tc
:
CompleteProcedure
()
end
end
...
...
expansions/script/c81041036.lua
View file @
4bec2fc5
...
...
@@ -62,7 +62,6 @@ function cm.rsop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ReleaseRitualMaterial
(
mat
)
Duel
.
BreakEffect
()
Duel
.
SpecialSummon
(
tc
,
SUMMON_TYPE_RITUAL
,
tp
,
tp
,
false
,
true
,
POS_FACEUP
)
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
m
,
math.random
(
0
,
2
)))
tc
:
CompleteProcedure
()
end
end
...
...
expansions/script/c81041056.lua
View file @
4bec2fc5
...
...
@@ -71,7 +71,6 @@ function cm.rsop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ReleaseRitualMaterial
(
mat
)
Duel
.
BreakEffect
()
Duel
.
SpecialSummon
(
tc
,
SUMMON_TYPE_RITUAL
,
tp
,
tp
,
false
,
true
,
POS_FACEUP
)
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
m
,
0
))
tc
:
CompleteProcedure
()
end
end
...
...
expansions/script/c81050000.lua
View file @
4bec2fc5
...
...
@@ -6,14 +6,6 @@ function cm.initial_effect(c)
--pendulum summon
aux
.
EnablePendulumAttribute
(
c
)
c
:
EnableReviveLimit
()
--spsummon bgm
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e0
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CANNOT_NEGATE
)
e0
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e0
:
SetCondition
(
cm
.
sumcon
)
e0
:
SetOperation
(
cm
.
sumsuc
)
c
:
RegisterEffect
(
e0
)
--pendulum set
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_DESTROY
)
...
...
@@ -45,12 +37,6 @@ function cm.initial_effect(c)
e4
:
SetOperation
(
cm
.
disop
)
c
:
RegisterEffect
(
e4
)
end
function
cm
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_RITUAL
)
or
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_PENDULUM
)
end
function
cm
.
sumsuc
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
m
,
0
))
end
function
cm
.
penfilter
(
c
)
return
c
:
IsType
(
TYPE_RITUAL
)
and
not
c
:
IsCode
(
m
)
and
not
c
:
IsForbidden
()
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