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
321e295f
Commit
321e295f
authored
Apr 13, 2025
by
Huangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lflist update
parent
446d1a57
Pipeline
#34998
passed with stage
in 31 minutes and 15 seconds
Changes
13
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
47 additions
and
437 deletions
+47
-437
expansions/FiNALE.cdb
expansions/FiNALE.cdb
+0
-0
expansions/lflist.conf
expansions/lflist.conf
+47
-16
expansions/pics/16400083.jpg
expansions/pics/16400083.jpg
+0
-0
expansions/pics/16400084.jpg
expansions/pics/16400084.jpg
+0
-0
expansions/pics/16400086.jpg
expansions/pics/16400086.jpg
+0
-0
expansions/pics/16400246.jpg
expansions/pics/16400246.jpg
+0
-0
expansions/pics/16400293.jpg
expansions/pics/16400293.jpg
+0
-0
expansions/pics/79100210.jpg
expansions/pics/79100210.jpg
+0
-0
expansions/script/c16400083.lua
expansions/script/c16400083.lua
+0
-73
expansions/script/c16400084.lua
expansions/script/c16400084.lua
+0
-64
expansions/script/c16400086.lua
expansions/script/c16400086.lua
+0
-82
expansions/script/c16400293.lua
expansions/script/c16400293.lua
+0
-93
expansions/script/c79100210.lua
expansions/script/c79100210.lua
+0
-109
No files found.
expansions/FiNALE.cdb
View file @
321e295f
No preview for this file type
expansions/lflist.conf
View file @
321e295f
...
...
@@ -186,7 +186,6 @@
10220045
0
--骸骨猎杀者
10220062
1
--
SAO
S
级食材 杂烩兔肉
10220071
1
--
SAO
吟游歌姬 尤娜
10221015
0
--
ALO
镀金的勇士 桐人
10222013
1
--
GGO
徘徊于内心的恐惧
10222035
1
--
GGO
抛弃自卑 莲
#109
...
...
@@ -336,7 +335,7 @@
12400025
0
--剪技的罪人·玛伽崎耶
12400027
1
--沉溺的罪人·赛菲
12400032
1
--结盟的罪人·艾尔拉德
12400039
0
--激愤的副队长
12400039
1
--激愤的副队长
12400044
0
--破式执行者·沙摩尔
12400047
0
--噬暗巨蝠
12400053
0
--轮回统治者·泽勒尔
...
...
@@ -809,7 +808,7 @@
18017509
1
--镜子小蓝
#185
18500001
1
--炸弹猫
18586008
0
--绫濑亚梦·潮汐
18586008
1
--绫濑亚梦·潮汐
#187
18700036
2
--血罪灵骸·雾渊哀歌姬
18700040
2
--奇物-
89
天工人偶
...
...
@@ -829,7 +828,7 @@
18700173
0
--奇物-
9
星之彩
18700194
0
--奇物-
55
神秘学教典仪
18700197
0
--神之眷属-<
I
>-风暴编织者
18700214
0
--沧遗万世之群 世末·永落鲸
18700214
1
--沧遗万世之群 世末·永落鲸
18700238
0
--奇物-
27
向深而去
18700247
0
--神之眷属-无尽虚空
18700296
0
--天卷慧庭-
56
琉璃心
...
...
@@ -840,7 +839,7 @@
18700408
0
--奇物-
44
引灯重明
18700556
0
--封藏此刻
18700195
0
--升阶魔法-超时空巡征追猎
18700165
0
--祈星魔女 夏璃
18700165
1
--祈星魔女 夏璃
#190
19023163
0
--渊海·禁域
#192
...
...
@@ -906,6 +905,9 @@
21185888
0
--惊喜小蝙蝠
21190039
2
--璐璐过年要暴富!
21185665
0
--
H
:
P
自闭宅
21185868
0
--超熊力霸王
21185893
0
--光蚀天蛾
21185895
0
--驯龟仙子
#215
21520061
1
--玲珑法师-夕雾
21520066
1
--玲珑法师-鸢尾
...
...
@@ -987,6 +989,20 @@
22600028
0
--锚虫洞 穿越幻象
22600030
0
--锚世界 原质
22600107
0
--游戏神 特图
22600250
0
--苏生苏生
22600251
0
--苏生增援
22600263
0
--超量苏生
22600271
0
--连接苏生
22600260
1
--灵魂苏生
22600261
1
--融合苏生
22600262
1
--仪式苏生
22600264
1
--二重苏生
22600265
1
--特殊苏生
22600266
1
--通常苏生
22600267
1
--同盟苏生
22600268
1
--调整苏生
22600269
1
--同调苏生
22600270
1
--反转苏生
#230
23000015
1
--血裔 巫师学徒 夜刃
23000025
1
--血裔 小欧
...
...
@@ -1070,9 +1086,9 @@
30553309
1
--辉刻花舞 玫歌
30556808
1
--回应朝霞的呼唤
#309
30900000
0
--时空龙·刻神指令龙
30900023
0
--计时器幼龙
30900024
0
--时空龙·命运驾驭龙
30900000
1
--时空龙·刻神指令龙
30900023
1
--计时器幼龙
30900024
1
--时空龙·命运驾驭龙
30900407
1
--盖塔·出击
30900516
1
--元素晶石·炎
30900520
1
--元素精灵的清净之盾
...
...
@@ -1116,6 +1132,7 @@
31710009
1
--暴风雨 屯兵所
31720003
1
--
GA
.
2
BTR
-
ZD
锉刀
31799999
1
--这卡怎么样?
31799985
1
--维和者
#332
33200251
1
--机略纵横 鲁子敬
33200907
1
--寒霜灵兽 玛狃拉
...
...
@@ -1552,6 +1569,11 @@
36700245
1
--乱炖龙仔-杰庞顿
36700250
1
--乱炖龙仔-猛烈凶魇
36700253
1
--乱炖龙仔-邪恶双头龙
36700348
0
--康斯坦丁 火之晨曦
36700330
0
--言灵 镰鼬
36700342
1
--路鸣泽 火之晨曦
36700328
1
--与魔鬼的契约
36700346
1
--恺撒·加图索
#372
37200036
0
--幽境::种
#375
...
...
@@ -1754,8 +1776,16 @@
52301020
0
--☆☆☆ 兔兔
52301025
0
--☆☆☆ 狗狗
52303018
0
--炼金术 贤者之石
52309015
0
--大火陨术·灼破空洞
52309015
1
--大火陨术·灼破空洞
52309020
0
--吞噬者
52303007
0
--命定的魅魔女王 阿露艾露玛
52303001
0
--命定的决斗者 希尔薇
52303000
0
--命定的决斗者 星野游天
52303002
0
--命定的决斗者 方市
52303011
0
--孩子们,我从地狱回来了
52303013
0
--命定的推理 真光
52303014
0
--命定的苏醒
52303016
1
--命定的决斗者 阿露艾露玛
#527
52700103
1
--百群骑士 血腥独角仙
52700106
1
--百群骑士 格拉法
...
...
@@ -2254,6 +2284,8 @@
79100520
0
--爆裂星云
79100630
1
--愿夜空永远平静?
79100240
0
--绯红编年史的高塔魂灵
79100710
1
--悖论扭曲空间
79100700
1
--落樱谛
#792
79250007
1
--异想体 小喙
79250011
1
--异想体 波迪
...
...
@@ -2297,13 +2329,12 @@
81902107
1
--
TC
.
106
赛之河原的弃子 戎璎花
81902112
1
--
TC
.
111
孤立无援的造形神 埴安神袿姬
81902115
0
--
TC
.
114
强运招财的大吉猫咪 豪德寺三花
81902118
0
--
TC
.
117
泥淤中诞生的美玉 玉造魅须丸
81902119
0
--
TC
.
118
玩弄人心的管狐 菅牧典
81902120
0
--
TC
.
119
妖怪之山满天星 饭纲丸龙
81902121
0
--
TC
.
120
虹光闪耀的市场 天弓千亦
81902123
0
--
TC
.
122
鲵吞亭的老板娘 奥野田美宵
81902118
1
--
TC
.
117
泥淤中诞生的美玉 玉造魅须丸
81902119
1
--
TC
.
118
玩弄人心的管狐 菅牧典
81902120
1
--
TC
.
119
妖怪之山满天星 饭纲丸龙
81902121
1
--
TC
.
120
虹光闪耀的市场 天弓千亦
81902130
0
--
TC
.
129
悲催的廉价士兵 冷仙
81902131
0
--
TC
.
130
连接山与海的月之公主 绵月丰姬
81902131
1
--
TC
.
130
连接山与海的月之公主 绵月丰姬
81903100
1
--未确认幻想少女
81905005
1
--八云友·侍 丁礼田舞&尔子田里乃
81905013
0
--八云友 西行寺幽幽子
...
...
@@ -2432,7 +2463,7 @@
98628109
0
--承载万物的一滴
98628114
0
--超级沼气前辈 野兽形态
98630701
1
--萝莉控诱捕器
98639500
0
--被打扰的冬眠
98639500
1
--被打扰的冬眠
98657312
1
--库拉丽丝-心配
98662200
1
--神明吞噬者 寰宇之灾厄
98662203
0
--神之仆从·西格纳斯
...
...
expansions/pics/16400083.jpg
deleted
100644 → 0
View file @
446d1a57
45.7 KB
expansions/pics/16400084.jpg
deleted
100644 → 0
View file @
446d1a57
47.1 KB
expansions/pics/16400086.jpg
deleted
100644 → 0
View file @
446d1a57
49.3 KB
expansions/pics/16400246.jpg
deleted
100644 → 0
View file @
446d1a57
103 KB
expansions/pics/16400293.jpg
deleted
100644 → 0
View file @
446d1a57
143 KB
expansions/pics/79100210.jpg
deleted
100644 → 0
View file @
446d1a57
101 KB
expansions/script/c16400083.lua
deleted
100644 → 0
View file @
446d1a57
--理想的聚现-Eimya
local
m
=
16400083
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c16199990.lua"
)
function
cm
.
initial_effect
(
c
)
--search
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCountLimit
(
1
,
m
)
e1
:
SetCost
(
cm
.
thcost
)
e1
:
SetTarget
(
cm
.
thtg
)
e1
:
SetOperation
(
cm
.
thop
)
c
:
RegisterEffect
(
e1
)
--togy
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
11069680
,
1
))
e2
:
SetCategory
(
CATEGORY_TOGRAVE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_BE_MATERIAL
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetCountLimit
(
1
,
m
+
100
)
e2
:
SetCondition
(
cm
.
tgcon
)
e2
:
SetTarget
(
cm
.
tgtg
)
e2
:
SetOperation
(
cm
.
tgop
)
c
:
RegisterEffect
(
e2
)
end
function
cm
.
dfilter
(
c
)
return
c
:
IsDiscardable
()
end
function
cm
.
thcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsDiscardable
()
and
Duel
.
IsExistingMatchingCard
(
cm
.
dfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
e
:
GetHandler
())
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DISCARD
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
dfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
e
:
GetHandler
())
g
:
AddCard
(
e
:
GetHandler
())
Duel
.
SendtoGrave
(
g
,
REASON_COST
+
REASON_DISCARD
)
end
function
cm
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0xce3
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
and
not
c
:
IsCode
(
m
)
end
function
cm
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
cm
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
function
cm
.
tgcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_GRAVE
)
and
r
==
REASON_LINK
end
function
cm
.
tgfilter
(
c
,
e
,
tp
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToGrave
()
and
c
:
IsSetCard
(
0xce3
)
and
not
c
:
IsCode
(
m
)
end
function
cm
.
tgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
tgfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
cm
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
tgfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
end
end
\ No newline at end of file
expansions/script/c16400084.lua
deleted
100644 → 0
View file @
446d1a57
--理想的实现-Eimya
local
m
=
16400084
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
--search
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCountLimit
(
1
,
m
)
e1
:
SetCost
(
cm
.
cost
)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
operation
)
c
:
RegisterEffect
(
e1
)
--to hand
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_TODECK
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetCountLimit
(
1
,
m
+
100
)
e2
:
SetCondition
(
cm
.
tdcon
)
e2
:
SetTarget
(
cm
.
tdtg
)
e2
:
SetOperation
(
cm
.
tdop
)
c
:
RegisterEffect
(
e2
)
end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
c
:
IsAbleToRemoveAsCost
()
end
Duel
.
Remove
(
c
,
POS_FACEUP
,
REASON_COST
)
end
function
cm
.
filter
(
c
)
return
c
:
IsSetCard
(
0x1ce0
)
and
c
:
IsAbleToHand
()
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
end
function
cm
.
tdcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_DECK
)
end
function
cm
.
tdfilter
(
c
)
return
c
:
IsSetCard
(
0xce3
)
and
c
:
IsAbleToDeck
()
and
c
:
IsType
(
TYPE_MONSTER
)
end
function
cm
.
tdtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
tdfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
nil
,
1
,
tp
,
LOCATION_GRAVE
)
end
function
cm
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
tdfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
4
,
nil
)
if
g
:
GetCount
()
then
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_EFFECT
)
end
end
\ No newline at end of file
expansions/script/c16400086.lua
deleted
100644 → 0
View file @
446d1a57
--虚无的剑制-Eimya
local
m
=
16400086
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c16199990.lua"
)
function
cm
.
initial_effect
(
c
)
--link summon
aux
.
AddLinkProcedure
(
c
,
cm
.
filter
,
1
)
c
:
EnableReviveLimit
()
--search
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCountLimit
(
1
,
m
)
e1
:
SetCondition
(
cm
.
spcon
)
e1
:
SetTarget
(
cm
.
sptg
)
e1
:
SetOperation
(
cm
.
spop
)
c
:
RegisterEffect
(
e1
)
--negate
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e2
:
SetCategory
(
CATEGORY_NEGATE
+
CATEGORY_REMOVE
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DAMAGE_CAL
)
e2
:
SetCode
(
EVENT_CHAINING
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
,
m
+
100
)
e2
:
SetCondition
(
cm
.
negcon
)
e2
:
SetCost
(
cm
.
negcost
)
e2
:
SetTarget
(
cm
.
negtg
)
e2
:
SetOperation
(
cm
.
negop
)
c
:
RegisterEffect
(
e2
)
end
function
cm
.
filter
(
c
)
return
c
:
IsSetCard
(
0xce3
)
and
c
:
IsLevel
(
4
)
end
function
cm
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_LINK
)
end
function
cm
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0xce3
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsCode
(
m
-
3
)
end
function
cm
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
spfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
,
0
)
>
0
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
,
0
)
<
1
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
cm
.
spfilter
),
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
local
tc
=
g
:
GetFirst
()
if
not
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
return
end
end
end
function
cm
.
cfilter
(
c
)
return
c
:
IsSetCard
(
0xce3
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToGraveAsCost
()
end
function
cm
.
negcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
not
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
Duel
.
IsChainNegatable
(
ev
)
end
function
cm
.
negcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
cfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
ni1
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
end
function
cm
.
negtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
aux
.
nbcon
(
tp
,
re
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_NEGATE
,
eg
,
1
,
0
,
0
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
eg
,
1
,
0
,
0
)
end
end
function
cm
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Remove
(
eg
,
POS_FACEUP
,
REASON_EFFECT
)
end
end
\ No newline at end of file
expansions/script/c16400293.lua
deleted
100644 → 0
View file @
446d1a57
--光之战士
function
c16400293
.
initial_effect
(
c
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_EQUIP
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_CONTINUOUS_TARGET
)
e1
:
SetTarget
(
c16400293
.
target
)
e1
:
SetOperation
(
c16400293
.
operation
)
c
:
RegisterEffect
(
e1
)
--Activate(effect)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
4212317
,
2
))
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetCode
(
EVENT_TO_GRAVE
)
e3
:
SetCondition
(
c16400293
.
con
)
e3
:
SetTarget
(
c16400293
.
target
)
e3
:
SetOperation
(
c16400293
.
operation
)
c
:
RegisterEffect
(
e3
)
--equip limit
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
)
e4
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e4
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e4
:
SetValue
(
c16400293
.
eqlimit
)
c
:
RegisterEffect
(
e4
)
end
function
c16400293
.
eqlimit
(
e
,
c
)
return
c
:
IsCode
(
16400292
)
end
function
c16400293
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
16400292
)
end
function
c16400293
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c16400293
.
filter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c16400293
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EQUIP
)
Duel
.
SelectTarget
(
tp
,
c16400293
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_EQUIP
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
function
c16400293
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
e
:
GetHandler
():
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
then
if
Duel
.
Equip
(
tp
,
e
:
GetHandler
(),
tc
)
~=
0
then
--extra attack
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e2
:
SetCode
(
EVENT_BATTLED
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetCountLimit
(
1
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCondition
(
c16400293
.
atkcon
)
e2
:
SetTarget
(
c16400293
.
atktg
)
e2
:
SetOperation
(
c16400293
.
atkop
)
tc
:
RegisterEffect
(
e2
)
end
end
end
function
c16400293
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ph
=
Duel
.
GetCurrentPhase
()
return
not
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
end
function
c16400293
.
sfilter
(
c
)
return
c
:
GetType
()
==
TYPE_SPELL
+
TYPE_CONTINUOUS
end
function
c16400293
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetAttacker
()
==
e
:
GetHandler
()
and
Duel
.
IsExistingMatchingCard
(
c16400293
.
sfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
and
Duel
.
GetFlagEffect
(
tp
,
16400293
)
==
0
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
nil
,
1
,
tp
,
LOCATION_ONFIELD
)
Duel
.
RegisterFlagEffect
(
tp
,
16400293
,
RESET_CHAIN
,
0
,
1
)
end
function
c16400293
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c16400293
.
sfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
==
0
then
return
end
if
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
~=
0
then
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_EXTRA_ATTACK
)
e1
:
SetValue
(
Card
.
GetAttackedCount
(
c
))
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
end
end
end
function
c16400293
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_DECK
)
end
\ No newline at end of file
expansions/script/c79100210.lua
deleted
100644 → 0
View file @
446d1a57
--绯红编年史的源欲之翼
local
m
=
79100210
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
--spsummon condition
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
aux
.
ritlimit
)
c
:
RegisterEffect
(
e1
)
--get control
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_DISABLE
+
CATEGORY_CONTROL
)
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetCountLimit
(
1
,
m
)
e2
:
SetHintTiming
(
0
,
TIMING_END_PHASE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCondition
(
cm
.
gccon
)
e2
:
SetTarget
(
cm
.
gctg
)
e2
:
SetOperation
(
cm
.
gcop
)
c
:
RegisterEffect
(
e2
)
--to deck
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
e3
:
SetCategory
(
CATEGORY_TODECK
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCountLimit
(
1
,
m
+
1
)
e3
:
SetTarget
(
cm
.
tdtg
)
e3
:
SetOperation
(
cm
.
tdop
)
c
:
RegisterEffect
(
e3
)
--get control2
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetCategory
(
CATEGORY_CONTROL
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetCode
(
EVENT_TO_GRAVE
)
e4
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CARD_TARGET
)
e4
:
SetCountLimit
(
1
,
m
+
2
)
e4
:
SetTarget
(
cm
.
gctg2
)
e4
:
SetOperation
(
cm
.
gcop2
)
c
:
RegisterEffect
(
e4
)
end
function
cm
.
gccon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
~=
tp
end
function
cm
.
gctg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
aux
.
NegateEffectMonsterFilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DISABLE
,
nil
,
1
,
0
,
0
)
end
function
cm
.
gcop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
then
exc
=
e
:
GetHandler
()
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DISABLE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NegateEffectMonsterFilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
local
tc
=
g
:
GetFirst
()
if
tc
and
not
tc
:
IsImmuneToEffect
(
e
)
then
Duel
.
NegateRelatedChain
(
tc
,
RESET_TURN_SET
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetCode
(
EFFECT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetValue
(
RESET_TURN_SET
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e2
)
Duel
.
AdjustInstantly
(
tc
)
Duel
.
BreakEffect
()
local
tc2
=
g
:
GetFirst
()
if
tc2
:
IsFaceup
()
and
tc2
:
IsControlerCanBeChanged
()
then
Duel
.
GetControl
(
tc2
,
tp
)
end
end
end
function
cm
.
tdfilter
(
c
)
return
(
c
:
IsFaceup
()
or
c
:
IsLocation
(
LOCATION_GRAVE
))
and
c
:
IsSetCard
(
0xa10
)
and
c
:
IsAbleToDeck
()
end
function
cm
.
tdtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
tdfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
nil
,
1
,
0
,
0
)
end
function
cm
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
cm
.
tdfilter
),
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
5
,
nil
)
if
#
g
>
0
then
Duel
.
SendtoDeck
(
g
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
end
end
function
cm
.
gctg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsControlerCanBeChanged
()
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsControlerCanBeChanged
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONTROL
)
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsControlerCanBeChanged
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_CONTROL
,
g
,
1
,
0
,
0
)
end
function
cm
.
gcop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
GetControl
(
tc
,
tp
,
PHASE_END
,
1
)
end
end
\ No newline at end of file
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