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
012809d8
Commit
012809d8
authored
Dec 27, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eme
parent
28ac497d
Changes
28
Hide whitespace changes
Inline
Side-by-side
Showing
28 changed files
with
85 additions
and
29 deletions
+85
-29
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c16114203.lua
expansions/script/c16114203.lua
+1
-1
expansions/script/c16114205.lua
expansions/script/c16114205.lua
+1
-1
expansions/script/c16114206.lua
expansions/script/c16114206.lua
+2
-1
expansions/script/c16114208.lua
expansions/script/c16114208.lua
+1
-1
expansions/script/c16114209.lua
expansions/script/c16114209.lua
+1
-1
expansions/script/c16114212.lua
expansions/script/c16114212.lua
+3
-0
expansions/script/c16114213.lua
expansions/script/c16114213.lua
+1
-0
expansions/script/c16114216.lua
expansions/script/c16114216.lua
+1
-1
expansions/script/c16114218.lua
expansions/script/c16114218.lua
+1
-0
expansions/script/c16114221.lua
expansions/script/c16114221.lua
+1
-0
expansions/script/c16114222.lua
expansions/script/c16114222.lua
+1
-0
expansions/script/c16114224.lua
expansions/script/c16114224.lua
+1
-1
expansions/script/c16114226.lua
expansions/script/c16114226.lua
+1
-1
expansions/script/c16114229.lua
expansions/script/c16114229.lua
+1
-1
expansions/script/c16114230.lua
expansions/script/c16114230.lua
+1
-1
expansions/script/c16114231.lua
expansions/script/c16114231.lua
+1
-1
expansions/script/c16114232.lua
expansions/script/c16114232.lua
+1
-1
expansions/script/c16114233.lua
expansions/script/c16114233.lua
+1
-1
expansions/script/c16114234.lua
expansions/script/c16114234.lua
+1
-1
expansions/script/c16120004.lua
expansions/script/c16120004.lua
+2
-2
expansions/script/c16120006.lua
expansions/script/c16120006.lua
+2
-2
expansions/script/c16120007.lua
expansions/script/c16120007.lua
+2
-2
expansions/script/c16120008.lua
expansions/script/c16120008.lua
+2
-2
expansions/script/c16120009.lua
expansions/script/c16120009.lua
+2
-2
expansions/script/c16120010.lua
expansions/script/c16120010.lua
+2
-2
expansions/script/c16120011.lua
expansions/script/c16120011.lua
+2
-2
expansions/script/c16199990.lua
expansions/script/c16199990.lua
+49
-1
No files found.
expansions/222DIY.cdb
View file @
012809d8
No preview for this file type
expansions/script/c16114203.lua
View file @
012809d8
--仙精罐
--仙精罐
xpcall
(
function
()
require
(
"expansions/script/c16199990"
)
end
,
function
()
require
(
"script/c16199990"
)
end
)
xpcall
(
function
()
require
(
"expansions/script/c16199990"
)
end
,
function
()
require
(
"script/c16199990"
)
end
)
local
m
,
cm
=
rk
.
set
(
16114203
,
"FAIRY"
)
local
m
,
cm
=
rk
.
set
(
16114203
,
"FAIRY"
,
1
)
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
--Activate
--Activate
local
e0
=
Effect
.
CreateEffect
(
c
)
local
e0
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c16114205.lua
View file @
012809d8
--未来仙精 未来
--未来仙精 未来
xpcall
(
function
()
require
(
"expansions/script/c16199990"
)
end
,
function
()
require
(
"script/c16199990"
)
end
)
xpcall
(
function
()
require
(
"expansions/script/c16199990"
)
end
,
function
()
require
(
"script/c16199990"
)
end
)
local
m
,
cm
=
rk
.
set
(
16114205
,
"FAIRY"
)
local
m
,
cm
=
rk
.
set
(
16114205
,
"FAIRY"
,
1
)
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
--synchro summon
--synchro summon
aux
.
AddSynchroProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsRace
,
RACE_FAIRY
),
aux
.
NonTuner
(
nil
),
1
)
aux
.
AddSynchroProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsRace
,
RACE_FAIRY
),
aux
.
NonTuner
(
nil
),
1
)
...
...
expansions/script/c16114206.lua
View file @
012809d8
--死仪仙精 贝拉多麦
--死仪仙精 贝拉多麦
xpcall
(
function
()
require
(
"expansions/script/c16199990"
)
end
,
function
()
require
(
"script/c16199990"
)
end
)
xpcall
(
function
()
require
(
"expansions/script/c16199990"
)
end
,
function
()
require
(
"script/c16199990"
)
end
)
local
m
,
cm
=
rk
.
set
(
16114206
,
"FAIRY"
)
local
m
,
cm
=
rk
.
set
(
16114206
,
"FAIRY"
,
1
)
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
c
:
SetSPSummonOnce
(
m
)
c
:
SetSPSummonOnce
(
m
)
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
...
@@ -56,6 +56,7 @@ function cm.tdtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -56,6 +56,7 @@ function cm.tdtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
cm
.
tdfilter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
cm
.
tdfilter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
cm
.
tdfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
cm
.
tdfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
Duel
.
Hint
(
24
,
0
,
aux
.
Stringid
(
m
,
5
))
local
g
=
Duel
.
SelectTarget
(
tp
,
cm
.
tdfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
2
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
cm
.
tdfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
2
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
...
...
expansions/script/c16114208.lua
View file @
012809d8
--恶魔仙精 贝拉冬娜
--恶魔仙精 贝拉冬娜
xpcall
(
function
()
require
(
"expansions/script/c16199990"
)
end
,
function
()
require
(
"script/c16199990"
)
end
)
xpcall
(
function
()
require
(
"expansions/script/c16199990"
)
end
,
function
()
require
(
"script/c16199990"
)
end
)
local
m
,
cm
=
rk
.
set
(
16114208
,
"FAIRY"
)
local
m
,
cm
=
rk
.
set
(
16114208
,
"FAIRY"
,
1
)
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
c
:
SetSPSummonOnce
(
m
)
c
:
SetSPSummonOnce
(
m
)
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
...
...
expansions/script/c16114209.lua
View file @
012809d8
--不死仙精 贝拉多阿涅
--不死仙精 贝拉多阿涅
xpcall
(
function
()
require
(
"expansions/script/c16199990"
)
end
,
function
()
require
(
"script/c16199990"
)
end
)
xpcall
(
function
()
require
(
"expansions/script/c16199990"
)
end
,
function
()
require
(
"script/c16199990"
)
end
)
local
m
,
cm
=
rk
.
set
(
16114209
,
"FAIRY"
)
local
m
,
cm
=
rk
.
set
(
16114209
,
"FAIRY"
,
1
)
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
c
:
SetSPSummonOnce
(
m
)
c
:
SetSPSummonOnce
(
m
)
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
...
...
expansions/script/c16114212.lua
View file @
012809d8
...
@@ -38,6 +38,7 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -38,6 +38,7 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
return
rk
.
check
(
c
,
"FAIRY"
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
,
nil
)
>=
2
then
return
rk
.
check
(
c
,
"FAIRY"
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
,
nil
)
>=
2
then
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
Hint
(
24
,
0
,
aux
.
Stringid
(
m
,
8
))
local
a
=
Duel
.
IsExistingMatchingCard
(
cm
.
spc
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
local
a
=
Duel
.
IsExistingMatchingCard
(
cm
.
spc
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
local
b
=
Duel
.
IsExistingMatchingCard
(
cm
.
thc
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
local
b
=
Duel
.
IsExistingMatchingCard
(
cm
.
thc
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
local
op
=
2
local
op
=
2
...
@@ -66,6 +67,8 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -66,6 +67,8 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Recover
(
tp
,
2000
,
REASON_EFFECT
)
Duel
.
Recover
(
tp
,
2000
,
REASON_EFFECT
)
end
end
return
return
else
Duel
.
Hint
(
24
,
0
,
aux
.
Stringid
(
m
,
7
))
end
end
Duel
.
ShuffleDeck
(
tp
)
Duel
.
ShuffleDeck
(
tp
)
end
end
\ No newline at end of file
expansions/script/c16114213.lua
View file @
012809d8
...
@@ -29,6 +29,7 @@ function cm.initial_effect(c)
...
@@ -29,6 +29,7 @@ function cm.initial_effect(c)
end
end
function
cm
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
aux
.
NegateAnyFilter
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
aux
.
NegateAnyFilter
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
Duel
.
Hint
(
24
,
0
,
aux
.
Stringid
(
m
,
8
))
end
end
function
cm
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c16114216.lua
View file @
012809d8
--仙精的生活
--仙精的生活
xpcall
(
function
()
require
(
"expansions/script/c16199990"
)
end
,
function
()
require
(
"script/c16199990"
)
end
)
xpcall
(
function
()
require
(
"expansions/script/c16199990"
)
end
,
function
()
require
(
"script/c16199990"
)
end
)
local
m
,
cm
=
rk
.
set
(
16114216
,
"FAIRY"
)
local
m
,
cm
=
rk
.
set
(
16114216
,
"FAIRY"
,
1
)
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c16114218.lua
View file @
012809d8
...
@@ -30,6 +30,7 @@ function cm.smc(e,c)
...
@@ -30,6 +30,7 @@ function cm.smc(e,c)
end
end
function
cm
.
rectg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
rectg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
24
,
0
,
aux
.
Stringid
(
m
,
8
))
Duel
.
SetTargetPlayer
(
tp
)
Duel
.
SetTargetPlayer
(
tp
)
Duel
.
SetTargetParam
(
500
)
Duel
.
SetTargetParam
(
500
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_RECOVER
,
nil
,
0
,
tp
,
500
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_RECOVER
,
nil
,
0
,
tp
,
500
)
...
...
expansions/script/c16114221.lua
View file @
012809d8
...
@@ -26,6 +26,7 @@ function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -26,6 +26,7 @@ function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
if
chk
==
0
then
return
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
1
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
1
and
Duel
.
IsExistingMatchingCard
(
cm
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
2
,
nil
,
e
,
tp
)
end
and
Duel
.
IsExistingMatchingCard
(
cm
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
2
,
nil
,
e
,
tp
)
end
Duel
.
Hint
(
24
,
0
,
aux
.
Stringid
(
m
,
8
))
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
2
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
2
,
tp
,
LOCATION_DECK
)
end
end
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c16114222.lua
View file @
012809d8
...
@@ -35,6 +35,7 @@ function cm.filter(c)
...
@@ -35,6 +35,7 @@ function cm.filter(c)
end
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
24
,
0
,
aux
.
Stringid
(
m
,
8
))
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_GRAVE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_GRAVE
)
end
end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
expansions/script/c16114224.lua
View file @
012809d8
--龙素融合
--龙素融合
xpcall
(
function
()
require
(
"expansions/script/c16199990"
)
end
,
function
()
require
(
"script/c16199990"
)
end
)
xpcall
(
function
()
require
(
"expansions/script/c16199990"
)
end
,
function
()
require
(
"script/c16199990"
)
end
)
local
m
,
cm
=
rk
.
set
(
16114224
)
local
m
,
cm
=
rk
.
set
(
16114224
,
nil
,
1
)
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c16114226.lua
View file @
012809d8
--奇迹之脑
--奇迹之脑
xpcall
(
function
()
require
(
"expansions/script/c16199990"
)
end
,
function
()
require
(
"script/c16199990"
)
end
)
xpcall
(
function
()
require
(
"expansions/script/c16199990"
)
end
,
function
()
require
(
"script/c16199990"
)
end
)
local
m
,
cm
=
rk
.
set
(
16114226
,
"FAIRY"
)
local
m
,
cm
=
rk
.
set
(
16114226
,
"FAIRY"
,
1
)
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c16114229.lua
View file @
012809d8
--叶鸣仙精 叶切
--叶鸣仙精 叶切
xpcall
(
function
()
require
(
"expansions/script/c16199990"
)
end
,
function
()
require
(
"script/c16199990"
)
end
)
xpcall
(
function
()
require
(
"expansions/script/c16199990"
)
end
,
function
()
require
(
"script/c16199990"
)
end
)
local
m
,
cm
=
rk
.
set
(
16114229
,
"FAIRY"
)
local
m
,
cm
=
rk
.
set
(
16114229
,
"FAIRY"
,
1
)
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
c
:
SetSPSummonOnce
(
m
)
c
:
SetSPSummonOnce
(
m
)
--xyz summon
--xyz summon
...
...
expansions/script/c16114230.lua
View file @
012809d8
--再生仙精 铃兰
--再生仙精 铃兰
xpcall
(
function
()
require
(
"expansions/script/c16199990"
)
end
,
function
()
require
(
"script/c16199990"
)
end
)
xpcall
(
function
()
require
(
"expansions/script/c16199990"
)
end
,
function
()
require
(
"script/c16199990"
)
end
)
local
m
,
cm
=
rk
.
set
(
16114230
,
"FAIRY"
)
local
m
,
cm
=
rk
.
set
(
16114230
,
"FAIRY"
,
1
)
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
--xyz summon
--xyz summon
aux
.
AddXyzProcedure
(
c
,
cm
.
check
,
4
,
2
,
cm
.
ovfilter
,
aux
.
Stringid
(
m
,
1
),
2
)
aux
.
AddXyzProcedure
(
c
,
cm
.
check
,
4
,
2
,
cm
.
ovfilter
,
aux
.
Stringid
(
m
,
1
),
2
)
...
...
expansions/script/c16114231.lua
View file @
012809d8
--雪仙精 莉琳
--雪仙精 莉琳
xpcall
(
function
()
require
(
"expansions/script/c16199990"
)
end
,
function
()
require
(
"script/c16199990"
)
end
)
xpcall
(
function
()
require
(
"expansions/script/c16199990"
)
end
,
function
()
require
(
"script/c16199990"
)
end
)
local
m
,
cm
=
rk
.
set
(
16114231
,
"FAIRY"
)
local
m
,
cm
=
rk
.
set
(
16114231
,
"FAIRY"
,
1
)
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
aux
.
AddLinkProcedure
(
c
,
cm
.
check
,
1
)
aux
.
AddLinkProcedure
(
c
,
cm
.
check
,
1
)
...
...
expansions/script/c16114232.lua
View file @
012809d8
--胜利仙精 普琳
--胜利仙精 普琳
xpcall
(
function
()
require
(
"expansions/script/c16199990"
)
end
,
function
()
require
(
"script/c16199990"
)
end
)
xpcall
(
function
()
require
(
"expansions/script/c16199990"
)
end
,
function
()
require
(
"script/c16199990"
)
end
)
local
m
,
cm
=
rk
.
set
(
16114232
,
"FAIRY"
)
local
m
,
cm
=
rk
.
set
(
16114232
,
"FAIRY"
,
1
)
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
16114224
)
aux
.
AddCodeList
(
c
,
16114224
)
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
...
...
expansions/script/c16114233.lua
View file @
012809d8
--幻想仙精 卡秋雅
--幻想仙精 卡秋雅
xpcall
(
function
()
require
(
"expansions/script/c16199990"
)
end
,
function
()
require
(
"script/c16199990"
)
end
)
xpcall
(
function
()
require
(
"expansions/script/c16199990"
)
end
,
function
()
require
(
"script/c16199990"
)
end
)
local
m
,
cm
=
rk
.
set
(
16114233
,
"FAIRY"
)
local
m
,
cm
=
rk
.
set
(
16114233
,
"FAIRY"
,
1
)
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
16114235
)
aux
.
AddCodeList
(
c
,
16114235
)
--Synchro summon
--Synchro summon
...
...
expansions/script/c16114234.lua
View file @
012809d8
--雪仙精 莉琳
--雪仙精 莉琳
xpcall
(
function
()
require
(
"expansions/script/c16199990"
)
end
,
function
()
require
(
"script/c16199990"
)
end
)
xpcall
(
function
()
require
(
"expansions/script/c16199990"
)
end
,
function
()
require
(
"script/c16199990"
)
end
)
local
m
,
cm
=
rk
.
set
(
16114234
,
"FAIRY"
)
local
m
,
cm
=
rk
.
set
(
16114234
,
"FAIRY"
,
1
)
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
aux
.
AddLinkProcedure
(
c
,
cm
.
check
,
1
)
aux
.
AddLinkProcedure
(
c
,
cm
.
check
,
1
)
...
...
expansions/script/c16120004.lua
View file @
012809d8
--圣灵龙王 威布洛斯·天堂
--圣灵龙王 威布洛斯·天堂
local
m
=
16120004
xpcall
(
function
()
require
(
"expansions/script/c16199990"
)
end
,
function
()
require
(
"script/c16199990"
)
end
)
local
cm
=
_G
[
"c"
..
m
]
local
m
,
cm
=
rk
.
set
(
16120004
,
nil
,
1
)
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
16120010
)
aux
.
AddCodeList
(
c
,
16120010
)
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
...
...
expansions/script/c16120006.lua
View file @
012809d8
--坚牢之翼 俄律西恩
--坚牢之翼 俄律西恩
local
m
=
16120006
xpcall
(
function
()
require
(
"expansions/script/c16199990"
)
end
,
function
()
require
(
"script/c16199990"
)
end
)
local
cm
=
_G
[
"c"
..
m
]
local
m
,
cm
=
rk
.
set
(
16120006
,
nil
,
1
)
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
16120010
)
aux
.
AddCodeList
(
c
,
16120010
)
--synchro summon
--synchro summon
...
...
expansions/script/c16120007.lua
View file @
012809d8
--圣歌之翼 昂多洛姆
--圣歌之翼 昂多洛姆
local
m
=
16120007
xpcall
(
function
()
require
(
"expansions/script/c16199990"
)
end
,
function
()
require
(
"script/c16199990"
)
end
)
local
cm
=
_G
[
"c"
..
m
]
local
m
,
cm
=
rk
.
set
(
16120007
,
nil
,
1
)
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
--ritual summon
--ritual summon
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c16120008.lua
View file @
012809d8
--苍天之翼 劳
--苍天之翼 劳
local
m
=
16120008
xpcall
(
function
()
require
(
"expansions/script/c16199990"
)
end
,
function
()
require
(
"script/c16199990"
)
end
)
local
cm
=
_G
[
"c"
..
m
]
local
m
,
cm
=
rk
.
set
(
16120008
,
nil
,
1
)
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
16120010
)
aux
.
AddCodeList
(
c
,
16120010
)
--special summon
--special summon
...
...
expansions/script/c16120009.lua
View file @
012809d8
--师团之先导者 希拉托斯忒·拉
--师团之先导者 希拉托斯忒·拉
local
m
=
16120009
xpcall
(
function
()
require
(
"expansions/script/c16199990"
)
end
,
function
()
require
(
"script/c16199990"
)
end
)
local
cm
=
_G
[
"c"
..
m
]
local
m
,
cm
=
rk
.
set
(
16120009
,
nil
,
1
)
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
--fusion material
--fusion material
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
...
...
expansions/script/c16120010.lua
View file @
012809d8
--龙素记号Xf
--龙素记号Xf
local
m
=
16120010
xpcall
(
function
()
require
(
"expansions/script/c16199990"
)
end
,
function
()
require
(
"script/c16199990"
)
end
)
local
cm
=
_G
[
"c"
..
m
]
local
m
,
cm
=
rk
.
set
(
16120010
,
nil
,
1
)
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c16120011.lua
View file @
012809d8
--源龙帝·乌托邦
--源龙帝·乌托邦
local
m
=
16120011
xpcall
(
function
()
require
(
"expansions/script/c16199990"
)
end
,
function
()
require
(
"script/c16199990"
)
end
)
local
cm
=
_G
[
"c"
..
m
]
local
m
,
cm
=
rk
.
set
(
16120011
,
nil
,
1
)
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
--link summon
--link summon
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
...
...
expansions/script/c16199990.lua
View file @
012809d8
if
not
pcall
(
function
()
require
(
"expansions/script/c16101100"
)
end
)
then
require
(
"script/c16101100"
)
end
if
not
pcall
(
function
()
require
(
"expansions/script/c16101100"
)
end
)
then
require
(
"script/c16101100"
)
end
rk
=
rk
or
{}
rk
=
rk
or
{}
function
rk
.
set
(
code
,
setcode
)
function
rk
.
set
(
code
,
setcode
,
rkflag
)
if
not
_G
[
"c"
..
code
]
then
_G
[
"c"
..
code
]
=
{}
if
not
_G
[
"c"
..
code
]
then
_G
[
"c"
..
code
]
=
{}
setmetatable
(
_G
[
"c"
..
code
],
Card
)
setmetatable
(
_G
[
"c"
..
code
],
Card
)
_G
[
"c"
..
code
].
__index
=
_G
[
"c"
..
code
]
_G
[
"c"
..
code
].
__index
=
_G
[
"c"
..
code
]
...
@@ -9,8 +9,56 @@ function rk.set(code,setcode)
...
@@ -9,8 +9,56 @@ function rk.set(code,setcode)
if
setcode
and
not
ccodem
.
rksetcode
then
if
setcode
and
not
ccodem
.
rksetcode
then
ccodem
.
rksetcode
=
setcode
ccodem
.
rksetcode
=
setcode
end
end
if
rkflag
==
1
then
ccodem
.
rkcheck
=
true
end
if
not
rk
.
Dalogcheck
then
rk
.
Dalogcheck
=
true
local
e1
=
Effect
.
GlobalEffect
()
e1
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EVENT_CHAINING
)
e1
:
SetCondition
(
rk
.
Dalogactcon
)
e1
:
SetOperation
(
rk
.
Dalogactop
)
Duel
.
RegisterEffect
(
e1
,
0
)
local
e2
=
Effect
.
GlobalEffect
()
e2
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e2
:
SetCondition
(
rk
.
Dalogscon
)
e2
:
SetOperation
(
rk
.
Dalogsop
)
Duel
.
RegisterEffect
(
e2
,
0
)
local
e3
=
e2
:
Clone
()
e3
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
Duel
.
RegisterEffect
(
e3
,
0
)
end
return
code
,
ccodem
return
code
,
ccodem
end
end
function
rk
.
rkcardcheck
(
c
)
return
c
.
rkcheck
==
true
end
function
rk
.
Dalogactcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
:
GetHandler
().
rkcheck
==
true
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
end
function
rk
.
Dalogactop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
og
=
eg
:
Filter
(
rk
.
rkcardcheck
,
nil
)
for
tc
in
aux
.
Next
(
og
)
do
local
codefordal
=
tc
:
GetOriginalCode
()
Duel
.
Hint
(
24
,
0
,
aux
.
Stringid
(
codefordal
,
9
))
Duel
.
Hint
(
24
,
0
,
aux
.
Stringid
(
codefordal
,
10
))
Duel
.
Hint
(
24
,
0
,
aux
.
Stringid
(
codefordal
,
11
))
end
end
function
rk
.
Dalogscon
(
e
,
tp
,
eg
)
return
eg
:
IsExists
(
rk
.
rkcardcheck
,
1
,
nil
)
end
function
rk
.
Dalogsop
(
e
,
tp
,
eg
)
local
og
=
eg
:
Filter
(
rk
.
rkcardcheck
,
nil
)
for
tc
in
aux
.
Next
(
og
)
do
local
codefordal
=
tc
:
GetOriginalCode
()
Duel
.
Hint
(
24
,
0
,
aux
.
Stringid
(
codefordal
,
12
))
Duel
.
Hint
(
24
,
0
,
aux
.
Stringid
(
codefordal
,
13
))
Duel
.
Hint
(
24
,
0
,
aux
.
Stringid
(
codefordal
,
14
))
end
end
function
rk
.
check
(
c
,
str
)
function
rk
.
check
(
c
,
str
)
local
substr
=
c
.
rksetcode
local
substr
=
c
.
rksetcode
if
substr
==
nil
then
return
false
end
if
substr
==
nil
then
return
false
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