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
Ai
ygopro-222DIY-cards
Commits
b99e8501
Commit
b99e8501
authored
Oct 26, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eme
parent
3fcbdea1
Changes
16
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
18 additions
and
14 deletions
+18
-14
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c1000410.lua
expansions/script/c1000410.lua
+1
-0
expansions/script/c1007001.lua
expansions/script/c1007001.lua
+1
-0
expansions/script/c1111301.lua
expansions/script/c1111301.lua
+1
-2
expansions/script/c11800059.lua
expansions/script/c11800059.lua
+1
-0
expansions/script/c22000800.lua
expansions/script/c22000800.lua
+1
-1
expansions/script/c22281301.lua
expansions/script/c22281301.lua
+1
-1
expansions/script/c37564224.lua
expansions/script/c37564224.lua
+1
-0
expansions/script/c4231005.lua
expansions/script/c4231005.lua
+2
-2
expansions/script/c44000002.lua
expansions/script/c44000002.lua
+2
-2
expansions/script/c44000006.lua
expansions/script/c44000006.lua
+1
-1
expansions/script/c53700000.lua
expansions/script/c53700000.lua
+1
-4
expansions/script/c62200033.lua
expansions/script/c62200033.lua
+1
-0
expansions/script/c69601002.lua
expansions/script/c69601002.lua
+2
-1
expansions/script/c76121043.lua
expansions/script/c76121043.lua
+1
-0
expansions/script/c85402110.lua
expansions/script/c85402110.lua
+1
-0
No files found.
expansions/222DIY.cdb
View file @
b99e8501
No preview for this file type
expansions/script/c1000410.lua
View file @
b99e8501
--轮回
--轮回
function
c1000410
.
initial_effect
(
c
)
function
c1000410
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
1000400
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
1000410
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
1000410
,
0
))
...
...
expansions/script/c1007001.lua
View file @
b99e8501
...
@@ -2,6 +2,7 @@ if not pcall(function() require("expansions/script/c1007000") end) then require(
...
@@ -2,6 +2,7 @@ if not pcall(function() require("expansions/script/c1007000") end) then require(
--第五魔法·青
--第五魔法·青
function
c1007001
.
initial_effect
(
c
)
function
c1007001
.
initial_effect
(
c
)
mfszy
.
qing
(
c
,
1007002
)
mfszy
.
qing
(
c
,
1007002
)
aux
.
AddCodeList
(
c
,
1007002
)
--Activate
--Activate
--SpecialSummon
--SpecialSummon
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c1111301.lua
View file @
b99e8501
...
@@ -5,6 +5,7 @@ xpcall(function() require("expansions/script/c1110198") end,function() require("
...
@@ -5,6 +5,7 @@ xpcall(function() require("expansions/script/c1110198") end,function() require("
cm
.
named_with_Butterfly
=
true
cm
.
named_with_Butterfly
=
true
--
--
function
c1111301
.
initial_effect
(
c
)
function
c1111301
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
1110151
)
--
--
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
@@ -27,8 +28,6 @@ function c1111301.initial_effect(c)
...
@@ -27,8 +28,6 @@ function c1111301.initial_effect(c)
--
--
end
end
--
--
c1111301
.
fit_monster
=
{
1110151
}
--
function
c1111301
.
filter
(
c
,
e
,
tp
,
m
)
function
c1111301
.
filter
(
c
,
e
,
tp
,
m
)
if
bit
.
band
(
c
:
GetType
(),
0x81
)
~=
0x81
or
not
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_RITUAL
,
tp
,
false
,
true
)
then
return
false
end
if
bit
.
band
(
c
:
GetType
(),
0x81
)
~=
0x81
or
not
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_RITUAL
,
tp
,
false
,
true
)
then
return
false
end
if
c
.
mat_filter
then
if
c
.
mat_filter
then
...
...
expansions/script/c11800059.lua
View file @
b99e8501
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
local
m
=
11800059
local
m
=
11800059
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
11800011
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
...
expansions/script/c22000800.lua
View file @
b99e8501
--天草四郎阵中旗
--天草四郎阵中旗
function
c22000800
.
initial_effect
(
c
)
function
c22000800
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
22000250
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
@@ -11,7 +12,6 @@ function c22000800.initial_effect(c)
...
@@ -11,7 +12,6 @@ function c22000800.initial_effect(c)
e1
:
SetOperation
(
c22000800
.
activate
)
e1
:
SetOperation
(
c22000800
.
activate
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
c22000800
.
fit_monster
=
{
22000250
}
function
c22000800
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c22000800
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
Duel
.
PayLPCost
(
tp
,
math.floor
(
Duel
.
GetLP
(
tp
)
/
2
))
Duel
.
PayLPCost
(
tp
,
math.floor
(
Duel
.
GetLP
(
tp
)
/
2
))
...
...
expansions/script/c22281301.lua
View file @
b99e8501
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
Duel
.
LoadScript
(
"c22280001.lua"
)
Duel
.
LoadScript
(
"c22280001.lua"
)
c22281301
.
named_with_Spar
=
true
c22281301
.
named_with_Spar
=
true
function
c22281301
.
initial_effect
(
c
)
function
c22281301
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
22280002
,
22280005
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
22281301
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
22281301
,
0
))
...
@@ -23,7 +24,6 @@ function c22281301.initial_effect(c)
...
@@ -23,7 +24,6 @@ function c22281301.initial_effect(c)
e2
:
SetOperation
(
c22281301
.
op
)
e2
:
SetOperation
(
c22281301
.
op
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
c22281301
.
fit_monster
=
{
22280002
,
22280005
}
function
c22281301
.
filter
(
c
,
e
,
tp
,
m1
,
ft
)
function
c22281301
.
filter
(
c
,
e
,
tp
,
m1
,
ft
)
if
not
c
:
IsCode
(
22280002
,
22280005
)
or
bit
.
band
(
c
:
GetType
(),
0x81
)
~=
0x81
or
not
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_RITUAL
,
tp
,
false
,
true
)
then
return
false
end
if
not
c
:
IsCode
(
22280002
,
22280005
)
or
bit
.
band
(
c
:
GetType
(),
0x81
)
~=
0x81
or
not
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_RITUAL
,
tp
,
false
,
true
)
then
return
false
end
local
mg
=
m1
:
Filter
(
Card
.
IsCanBeRitualMaterial
,
c
,
c
)
local
mg
=
m1
:
Filter
(
Card
.
IsCanBeRitualMaterial
,
c
,
c
)
...
...
expansions/script/c37564224.lua
View file @
b99e8501
...
@@ -3,6 +3,7 @@ local m=37564224
...
@@ -3,6 +3,7 @@ local m=37564224
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c37564765.lua"
)
Duel
.
LoadScript
(
"c37564765.lua"
)
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
37564225
)
--activate
--activate
Auxiliary
.
AddCodeList
(
c
,
m
+
1
)
Auxiliary
.
AddCodeList
(
c
,
m
+
1
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c4231005.lua
View file @
b99e8501
--群星的仪式-梦幻召唤
--群星的仪式-梦幻召唤
local
m
=
4231005
local
m
=
4231005
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
cm
.
fit_monster
=
{
4231004
}
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
4231004
)
iFunc
(
c
).
c
(
"RegisterEffect"
,
iFunc
(
c
)
iFunc
(
c
).
c
(
"RegisterEffect"
,
iFunc
(
c
)
.
e
(
"SetCategory"
,
CATEGORY_SPECIAL_SUMMON
)
.
e
(
"SetCategory"
,
CATEGORY_SPECIAL_SUMMON
)
.
e
(
"SetType"
,
EFFECT_TYPE_ACTIVATE
)
.
e
(
"SetType"
,
EFFECT_TYPE_ACTIVATE
)
...
@@ -76,7 +76,7 @@ function cm.thfilter(c)
...
@@ -76,7 +76,7 @@ function cm.thfilter(c)
return
c
:
IsCode
(
4231004
)
and
c
:
IsAbleToHand
()
return
c
:
IsCode
(
4231004
)
and
c
:
IsAbleToHand
()
end
end
function
cm
.
mfilter
(
c
,
ft
)
function
cm
.
mfilter
(
c
,
ft
)
return
c
:
GetEquipGroup
():
IsExists
(
function
(
c
)
return
c
:
IsCode
(
4231006
)
end
,
1
,
nil
)
return
c
:
GetEquipGroup
():
IsExists
(
function
(
c
)
return
c
:
IsCode
(
4231006
)
end
,
1
,
nil
)
and
c
:
GetEquipGroup
():
IsExists
(
function
(
c
)
return
c
:
IsCode
(
4231007
)
end
,
1
,
nil
)
and
c
:
GetEquipGroup
():
IsExists
(
function
(
c
)
return
c
:
IsCode
(
4231007
)
end
,
1
,
nil
)
and
(
not
((
c
:
GetSequence
()
==
5
or
c
:
GetSequence
()
==
6
)
and
ft
<=
0
)
or
ft
>
0
)
and
(
not
((
c
:
GetSequence
()
==
5
or
c
:
GetSequence
()
==
6
)
and
ft
<=
0
)
or
ft
>
0
)
end
end
...
...
expansions/script/c44000002.lua
View file @
b99e8501
...
@@ -15,9 +15,9 @@ function cm.tg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -15,9 +15,9 @@ function cm.tg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
cm
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
dc
=
Duel
.
TossDice
(
tp
,
1
)
local
dc
=
Duel
.
TossDice
(
tp
,
1
)
if
dc
==
1
or
dc
==
2
or
dc
==
3
then
if
dc
==
1
or
dc
==
3
or
dc
==
5
then
Duel
.
Recover
(
1
-
tp
,
300
,
REASON_EFFECT
)
Duel
.
Recover
(
1
-
tp
,
300
,
REASON_EFFECT
)
elseif
dc
==
4
or
dc
==
5
or
dc
==
6
then
elseif
dc
==
2
or
dc
==
4
or
dc
==
6
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
...
...
expansions/script/c44000006.lua
View file @
b99e8501
...
@@ -32,7 +32,7 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
...
@@ -32,7 +32,7 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
local
dc
=
Duel
.
TossDice
(
tp
,
1
)
local
dc
=
Duel
.
TossDice
(
tp
,
1
)
if
dc
<
4
then
if
dc
<
4
then
rsop
.
SelectSpecialSummon
(
tp
,
cm
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,{},
e
,
tp
)
rsop
.
SelectSpecialSummon
(
tp
,
cm
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,{},
e
,
tp
)
elseif
dc
<
7
then
elseif
dc
>
3
then
rsop
.
SelectToHand
(
tp
,
cm
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,{})
rsop
.
SelectToHand
(
tp
,
cm
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,{})
end
end
end
end
...
...
expansions/script/c53700000.lua
View file @
b99e8501
--尸解"
--尸解"
function
c53700000
.
initial_effect
(
c
)
function
c53700000
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
53700001
)
aux
.
AddCodeList
(
c
,
53700001
,
53700002
,
53700003
,
53700004
)
aux
.
AddCodeList
(
c
,
53700002
)
aux
.
AddCodeList
(
c
,
53700003
)
aux
.
AddCodeList
(
c
,
53700004
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
...
expansions/script/c62200033.lua
View file @
b99e8501
...
@@ -3,6 +3,7 @@ local m=62200033
...
@@ -3,6 +3,7 @@ local m=62200033
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
cm
.
fit_monster
=
{
62200040
}
cm
.
fit_monster
=
{
62200040
}
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
62200040
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
...
...
expansions/script/c69601002.lua
View file @
b99e8501
--戏法骗局
--戏法骗局
function
c69601002
.
initial_effect
(
c
)
function
c69601002
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
69601001
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
69601002
,
1
))
e1
:
SetDescription
(
aux
.
Stringid
(
69601002
,
1
))
...
@@ -93,7 +94,7 @@ function c69601002.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -93,7 +94,7 @@ function c69601002.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c69601002
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c69601002
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
=
=
tp
return
Duel
.
GetTurnPlayer
()
~
=
tp
end
end
function
c69601002
.
thfilter
(
c
)
function
c69601002
.
thfilter
(
c
)
return
c
.
toss_dice
and
c
:
IsAbleToHand
()
return
c
.
toss_dice
and
c
:
IsAbleToHand
()
...
...
expansions/script/c76121043.lua
View file @
b99e8501
--荷鲁斯之眼
--荷鲁斯之眼
function
c76121043
.
initial_effect
(
c
)
function
c76121043
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
76121040
)
--activate
--activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
...
expansions/script/c85402110.lua
View file @
b99e8501
--伊莉雅的解封仪式
--伊莉雅的解封仪式
function
c85402110
.
initial_effect
(
c
)
function
c85402110
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
85402120
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
85402110
,
1
))
e1
:
SetDescription
(
aux
.
Stringid
(
85402110
,
1
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
...
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