Commit f6292ba1 authored by Huangnan's avatar Huangnan

Merge branch '2025.12.10' into 'master'

2025.12.10

See merge request !53
parents c5137550 6b372bbb
Pipeline #41935 failed with stages
in 6 minutes and 48 seconds
......@@ -5,8 +5,8 @@ stages:
variables:
GIT_DEPTH: "1"
LAST_UPDATE_DATE: "2025.9.29"
CURRENT_UPDATE_DATE: "2025.9.29"
LAST_UPDATE_DATE: "2025.12.10"
CURRENT_UPDATE_DATE: "2025.12.10"
redtext:
stage: check
......
#created by ...
#main
1200100
1200105
1200110
1200115
1200120
1200125
1200130
1200160
3435002
3435003
3435004
3435005
3435006
3435007
3435008
3435009
3435010
3435015
3435016
11602000
11602005
11602010
11602015
11602020
11602025
11602030
11602035
11602045
11602170
11602175
11602180
11602185
11602190
11602195
11602200
11602205
11602210
11602215
11602220
11602225
11602230
11602280
11602285
11602290
#extra
1200135
1200140
1200145
1200150
1200155
1200165
1200170
1200175
1200180
1200185
1200190
3435011
3435012
3435013
3435014
!side
3435017
3435018
11602235
11602240
11602245
11602250
11602255
11602260
11602265
11602270
11602275
11602295
11602300
11605010
11605030
#created by ...
#main
11605075
11605105
11605110
11902320
11902330
11902340
11902350
11902360
11902370
11902380
11902390
11902400
11902410
11902420
11902430
11902440
11902450
11902460
12400166
12400172
12859000
12859005
12866905
16400540
16400541
16400550
16400551
16401160
16401161
16401165
16401166
16401625
16401626
16401635
16401636
16402075
16402076
16402080
16402081
16402085
16402086
16402090
16402091
16402095
#extra
12400170
12802085
16400565
16400566
16400655
16400656
16402110
16402111
16402115
16402116
18033601
18033606
18033607
18033608
18033609
!side
16402096
16402100
16402101
16402105
16402106
16402120
16402121
16402125
16402126
16402130
16402131
18033602
18033603
18033604
18033605
#created by ...
#main
32500087
32500090
32500094
32500097
32500103
32500107
32500124
32500125
32500127
32500128
32500129
32500130
32500131
32500133
32500134
32500135
32500136
32500140
32500142
32500143
32500145
32500147
32500148
32500152
32500158
32500160
32500161
32590006
32590009
32590010
32590011
33201701
33201702
33201703
33201704
33201705
33201707
47310305
47310311
47330706
47330709
47330710
47330713
47330718
#extra
18033610
32500098
32500101
32500102
32500104
32500123
32500132
32500137
32500138
32500139
32500141
32500144
32500146
32500149
32500150
!side
32500159
32500162
32500163
33201706
33201708
33201709
33201710
47310312
47330723
61200403
62624410
62624520
62624540
62625120
62625130
#created by ...
#main
62699115
62699390
63900000
63900101
63900102
63923000
63923001
63923002
63923003
63923004
63923005
63923006
63923007
63923009
63923010
63923011
63923012
63923013
63923014
63923015
63923016
63923017
63923018
63923019
63923020
63923021
63923022
63923023
63923024
63923025
63923026
63923027
63923028
63923029
63923030
63923031
63923032
63923033
63923034
63923035
63923036
63923037
63923038
63923039
#extra
62699110
63900100
81902043
82001240
82001275
82001276
82001285
82001325
82001333
93050004
93050005
93050006
93050007
93050008
93050009
!side
63923040
63990000
63990001
63990002
63990003
63990004
63990005
63990006
63990007
63990008
63990009
63990010
63990011
63990012
63990013
#created by ...
#main
63990014
63990015
63990016
63990017
63990018
63990019
63990020
63990021
63990022
63990023
63990024
63990025
63990026
63990027
63990028
63990029
63990030
63990031
63990032
63990033
63990034
63990035
63990036
81901001
82001257
82001260
82001263
82001265
82001267
82001269
82001270
82001273
82001279
82001283
82001286
82001289
82001293
82001295
82001297
82001299
82001300
82001303
82001305
82001310
#extra
!side
82001313
82001315
82001317
82001318
82001320
82001323
82001335
93050000
93050001
93050002
93050003
#created by ...
#main
1200100
1200105
1200120
1200125
1234567
4212300
11602000
11602025
11602030
11602180
11602195
11602285
11602300
11605075
12859000
12866615
16322035
16322040
18018315
18029207
18029702
18029714
18029717
18029718
18029727
18029728
32590006
32590009
32590010
32590011
33701443
47310201
47310202
47310203
47330709
47330712
60007181
62624520
62624540
62625130
81901001
82001257
82001260
82001263
#extra
1200150
1200155
11602245
11602270
12008018
12802085
18018008
18018010
18018012
18018013
18018205
18018309
18018809
18020058
18020059
!side
18020060
18029705
18029706
18029707
18029708
18029709
18029710
18029711
18029712
18029719
18029720
18029726
18029729
18030305
18030310
#created by ...
#main
82001283
82001286
82001289
82001293
82001295
82001297
82001299
82001303
82001313
82001315
82001317
12866665
12062011
33700423
47330706
47330711
47330713
#extra
18030617
18033606
18033608
18700870
23100088
33501205
93050104
47330723
62625120
82001240
82001275
82001285
82001333
93050008
!side
No preview for this file type
......@@ -71,7 +71,14 @@
01200045 1 --文艺公司-传播途径-空气传播
01200050 1 --文艺公司-传播途径-水源传播
01234568 0 --破灭召唤之剑
01234567 0 --召唤保护装置
01257000 0 --轨道标枪
01200100 0 --传国玉玺
01200105 0 --地之精粹
01200120 0 --气之精粹
01200125 0 --酒之精粹
01200150 0 --Ukkoskivi 雷石
01200155 0 --Kakkakikkare 便石
#013
01300901 1 --栖夜莉丝
01300910 2 --白昼梦
......@@ -119,6 +126,7 @@
04295012 1 --宫水静香·偷懒小妙招
04295017 1 --宫水静香·庆典时刻
04231028 0 --喷射彩虹的神弓-苍穹伊莉雅
04212300 0 --箱庭世界的吸血鬼女仆
#050
05012627 0 --Anti-Art-Attachment
......@@ -362,7 +370,16 @@
11600196 0 --雷与永恒
11600560 1 --纳塔 茜特菈莉
11605000 0 --钻石战神
11605075 0 --田小班
11602000 0 --星穹列车的领航员 姬子
11602025 0 --遨游星间的开拓者 星/毁灭
11602030 0 --来自未知的无名客 瓦尔特
11602180 0 --罗浮仙舟的卜者 青雀
11602195 0 --罗浮仙舟的判官 雪衣
11602245 0 --罗浮仙舟的太卜 符玄
11602270 0 --罗浮仙舟的忘归人 停云
11602285 0 --囚人返魂
11602300 0 --巡争逐星
#11605075 0 --田小班
#118
11800003 1 --『创造物』 绚烂
11800014 1 --『神秘守门人』丝碧涅
......@@ -536,6 +553,8 @@
12045030 0 --魔女都市的精灵 提亚
12066024 0 --天境浮空城
12059010 0 --三叶天使·起舞
12008018 0 --漆黑的质点 丘依儿
12062011 0 --原初龙 至高无上
#122
12200010 1 --食物语 鲷鱼烧
......@@ -627,7 +646,7 @@
12866605 2 --电锯人
12847702 1 --绝对毁灭的阎炮
12866610 1 --血之恶魔
12866615 1 --对魔特异4课 早川秋
12866615 0 --对魔特异4课 早川秋
12866630 1 --未来恶魔
12866685 1 --对魔特异4课 岸边
12866740 2 --电锯恶魔
......@@ -653,7 +672,9 @@
12802070 1 --梦中之日铜罗花金龟
12802035 2 --梦中的甘言
12802065 2 --梦中之大黄蜂
12866665 0 --武器人 蕾塞
12866665 1 --武器人 蕾塞
12859000 1 --宇宙姬的嬉戏
12802085 1 --梦中之蓝紫锦斑蛾
#130
#132
......@@ -893,13 +914,13 @@
16362068 2 --英雄传说 皇帝的意志
16362069 2 --英雄传说 神话
16362070 2 --英雄传说 复仇者
16322040 2 --山菊·花信
16349310 1 --中坚骑士 骑士兽
16322035 1 --玉桂·花信
16368160 1 --光之数码兽 神龙兽·X抗体
16349300 0 --后备骑士 笼手兽
16300005 1 --Legend-Arms 玄羽
16349013 1 --完美典范 究极骑士颅骨
16322035 0 --玉桂·花信
16322040 0 --山菊·花信
#164
# 鲁鲁修系列
# 杂系列
......@@ -1201,6 +1222,44 @@
18018205 0 --兜武士海神大兜虫
18033403 0 --八毒猎手·黑粗尾蝎
18033401 0 --六毒猎手·入侵红火蚁
18029702 0 --早乙女志乃
18029718 0 --早乙女志乃·睡衣
18029717 0 --白雪恋·睡衣
18029720 0 --早乙女志乃@喂食
18029705 0 --早乙女志乃@教室
18029706 0 --早乙女志乃@泳池
18029707 0 --早乙女志乃@酒店
18029708 0 --早乙女志乃@公园
18029712 0 --白雪恋@公园
18029711 0 --白雪恋@酒店
18029710 0 --白雪恋@泳池
18029709 0 --白雪恋@教室
18029719 0 --白雪恋@喂食
18029714 0 --早乙女志乃@开房
18029726 0 --早乙女志乃×白雪恋·护士服
18029729 0 --早乙女志乃×白雪恋·泳装
18029728 0 --早乙女志乃·情人节
18029727 0 --白雪恋·情人节
18030305 0 --我流·凤凰双燕冲
18030310 0 --METANOIA
18020058 0 --龙姬咆哮-D-安藤创世
18020060 0 --龙姬咆哮-D-板场弓美
18020059 0 --龙姬咆哮-D-寺岛诗织
18018809 0 --珍玉馔 月牙白
18029207 0 --突击莉莉-枫·J·努韦尔
18018010 0 --心阴果 怒火
18018008 0 --心阴果 忿火
18018013 0 --心阴果 忌火
18018012 0 --心阴果 怨火
18018309 0 --狱水耳齿 巨齿
18018315 0 --狱水黄昏 帝王
18029713 1 --白雪恋@开房
18029723 1 --早乙女志乃×白雪恋·泳装
18029703 1 --白雪恋
18029724 1 --白雪恋·护士服
18033608 0 --三角初华「笼中歌者」
18033606 0 --丰川祥子「旋律的主人」
18030617 0 --剑舞姬虚之型
#185
18500001 1 --炸弹猫
18586008 1 --绫濑亚梦·潮汐
......@@ -1243,7 +1302,6 @@
18700965 0 --黑月执事 亚弗洛蒙
18701072 0 --死亡 安息 告魂修女
18700137 0 --奇物-121 净泉碧枝
#18701078 1 --阈尚超市<员工> 笔先
18700205 0 --千面溯时·奈亚拉托提普
18700225 0 --溯猎逐时·乌波修格斯
......@@ -1270,6 +1328,7 @@
18700091 1 --朔月黑塔
18700548 1 --雾海寂渊·白喰若璃
18700142 0 --邺都无常·渡阳司命 墨笙稥
18700870 0 --尘篆故世·噬鄂龙
#190
19023163 0 --渊海·禁域
#192
......@@ -1486,6 +1545,7 @@
23100021 1 --轨迹-塞莉丝·奥提希亚
23100033 0 --司书-Netzach
23100164 0 --亡蝶葬仪·安吉拉
23100088 0 --特战人形-卡尔卡诺M91_38
#234
23410001 0 --琅琊子
23410019 0 --奈何桥头
......@@ -1646,6 +1706,10 @@
32500155 0 --御影七术 长寿面精灵
32500156 0 --逸闻-定影奇闻
32500157 0 --黎明照耀瞭望塔
32590006 0 --重装机甲 阿拉哈托
32590009 0 --最后的馈赠
32590010 0 --不灭的阿拉哈托
32590011 0 --再度相遇
#332
33200251 1 --机略纵横 鲁子敬
......@@ -1907,6 +1971,7 @@
33503509 0 --Ham编码启动机器
33500008 0 --珈百璃 天使降临
33500215 0 --萨塔妮亚·天使与恶魔的夏日决胜
33501205 0 --金色暗影 和风魅彩
#337
33700001 0 --上级Protoform 乞力马扎罗
......@@ -2038,6 +2103,8 @@
33701377 0 --沙包花
33720336 0 --苦旅
33701398 0 --空之幻影
33701443 0 --踏破新世界 ~平海之卷~
33700423 0 --早熟的龙之子 蜜尔莉芙
#339
33910501 0 --蜃流使 安菲特
......@@ -2293,10 +2360,17 @@
47310510 0 --大荒星陨
47380106 1 --摩星跃动 缓存之萨图恩
47330612 0 --花标本少女 -黑百合-
47330709 1 --高中出道辣妹 佐伯米莉亚
#47330709 1 --高中出道辣妹 佐伯米莉亚
47330712 1 --来自过去的狙击手 黑部奈叶香
47330721 0 --cOnzAi hung gement
47330723 0 --二阶堂希罗-魔女化
#47330723 0 --二阶堂希罗-魔女化
47310201 0 --朔望龙女 濯波
47310202 0 --朔望龙女 攀云
47310203 0 --朔望龙女 叠峦
47330706 0 --编织谎言的沉睡公主 夏目安安
47330711 0 --虚伪的艺术家 城崎诺亚
47330713 0 --自罚上瘾 紫藤亚里沙
#475
47500000 0 --大神机 伊奥丁
47530003 0 --吉姆夜巡者II
......@@ -2707,6 +2781,8 @@
60010202 0 --永夜抄·夜雀之怪
60001299 0 --奇锋厄川·邓艾
60012013 1 --忘归人-归路迢迢-
60007181 0 --黑钢国际·狙击干员-杰西卡
60010181 0 --永夜抄EX·于黑暗中蠢动的光虫
#601
60150608 2 --千夜 娱乐屋
......@@ -2820,7 +2896,7 @@
62624245 0 --全世界猫咪联合起来!
62624305 0 --女仆仙狸
62624535 0 --森之仙狸-巡林守
62624540 0 --世界猫咪联盟:更新抑制
#62624540 0 --世界猫咪联盟:更新抑制
62624610 0 --记忆幻化 仙狸-甜水
62625110 0 --漂泊宇宙-蓝点尘埃
62699455 0 --烛火魔女与其侍从
......@@ -2830,10 +2906,11 @@
62624575 1 --仙狸-温柔
62624585 0 --倒悬者·仙狸-维纳
62624415 0 --仙狸 梦者灵魂
62624635 0 --联盟守护 仙狸-灰烬
62625130 0 --世界猫咪联盟:伪和平
62625120 0 --世界猫咪联盟·Fam
62624635 1 --联盟守护 仙狸-灰烬
#62625130 0 --世界猫咪联盟:伪和平
#62625120 0 --世界猫咪联盟·Fam
62699105 0 --千纸千烛
62624520 0 --世界猫咪联盟·Rapier
#639
63924105 0 --米诺陶诺斯
63924110 1 --米诺陶诺斯-无法走出的迷宫
......@@ -3225,6 +3302,7 @@
81907114 0 --地心灵殿凶兽 火焰猫燐
81907113 0 --地心灵殿萝莉 古明地觉
81903000 0 --都市传说 八尺大人
81901001 0 --無☆茶☆苦☆茶 在?手坑交了?
#820
82000040 1 --屋屋特制法属·特利
......@@ -3270,6 +3348,24 @@
82000728 0 --卡丘世界 通力制纣
82000795 0 --卡丘世界·白先生的假期
82000570 0 --卡丘世界·珐格兰丝
82001240 0 --小绘之物—升乐的霓蝶
82001257 0 --卡丘世界~战诞延爆
82001260 0 --卡丘世界「谁是小丑」
82001263 0 --卡丘世界「谁是赢家」
82001275 0 --三途雾徊忧雾
82001283 0 --小绘之物~贪吃的捣蛋鬼
82001285 0 --卡丘世界·往日逸事
82001293 0 --小绘之物~温情小熊杯
82001295 0 --小绘之物~午夜的问候
82001297 0 --卡丘棋子7
82001299 0 --卡丘棋子8
82001313 0 --艾卡后援-环香融击
82001315 0 --艾卡后援-与魂汲生
82001333 0 --艾卡后援“魔法猫咪”
82001317 0 --艾卡后援-祭血强袭
82001286 1 --卡丘世界~铳械相争
82001289 1 --小绘之物~基米路多
82001303 2 --特制装备斐济绘
#822
82200000 1 --春日的桃雪知遇
......@@ -3363,8 +3459,9 @@
93050150 0 --终末使 末日宣告者
93050043 0 --现世的守护龙 虹彩龙
93050041 0 --武器大师
93050104 0 --寄生兽 ⅴ型
#93050104 0 --寄生兽 ⅴ型
93050043 0 --现世的守护龙 虹彩龙/神圣白龙
93050008 0 --魔契之兽 天空迦楼罗
#933
93311205 0 --寂照万物的圣光
93311220 0 --吹散阴霾的狂风
......
expansions/pics/16400540.jpg

72.6 KB | W: | H:

expansions/pics/16400540.jpg

58 KB | W: | H:

expansions/pics/16400540.jpg
expansions/pics/16400540.jpg
expansions/pics/16400540.jpg
expansions/pics/16400540.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/16400541.jpg

64.5 KB | W: | H:

expansions/pics/16400541.jpg

51.9 KB | W: | H:

expansions/pics/16400541.jpg
expansions/pics/16400541.jpg
expansions/pics/16400541.jpg
expansions/pics/16400541.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/16400550.jpg

82.5 KB | W: | H:

expansions/pics/16400550.jpg

65.9 KB | W: | H:

expansions/pics/16400550.jpg
expansions/pics/16400550.jpg
expansions/pics/16400550.jpg
expansions/pics/16400550.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/16400551.jpg

81 KB | W: | H:

expansions/pics/16400551.jpg

66 KB | W: | H:

expansions/pics/16400551.jpg
expansions/pics/16400551.jpg
expansions/pics/16400551.jpg
expansions/pics/16400551.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/16401160.jpg

59.1 KB | W: | H:

expansions/pics/16401160.jpg

65 KB | W: | H:

expansions/pics/16401160.jpg
expansions/pics/16401160.jpg
expansions/pics/16401160.jpg
expansions/pics/16401160.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/16401161.jpg

51.1 KB | W: | H:

expansions/pics/16401161.jpg

46.6 KB | W: | H:

expansions/pics/16401161.jpg
expansions/pics/16401161.jpg
expansions/pics/16401161.jpg
expansions/pics/16401161.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/47310305.jpg

267 KB | W: | H:

expansions/pics/47310305.jpg

267 KB | W: | H:

expansions/pics/47310305.jpg
expansions/pics/47310305.jpg
expansions/pics/47310305.jpg
expansions/pics/47310305.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/47330706.jpg

253 KB | W: | H:

expansions/pics/47330706.jpg

253 KB | W: | H:

expansions/pics/47330706.jpg
expansions/pics/47330706.jpg
expansions/pics/47330706.jpg
expansions/pics/47330706.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/47330709.jpg

232 KB | W: | H:

expansions/pics/47330709.jpg

232 KB | W: | H:

expansions/pics/47330709.jpg
expansions/pics/47330709.jpg
expansions/pics/47330709.jpg
expansions/pics/47330709.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/47330710.jpg

247 KB | W: | H:

expansions/pics/47330710.jpg

247 KB | W: | H:

expansions/pics/47330710.jpg
expansions/pics/47330710.jpg
expansions/pics/47330710.jpg
expansions/pics/47330710.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/47330713.jpg

240 KB | W: | H:

expansions/pics/47330713.jpg

238 KB | W: | H:

expansions/pics/47330713.jpg
expansions/pics/47330713.jpg
expansions/pics/47330713.jpg
expansions/pics/47330713.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/47330718.jpg

253 KB | W: | H:

expansions/pics/47330718.jpg

253 KB | W: | H:

expansions/pics/47330718.jpg
expansions/pics/47330718.jpg
expansions/pics/47330718.jpg
expansions/pics/47330718.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/47330723.jpg

253 KB | W: | H:

expansions/pics/47330723.jpg

254 KB | W: | H:

expansions/pics/47330723.jpg
expansions/pics/47330723.jpg
expansions/pics/47330723.jpg
expansions/pics/47330723.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/61200403.jpg

37.7 KB | W: | H:

expansions/pics/61200403.jpg

77.8 KB | W: | H:

expansions/pics/61200403.jpg
expansions/pics/61200403.jpg
expansions/pics/61200403.jpg
expansions/pics/61200403.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/62624410.jpg

88.1 KB | W: | H:

expansions/pics/62624410.jpg

77.3 KB | W: | H:

expansions/pics/62624410.jpg
expansions/pics/62624410.jpg
expansions/pics/62624410.jpg
expansions/pics/62624410.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/62624520.jpg

76.5 KB | W: | H:

expansions/pics/62624520.jpg

73 KB | W: | H:

expansions/pics/62624520.jpg
expansions/pics/62624520.jpg
expansions/pics/62624520.jpg
expansions/pics/62624520.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/62624540.jpg

69.9 KB | W: | H:

expansions/pics/62624540.jpg

61.2 KB | W: | H:

expansions/pics/62624540.jpg
expansions/pics/62624540.jpg
expansions/pics/62624540.jpg
expansions/pics/62624540.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/62625120.jpg

94.6 KB | W: | H:

expansions/pics/62625120.jpg

65.8 KB | W: | H:

expansions/pics/62625120.jpg
expansions/pics/62625120.jpg
expansions/pics/62625120.jpg
expansions/pics/62625120.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/62625130.jpg

29.8 KB | W: | H:

expansions/pics/62625130.jpg

64 KB | W: | H:

expansions/pics/62625130.jpg
expansions/pics/62625130.jpg
expansions/pics/62625130.jpg
expansions/pics/62625130.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/62699390.jpg

66.3 KB | W: | H:

expansions/pics/62699390.jpg

65.5 KB | W: | H:

expansions/pics/62699390.jpg
expansions/pics/62699390.jpg
expansions/pics/62699390.jpg
expansions/pics/62699390.jpg
  • 2-up
  • Swipe
  • Onion skin
--零号病人
local s,id,o=GetID()
function s.initial_effect(c)
--cannot be material
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CANNOT_BE_FUSION_MATERIAL)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetValue(s.mlimit)
c:RegisterEffect(e1)
local e2=e1:Clone()
e2:SetCode(EFFECT_CANNOT_BE_SYNCHRO_MATERIAL)
e2:SetValue(1)
c:RegisterEffect(e2)
local e3=e2:Clone()
e3:SetCode(EFFECT_CANNOT_BE_XYZ_MATERIAL)
c:RegisterEffect(e3)
local e4=e3:Clone()
e4:SetCode(EFFECT_CANNOT_BE_LINK_MATERIAL)
e4:SetValue(s.lklimit)
c:RegisterEffect(e4)
--pose
local e5=Effect.CreateEffect(c)
e5:SetDescription(aux.Stringid(id,0))
e5:SetCategory(CATEGORY_POSITION)
e5:SetProperty(EFFECT_FLAG_CANNOT_INACTIVATE+EFFECT_FLAG_CANNOT_DISABLE)
e5:SetType(EFFECT_TYPE_QUICK_F)
e5:SetCode(EVENT_CHAINING)
e5:SetRange(LOCATION_MZONE)
e5:SetCondition(s.pocon)
e5:SetCountLimit(1,EFFECT_COUNT_CODE_CHAIN)
e5:SetTarget(s.potg)
e5:SetOperation(s.poop)
c:RegisterEffect(e5)
end
function s.mlimit(e,c,st)
return st==SUMMON_TYPE_FUSION
end
function s.lklimit(e,c)
if not c then return false end
return not c:IsRace(RACE_REPTILE)
end
function s.pocon(e,tp,eg,ep,ev,re,r,rp)
return not re:GetHandler():IsCode(1200005) and rp==tp
end
function s.potg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
end
function s.poop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if c:IsFaceup() and c:IsRelateToEffect(e) then
Duel.ChangePosition(c,POS_FACEUP_DEFENSE,0,POS_FACEUP_ATTACK,0)
end
end
\ No newline at end of file
--PAX-12
local s,id,o=GetID()
function s.initial_effect(c)
--special summon
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(id,1))
e2:SetCategory(CATEGORY_DRAW)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e2:SetCode(EVENT_LEAVE_FIELD)
e2:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_DAMAGE_STEP)
e2:SetCountLimit(1,id)
e2:SetCondition(s.drcon)
e2:SetTarget(s.drtg)
e2:SetOperation(s.drop)
c:RegisterEffect(e2)
end
function s.drcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
return c:IsPreviousPosition(POS_FACEUP) and c:IsPreviousLocation(LOCATION_MZONE) and not c:IsSummonType(SUMMON_TYPE_SPECIAL)
end
function s.drtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsPlayerCanDraw(tp,1) end
Duel.SetTargetPlayer(tp)
Duel.SetTargetParam(1)
Duel.SetOperationInfo(0,CATEGORY_DRAW,nil,0,tp,1)
end
function s.drop(e,tp,eg,ep,ev,re,r,rp)
local p,d=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER,CHAININFO_TARGET_PARAM)
Duel.Draw(p,d,REASON_EFFECT)
end
\ No newline at end of file
--PAX-12-细菌型
local s,id,o=GetID()
function s.initial_effect(c)
--change name
aux.EnableChangeCode(c,1200010,LOCATION_HAND+LOCATION_DECK+LOCATION_MZONE+LOCATION_GRAVE)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_SPSUMMON_PROC)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e1:SetRange(LOCATION_HAND+LOCATION_GRAVE)
e1:SetCountLimit(1,id+EFFECT_COUNT_CODE_OATH)
e1:SetCondition(s.spcon)
e1:SetOperation(s.spop2)
c:RegisterEffect(e1)
--tohand&special summon
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(id,0))
e2:SetCategory(CATEGORY_TOHAND+CATEGORY_SPECIAL_SUMMON+CATEGORY_GRAVE_ACTION+CATEGORY_GRAVE_SPSUMMON)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e2:SetCode(EVENT_SUMMON_SUCCESS)
e2:SetProperty(EFFECT_FLAG_DELAY)
e2:SetCountLimit(1,id)
e2:SetTarget(s.thtg)
e2:SetOperation(s.thop)
c:RegisterEffect(e2)
local e3=e2:Clone()
e3:SetCode(EVENT_SPSUMMON_SUCCESS)
c:RegisterEffect(e3)
Duel.AddCustomActivityCounter(id,ACTIVITY_SPSUMMON,s.counterfilter)
end
function s.counterfilter(c)
return c:IsSetCard(0x3210)
end
function s.cfilter(c)
return c:IsFaceup() and c:IsCode(1200010)
end
function s.spcon(e,c)
if c==nil then return true end
local tp=e:GetHandlerPlayer()
local ct=Duel.GetFieldGroupCount(tp,LOCATION_MZONE,0)
return Duel.GetCustomActivityCount(id,tp,ACTIVITY_SPSUMMON)==0
and Duel.GetLocationCount(c:GetControler(),LOCATION_MZONE)>0
and (ct==0 or ct==Duel.GetMatchingGroupCount(s.cfilter,tp,LOCATION_MZONE,0,nil))
end
function s.spop2(e,tp,eg,ep,ev,re,r,rp,c)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e1:SetReset(RESET_PHASE+PHASE_END)
e1:SetTargetRange(1,0)
e1:SetTarget(s.sumlimit)
Duel.RegisterEffect(e1,tp)
end
function s.sumlimit(e,c,sump,sumtype,sumpos,targetp,se)
return not c:IsSetCard(0x3210)
end
function s.VirusSpSummonType(c)
return c:GetOriginalCode()==1200060 or c:GetOriginalCode()==1200065
end
function s.thfilter(c,e,tp)
if not (c:IsSetCard(0x3210) and c:IsType(TYPE_MONSTER)) then return false end
local ft=Duel.GetLocationCount(1-tp,LOCATION_MZONE)
return c:IsAbleToHand() or (ft>0 and c:IsCanBeSpecialSummoned(e,0,tp,false,s.VirusSpSummonType(c),POS_FACEUP,1-tp))
end
function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(s.thfilter,tp,LOCATION_DECK+LOCATION_GRAVE,0,1,nil,e,tp) end
end
function s.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_OPERATECARD)
local g=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(s.thfilter),tp,LOCATION_DECK+LOCATION_GRAVE,0,1,1,nil,e,tp)
local ft=Duel.GetLocationCount(1-tp,LOCATION_MZONE)
local tc=g:GetFirst()
if tc then
if tc:IsAbleToHand() and (not tc:IsCanBeSpecialSummoned(e,0,tp,false,s.VirusSpSummonType(tc),POS_FACEUP,1-tp) or ft<=0 or Duel.SelectOption(tp,1190,1152)==0) then
Duel.SendtoHand(tc,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,tc)
else
if Duel.SpecialSummon(tc,0,tp,1-tp,false,s.VirusSpSummonType(tc),POS_FACEUP)~=0 and s.VirusSpSummonType(tc) then
tc:CompleteProcedure()
end
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CHANGE_CODE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetValue(1200010)
e1:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e1)
end
end
local e2=Effect.CreateEffect(e:GetHandler())
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e2:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e2:SetTargetRange(1,0)
e2:SetTarget(s.splimit)
e2:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e2,tp)
local e3=e2:Clone()
e3:SetCode(EFFECT_CANNOT_SUMMON)
Duel.RegisterEffect(e3,tp)
end
function s.splimit(e,c)
return not c:IsRace(RACE_REPTILE)
end
\ No newline at end of file
--PAX-12-病毒型
local s,id,o=GetID()
function s.initial_effect(c)
--change name
aux.EnableChangeCode(c,1200010,LOCATION_HAND+LOCATION_DECK+LOCATION_MZONE+LOCATION_GRAVE)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_SPSUMMON_PROC)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e1:SetRange(LOCATION_HAND+LOCATION_GRAVE)
e1:SetCountLimit(1,id+EFFECT_COUNT_CODE_OATH)
e1:SetCondition(s.spcon)
e1:SetOperation(s.spop)
c:RegisterEffect(e1)
--tograve
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(id,1))
e2:SetCategory(CATEGORY_DECKDES+CATEGORY_TOGRAVE)
e2:SetType(EFFECT_TYPE_QUICK_O)
e2:SetCode(EVENT_FREE_CHAIN)
e2:SetRange(LOCATION_MZONE)
e2:SetCountLimit(1,id)
e2:SetTarget(s.tgtg)
e2:SetOperation(s.tgop)
c:RegisterEffect(e2)
--atkup
local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_FIELD)
e3:SetCode(EFFECT_UPDATE_ATTACK)
e3:SetRange(LOCATION_MZONE)
e3:SetTargetRange(LOCATION_MZONE,0)
e3:SetProperty(EFFECT_CANNOT_DISABLE)
e3:SetTarget(aux.TargetBoolFunction(Card.IsCode,1200010))
e3:SetValue(s.atkval)
c:RegisterEffect(e3)
Duel.AddCustomActivityCounter(id,ACTIVITY_SPSUMMON,s.counterfilter)
end
function s.splimit(e,se,sp,st)
return se:GetHandler():IsSetCard(0x3210)
end
function s.counterfilter(c)
return c:IsSetCard(0x3210)
end
function s.cfilter(c)
return c:IsFaceup() and c:IsCode(1200010)
end
function s.spcon(e,c)
if c==nil then return true end
local tp=e:GetHandlerPlayer()
local ct=Duel.GetFieldGroupCount(tp,LOCATION_MZONE,0)
return Duel.GetCustomActivityCount(id,tp,ACTIVITY_SPSUMMON)==0
and Duel.GetLocationCount(c:GetControler(),LOCATION_MZONE)>0
and (ct==0 or ct==Duel.GetMatchingGroupCount(s.cfilter,tp,LOCATION_MZONE,0,nil))
end
function s.spop(e,tp,eg,ep,ev,re,r,rp,c)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e1:SetReset(RESET_PHASE+PHASE_END)
e1:SetTargetRange(1,0)
e1:SetTarget(s.sumlimit)
Duel.RegisterEffect(e1,tp)
end
function s.sumlimit(e,c,sump,sumtype,sumpos,targetp,se)
return not c:IsSetCard(0x3210)
end
function s.tgfilter(c)
return c:IsSetCard(0x3210) and c:IsAbleToGrave()
end
function s.tgtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(s.tgfilter,tp,LOCATION_DECK,0,1,nil) end
Duel.SetOperationInfo(0,CATEGORY_TOGRAVE,nil,1,tp,LOCATION_DECK)
end
function s.tgop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local g=Duel.SelectMatchingCard(tp,s.tgfilter,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then
Duel.SendtoGrave(g,REASON_EFFECT)
end
local e3=Effect.CreateEffect(e:GetHandler())
e3:SetType(EFFECT_TYPE_FIELD)
e3:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e3:SetCode(EFFECT_CANNOT_ACTIVATE)
e3:SetTargetRange(1,0)
e3:SetValue(s.actlimit)
e3:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e3,tp)
end
function s.actlimit(e,re,rp)
local rc=re:GetHandler()
return re:IsActiveType(TYPE_MONSTER) and not rc:IsSetCard(0x3210)
end
function s.atkval(e,c)
return Duel.GetMatchingGroupCount(Card.IsSetCard,c:GetControler(),LOCATION_GRAVE,0,nil,0x3210)*500
end
\ No newline at end of file
--PAX-12-真菌型
local s,id,o=GetID()
function s.initial_effect(c)
--link summon
aux.AddLinkProcedure(c,s.matfilter,2)
c:EnableReviveLimit()
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e0:SetCode(EVENT_SPSUMMON_SUCCESS)
e0:SetOperation(s.spop0)
c:RegisterEffect(e0)
--extra material
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE+EFFECT_FLAG_IGNORE_IMMUNE)
e1:SetCode(EFFECT_EXTRA_LINK_MATERIAL)
e1:SetRange(LOCATION_EXTRA)
e1:SetTargetRange(LOCATION_MZONE,LOCATION_MZONE)
e1:SetValue(s.matval)
c:RegisterEffect(e1)
--addcode
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_ADD_CODE)
e2:SetProperty(EFFECT_CANNOT_DISABLE)
e2:SetRange(LOCATION_MZONE)
e2:SetTargetRange(LOCATION_MZONE,LOCATION_MZONE)
e2:SetTarget(s.addtg)
e2:SetValue(1200010)
c:RegisterEffect(e2)
--tohand
local e3=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(id,1))
e3:SetCategory(CATEGORY_TOEXTRA+CATEGORY_TOHAND)
e3:SetType(EFFECT_TYPE_IGNITION)
e3:SetRange(LOCATION_GRAVE)
e3:SetCondition(s.thcon)
e3:SetCost(s.thcost)
e3:SetTarget(s.thtg)
e3:SetOperation(s.thop)
c:RegisterEffect(e3)
--changeid
local e4=Effect.CreateEffect(c)
e4:SetType(EFFECT_TYPE_QUICK_O)
e4:SetCode(EVENT_FREE_CHAIN)
e4:SetProperty(EFFECT_FLAG_CARD_TARGET)
e4:SetRange(LOCATION_MZONE)
e4:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE)
e4:SetCountLimit(1,id)
e4:SetTarget(s.chtg)
e4:SetOperation(s.chop)
c:RegisterEffect(e4)
--change name
aux.EnableChangeCode(c,1200010,LOCATION_MZONE+LOCATION_GRAVE)
Duel.AddCustomActivityCounter(id,ACTIVITY_SPSUMMON,s.counterfilter)
Duel.AddCustomActivityCounter(id,ACTIVITY_SUMMON,s.counterfilter)
end
function s.counterfilter(c)
return c:IsSetCard(0x3210)
end
function s.matfilter(c)
return c:IsLinkType(TYPE_EFFECT) or c:IsLinkCode(1200010)
end
function s.matval(e,lc,mg,c,tp)
if e:GetHandler()~=lc then return false,nil end
return c:IsCode(1200010) and c:GetOwner()==e:GetHandlerPlayer(),true
end
function s.spop0(e,tp,eg,ep,ev,re,r,rp,c)
local c=e:GetHandler()
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e1:SetReset(RESET_PHASE+PHASE_END)
e1:SetTargetRange(1,0)
e1:SetTarget(s.splimit0)
Duel.RegisterEffect(e1,c:GetOwner())
end
function s.splimit0(e,c)
return not c:IsSetCard(0x1083)
end
function s.addtg(e,tc)
local c=e:GetHandler()
return c:GetLinkedGroup():IsContains(tc)
end
function s.cfilter(c)
return c:IsFaceup() and c:IsCode(1200010)
end
function s.thcon(e,tp,eg,ep,ev,re,r,rp)
local ct=Duel.GetFieldGroupCount(tp,LOCATION_MZONE,0)
local tp=e:GetHandlerPlayer()
return ct==0 or ct==Duel.GetMatchingGroupCount(s.cfilter,tp,LOCATION_MZONE,0,nil)
end
function s.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetCustomActivityCount(id,tp,ACTIVITY_SPSUMMON)==0 and Duel.GetCustomActivityCount(id,tp,ACTIVITY_SUMMON)==0 end
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_OATH)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e1:SetReset(RESET_PHASE+PHASE_END)
e1:SetTargetRange(1,0)
e1:SetTarget(s.splimit)
Duel.RegisterEffect(e1,tp)
local e2=e1:Clone()
e2:SetCode(EFFECT_CANNOT_SUMMON)
Duel.RegisterEffect(e2,tp)
end
function s.splimit(e,c)
return not c:IsSetCard(0x3210)
end
function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_TODECK,e:GetHandler(),1,0,0)
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_GRAVE)
end
function s.thfilter(c,e,tp)
return c:IsSetCard(0x3210) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand()
end
function s.thop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if c:IsRelateToEffect(e) and Duel.SendtoDeck(c,nil,SEQ_DECKTOP,REASON_EFFECT)>0 then
local g=Duel.GetMatchingGroup(aux.NecroValleyFilter(s.thfilter),tp,LOCATION_GRAVE,0,nil)
if g:GetCount()>0 and Duel.SelectYesNo(tp,aux.Stringid(id,2)) then
Duel.BreakEffect()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local sg=g:Select(tp,1,1,nil)
Duel.SendtoHand(sg,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,sg)
end
end
end
function s.filter(c,tp)
return c:IsFaceup() and not c:IsCode(1200010)
end
function s.chtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and s.filter(chkc,tp) end
if chk==0 then return Duel.IsExistingTarget(s.filter,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TARGET)
Duel.SelectTarget(tp,s.filter,tp,LOCATION_MZONE,LOCATION_MZONE,1,1,nil)
end
function s.chop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) and tc:IsFaceup() then
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetDescription(aux.Stringid(id,0))
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_ADD_CODE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_CLIENT_HINT)
e1:SetValue(1200010)
e1:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e1)
end
local e3=Effect.CreateEffect(e:GetHandler())
e3:SetType(EFFECT_TYPE_FIELD)
e3:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e3:SetCode(EFFECT_CANNOT_ACTIVATE)
e3:SetTargetRange(1,0)
e3:SetValue(s.actlimit)
e3:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e3,tp)
end
function s.actlimit(e,re,rp)
local rc=re:GetHandler()
return re:IsActiveType(TYPE_MONSTER) and not rc:IsSetCard(0x3210)
end
\ No newline at end of file
--PAX-12-Neurax蠕虫型
local s,id,o=GetID()
function s.initial_effect(c)
--link summon
aux.AddLinkProcedure(c,s.matfilter,4,6)
c:EnableReviveLimit()
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e0:SetCode(EVENT_SPSUMMON_SUCCESS)
e0:SetOperation(s.spop0)
c:RegisterEffect(e0)
--extra material
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE+EFFECT_FLAG_IGNORE_IMMUNE)
e1:SetCode(EFFECT_EXTRA_LINK_MATERIAL)
e1:SetRange(LOCATION_EXTRA)
e1:SetTargetRange(LOCATION_MZONE,LOCATION_MZONE)
e1:SetValue(s.matval)
c:RegisterEffect(e1)
--cannot attack
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_CANNOT_ATTACK)
e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e2:SetRange(LOCATION_MZONE)
e2:SetTargetRange(LOCATION_MZONE,LOCATION_MZONE)
e2:SetTarget(s.atktg)
c:RegisterEffect(e2)
--immune
local e5=Effect.CreateEffect(c)
e5:SetType(EFFECT_TYPE_SINGLE)
e5:SetProperty(EFFECT_FLAG_SINGLE_RANGE+EFFECT_FLAG_CANNOT_DISABLE)
e5:SetRange(LOCATION_MZONE)
e5:SetCode(EFFECT_IMMUNE_EFFECT)
e5:SetValue(s.efilter1)
c:RegisterEffect(e5)
--tohand
local e3=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(id,1))
e3:SetCategory(CATEGORY_TOEXTRA+CATEGORY_TOHAND)
e3:SetType(EFFECT_TYPE_QUICK_O)
e3:SetCode(EVENT_CHAINING)
e3:SetRange(LOCATION_GRAVE)
e3:SetCondition(s.thcon)
e3:SetCost(s.thcost)
e3:SetTarget(s.thtg)
e3:SetOperation(s.thop)
c:RegisterEffect(e3)
--change
local e4=Effect.CreateEffect(c)
e4:SetDescription(aux.Stringid(id,0))
e4:SetType(EFFECT_TYPE_QUICK_O)
e4:SetCode(EVENT_CHAINING)
e4:SetRange(LOCATION_MZONE)
e4:SetCountLimit(1,id)
e4:SetCondition(s.chcon)
e4:SetTarget(s.chtg)
e4:SetOperation(s.chop)
c:RegisterEffect(e4)
--change name
aux.EnableChangeCode(c,1200010,LOCATION_MZONE+LOCATION_GRAVE)
Duel.AddCustomActivityCounter(id,ACTIVITY_SPSUMMON,s.counterfilter)
Duel.AddCustomActivityCounter(id,ACTIVITY_SUMMON,s.counterfilter)
end
function s.counterfilter(c)
return c:IsSetCard(0x3210)
end
function s.matfilter(c)
return c:IsLinkType(TYPE_EFFECT) or c:IsLinkCode(1200010)
end
function s.matval(e,lc,mg,c,tp)
if e:GetHandler()~=lc then return false,nil end
return c:IsCode(1200010),true
end
function s.spop0(e,tp,eg,ep,ev,re,r,rp,c)
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e1:SetReset(RESET_PHASE+PHASE_END)
e1:SetTargetRange(1,0)
e1:SetTarget(s.splimit0)
Duel.RegisterEffect(e1,c:GetOwner())
end
function s.splimit0(e,c)
return not c:IsSetCard(0x1083)
end
function s.atktg(e,c)
return not c:IsRace(RACE_REPTILE) and c:IsCode(1200010) and c:GetOwner()==e:GetHandlerPlayer()
end
function s.efilter1(e,te)
return te:IsActiveType(TYPE_MONSTER) and te:GetOwner():IsSetCard(0x3210) and not te:GetOwner():IsRace(RACE_REPTILE)
end
function s.cfilter(c)
return c:IsFaceup() and c:IsCode(1200010)
end
function s.thcon(e,tp,eg,ep,ev,re,r,rp)
--local tp=e:GetHandlerPlayer()
local ct=Duel.GetFieldGroupCount(tp,LOCATION_MZONE,0)
return rp==1-tp and (ct==0 or ct==Duel.GetMatchingGroupCount(s.cfilter,tp,LOCATION_MZONE,0,nil))
end
function s.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetCustomActivityCount(id,tp,ACTIVITY_SPSUMMON)==0 and Duel.GetCustomActivityCount(id,tp,ACTIVITY_SUMMON)==0 end
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_OATH)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e1:SetReset(RESET_PHASE+PHASE_END)
e1:SetTargetRange(1,0)
e1:SetTarget(s.splimit)
Duel.RegisterEffect(e1,tp)
local e2=e1:Clone()
e2:SetCode(EFFECT_CANNOT_SUMMON)
Duel.RegisterEffect(e2,tp)
end
function s.splimit(e,c)
return not c:IsSetCard(0x3210)
end
function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_TODECK,e:GetHandler(),1,0,0)
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_GRAVE)
end
function s.thfilter(c,e,tp)
return c:IsSetCard(0x3210) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand()
end
function s.thop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if c:IsRelateToEffect(e) and Duel.SendtoDeck(c,nil,SEQ_DECKTOP,REASON_EFFECT)>0 then
local g=Duel.GetMatchingGroup(aux.NecroValleyFilter(s.thfilter),tp,LOCATION_GRAVE,0,nil)
if g:GetCount()>0 and Duel.SelectYesNo(tp,aux.Stringid(id,2)) then
Duel.BreakEffect()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local sg=g:Select(tp,1,1,nil)
Duel.SendtoHand(sg,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,sg)
end
end
end
function s.chcon(e,tp,eg,ep,ev,re,r,rp)
local rc=re:GetHandler()
return re:IsActiveType(TYPE_MONSTER) and rc:IsCode(1200010)
end
function s.chtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
end
function s.chop(e,tp,eg,ep,ev,re,r,rp)
local g=Group.CreateGroup()
Duel.ChangeTargetCard(ev,g)
Duel.ChangeChainOperation(ev,s.repop)
end
function s.repop(e,tp,eg,ep,ev,re,r,rp)
Duel.Draw(tp,2,REASON_EFFECT)
local e3=Effect.CreateEffect(e:GetHandler())
e3:SetType(EFFECT_TYPE_FIELD)
e3:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e3:SetCode(EFFECT_CANNOT_ACTIVATE)
e3:SetTargetRange(1,0)
e3:SetValue(s.actlimit)
e3:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e3,tp)
end
function s.actlimit(e,re,rp)
local rc=re:GetHandler()
return not rc:IsSetCard(0x3210) or rc:IsLocation(LOCATION_HAND+LOCATION_ONFIELD) or not rc:IsType(TYPE_MONSTER)
end
\ No newline at end of file
--PAX-12-寄生虫型
local s,id,o=GetID()
function s.initial_effect(c)
--link summon
aux.AddLinkProcedure(c,s.matfilter,2,3)
c:EnableReviveLimit()
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e0:SetCode(EVENT_SPSUMMON_SUCCESS)
e0:SetOperation(s.spop0)
c:RegisterEffect(e0)
--extra material
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE+EFFECT_FLAG_IGNORE_IMMUNE)
e1:SetCode(EFFECT_EXTRA_LINK_MATERIAL)
e1:SetRange(LOCATION_EXTRA)
e1:SetTargetRange(LOCATION_MZONE,LOCATION_MZONE)
e1:SetValue(s.matval)
c:RegisterEffect(e1)
--Cannot target
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_CANNOT_BE_EFFECT_TARGET)
e2:SetRange(LOCATION_MZONE)
e2:SetProperty(EFFECT_FLAG_IGNORE_IMMUNE+EFFECT_FLAG_CANNOT_DISABLE)
e2:SetTargetRange(LOCATION_MZONE,LOCATION_MZONE)
e2:SetTarget(aux.TargetBoolFunction(Card.IsCode,1200010))
e2:SetValue(aux.tgoval)
c:RegisterEffect(e2)
--tohand
local e3=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(id,1))
e3:SetCategory(CATEGORY_TOEXTRA+CATEGORY_TOHAND)
e3:SetType(EFFECT_TYPE_QUICK_O)
e3:SetCode(EVENT_CHAINING)
e3:SetRange(LOCATION_GRAVE)
e3:SetCondition(s.thcon)
e3:SetCost(s.thcost)
e3:SetTarget(s.thtg)
e3:SetOperation(s.thop)
c:RegisterEffect(e3)
--immune
local e4=Effect.CreateEffect(c)
e4:SetType(EFFECT_TYPE_QUICK_O)
e4:SetCode(EVENT_FREE_CHAIN)
e4:SetRange(LOCATION_MZONE)
e4:SetHintTiming(0,TIMING_END_PHASE)
e4:SetCountLimit(2,id)
e4:SetTarget(s.imtg)
e4:SetOperation(s.imop)
c:RegisterEffect(e4)
--change name
aux.EnableChangeCode(c,1200010,LOCATION_MZONE+LOCATION_GRAVE)
Duel.AddCustomActivityCounter(id,ACTIVITY_SPSUMMON,s.counterfilter)
Duel.AddCustomActivityCounter(id,ACTIVITY_SUMMON,s.counterfilter)
end
function s.counterfilter(c)
return c:IsSetCard(0x3210)
end
function s.matfilter(c)
return c:IsLinkType(TYPE_EFFECT) or c:IsLinkCode(1200010)
end
function s.matval(e,lc,mg,c,tp)
if e:GetHandler()~=lc then return false,nil end
return c:IsCode(1200010) and c:GetOwner()==e:GetHandlerPlayer(),true
end
function s.spop0(e,tp,eg,ep,ev,re,r,rp,c)
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e1:SetReset(RESET_PHASE+PHASE_END)
e1:SetTargetRange(1,0)
e1:SetTarget(s.splimit0)
Duel.RegisterEffect(e1,c:GetOwner())
end
function s.splimit0(e,c)
return not c:IsSetCard(0x1083)
end
function s.cfilter(c)
return c:IsFaceup() and c:IsCode(1200010)
end
function s.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetCustomActivityCount(id,tp,ACTIVITY_SPSUMMON)==0 and Duel.GetCustomActivityCount(id,tp,ACTIVITY_SUMMON)==0 end
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_OATH)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e1:SetReset(RESET_PHASE+PHASE_END)
e1:SetTargetRange(1,0)
e1:SetTarget(s.splimit)
Duel.RegisterEffect(e1,tp)
local e2=e1:Clone()
e2:SetCode(EFFECT_CANNOT_SUMMON)
Duel.RegisterEffect(e2,tp)
end
function s.splimit(e,c)
return not c:IsSetCard(0x3210)
end
function s.cfilter(c)
return c:IsFaceup() and c:IsCode(1200010)
end
function s.thcon(e,tp,eg,ep,ev,re,r,rp)
--local tp=e:GetHandlerPlayer()
local ct=Duel.GetFieldGroupCount(tp,LOCATION_MZONE,0)
return rp==1-tp and (ct==0 or ct==Duel.GetMatchingGroupCount(s.cfilter,tp,LOCATION_MZONE,0,nil))
end
function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_TODECK,e:GetHandler(),1,0,0)
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_GRAVE)
end
function s.thfilter(c,e,tp)
return c:IsSetCard(0x3210) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand()
end
function s.thop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if c:IsRelateToEffect(e) and Duel.SendtoDeck(c,nil,SEQ_DECKTOP,REASON_EFFECT)>0 then
local g=Duel.GetMatchingGroup(aux.NecroValleyFilter(s.thfilter),tp,LOCATION_GRAVE,0,nil)
if g:GetCount()>0 and Duel.SelectYesNo(tp,aux.Stringid(id,2)) then
Duel.BreakEffect()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local sg=g:Select(tp,1,1,nil)
Duel.SendtoHand(sg,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,sg)
end
end
end
function s.imfilter(c)
return c:IsCode(1200010) and c:IsFaceup()
end
function s.imtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(s.imfilter,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil) end
end
function s.imop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP)
local g=Duel.SelectMatchingCard(tp,s.imfilter,tp,LOCATION_MZONE,LOCATION_MZONE,1,1,nil)
local tc=g:GetFirst()
if tc:IsFaceup() and not tc:IsImmuneToEffect(e) then
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_IMMUNE_EFFECT)
e1:SetValue(s.efilter)
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
tc:RegisterEffect(e1)
end
local e3=Effect.CreateEffect(e:GetHandler())
e3:SetType(EFFECT_TYPE_FIELD)
e3:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e3:SetCode(EFFECT_CANNOT_ACTIVATE)
e3:SetTargetRange(1,0)
e3:SetValue(s.actlimit)
e3:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e3,tp)
end
function s.actlimit(e,re,rp)
local rc=re:GetHandler()
return re:IsActiveType(TYPE_MONSTER) and not rc:IsSetCard(0x3210)
end
function s.efilter(e,te)
return not te:GetOwner():IsSetCard(0x3210)
end
\ No newline at end of file
--PAX-12-朊病毒型
local s,id,o=GetID()
function s.initial_effect(c)
--link summon
aux.AddLinkProcedure(c,s.matfilter,2,4)
c:EnableReviveLimit()
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e0:SetCode(EVENT_SPSUMMON_SUCCESS)
e0:SetOperation(s.spop0)
c:RegisterEffect(e0)
--extra material
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE+EFFECT_FLAG_IGNORE_IMMUNE)
e1:SetCode(EFFECT_EXTRA_LINK_MATERIAL)
e1:SetRange(LOCATION_EXTRA)
e1:SetTargetRange(LOCATION_MZONE,LOCATION_MZONE)
e1:SetValue(s.matval)
c:RegisterEffect(e1)
--disable
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetRange(LOCATION_MZONE)
e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e2:SetTargetRange(LOCATION_MZONE,LOCATION_MZONE)
e2:SetTarget(s.disable)
e2:SetCode(EFFECT_DISABLE)
c:RegisterEffect(e2)
--tohand
local e3=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(id,1))
e3:SetCategory(CATEGORY_TOEXTRA+CATEGORY_TOHAND)
e3:SetType(EFFECT_TYPE_QUICK_O)
e3:SetCode(EVENT_CHAINING)
e3:SetRange(LOCATION_GRAVE)
e3:SetCondition(s.thcon)
e3:SetCost(s.thcost)
e3:SetTarget(s.thtg)
e3:SetOperation(s.thop)
c:RegisterEffect(e3)
--actforbidden
local e4=Effect.CreateEffect(c)
e4:SetType(EFFECT_TYPE_QUICK_O)
e4:SetCode(EVENT_FREE_CHAIN)
e4:SetRange(LOCATION_MZONE)
e4:SetProperty(EFFECT_FLAG_CARD_TARGET)
e4:SetHintTiming(0,TIMING_END_PHASE)
e4:SetCountLimit(1,id)
e4:SetTarget(s.acttg)
e4:SetOperation(s.actop)
c:RegisterEffect(e4)
--change name
aux.EnableChangeCode(c,1200010,LOCATION_MZONE+LOCATION_GRAVE)
Duel.AddCustomActivityCounter(id,ACTIVITY_SPSUMMON,s.counterfilter)
Duel.AddCustomActivityCounter(id,ACTIVITY_SUMMON,s.counterfilter)
end
function s.counterfilter(c)
return c:IsSetCard(0x3210)
end
function s.matfilter(c)
return c:IsLinkType(TYPE_EFFECT) or c:IsLinkCode(1200010)
end
function s.matval(e,lc,mg,c,tp)
if e:GetHandler()~=lc then return false,nil end
return c:IsCode(1200010) and c:GetOwner()==e:GetHandlerPlayer(),true
end
function s.spop0(e,tp,eg,ep,ev,re,r,rp,c)
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e1:SetReset(RESET_PHASE+PHASE_END)
e1:SetTargetRange(1,0)
e1:SetTarget(s.splimit0)
Duel.RegisterEffect(e1,c:GetOwner())
end
function s.splimit0(e,c)
return not c:IsSetCard(0x1083)
end
function s.disable(e,c)
return (c:IsType(TYPE_EFFECT) or bit.band(c:GetOriginalType(),TYPE_EFFECT)==TYPE_EFFECT) and c:IsCode(1200010) and not c:IsRace(RACE_REPTILE)
end
function s.cfilter(c)
return c:IsFaceup() and c:IsCode(1200010)
end
function s.thcon(e,tp,eg,ep,ev,re,r,rp)
--local tp=e:GetHandlerPlayer()
local ct=Duel.GetFieldGroupCount(tp,LOCATION_MZONE,0)
return rp==1-tp and (ct==0 or ct==Duel.GetMatchingGroupCount(s.cfilter,tp,LOCATION_MZONE,0,nil))
end
function s.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetCustomActivityCount(id,tp,ACTIVITY_SPSUMMON)==0 and Duel.GetCustomActivityCount(id,tp,ACTIVITY_SUMMON)==0 end
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_OATH)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e1:SetReset(RESET_PHASE+PHASE_END)
e1:SetTargetRange(1,0)
e1:SetTarget(s.splimit)
Duel.RegisterEffect(e1,tp)
local e2=e1:Clone()
e2:SetCode(EFFECT_CANNOT_SUMMON)
Duel.RegisterEffect(e2,tp)
end
function s.splimit(e,c)
return not c:IsSetCard(0x3210)
end
function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_TODECK,e:GetHandler(),1,0,0)
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_GRAVE)
end
function s.thfilter(c,e,tp)
return c:IsSetCard(0x3210) and c:IsType(TYPE_MONSTER) and c:IsAbleToHand()
end
function s.thop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if c:IsRelateToEffect(e) and Duel.SendtoDeck(c,nil,SEQ_DECKTOP,REASON_EFFECT)>0 then
local g=Duel.GetMatchingGroup(aux.NecroValleyFilter(s.thfilter),tp,LOCATION_GRAVE,0,nil)
if g:GetCount()>0 and Duel.SelectYesNo(tp,aux.Stringid(id,2)) then
Duel.BreakEffect()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local sg=g:Select(tp,1,1,nil)
Duel.SendtoHand(sg,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,sg)
end
end
end
function s.filter(c,tp)
return c:IsFaceup() and c:IsCode(1200010)
end
function s.acttg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and s.filter(chkc,tp) end
if chk==0 then return Duel.IsExistingTarget(s.filter,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TARGET)
Duel.SelectTarget(tp,s.filter,tp,LOCATION_MZONE,LOCATION_MZONE,1,1,nil)
end
function s.actop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local tc=Duel.GetFirstTarget()
if c:IsRelateToEffect(e) and c:IsFaceup() and tc and tc:IsRelateToEffect(e) then
c:SetCardTarget(tc)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CANNOT_TRIGGER)
e1:SetCondition(s.rcon)
e1:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e1,true)
end
local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_FIELD)
e3:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e3:SetCode(EFFECT_CANNOT_ACTIVATE)
e3:SetTargetRange(1,0)
e3:SetValue(s.actlimit)
e3:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e3,tp)
end
function s.rcon(e)
return e:GetOwner():IsHasCardTarget(e:GetHandler())
end
function s.actlimit(e,re,rp)
local rc=re:GetHandler()
return re:IsActiveType(TYPE_MONSTER) and not rc:IsSetCard(0x3210)
end
--PAX-12-Necroa病毒型
local s,id,o=GetID()
function s.initial_effect(c)
--change name
aux.EnableChangeCode(c,1200010,LOCATION_HAND+LOCATION_DECK+LOCATION_MZONE+LOCATION_GRAVE)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_SPSUMMON_PROC)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e1:SetRange(LOCATION_HAND+LOCATION_GRAVE)
e1:SetCountLimit(1,id+EFFECT_COUNT_CODE_OATH)
e1:SetCondition(s.spcon)
e1:SetOperation(s.spop2)
c:RegisterEffect(e1)
--special summon
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(id,1))
e2:SetCategory(CATEGORY_SPECIAL_SUMMON)
e2:SetType(EFFECT_TYPE_QUICK_O)
e2:SetCode(EVENT_FREE_CHAIN)
e2:SetRange(LOCATION_MZONE)
e2:SetCountLimit(1,id)
e2:SetCost(s.spcost)
e2:SetTarget(s.sptg)
e2:SetOperation(s.spop)
c:RegisterEffect(e2)
Duel.AddCustomActivityCounter(id,ACTIVITY_SPSUMMON,s.counterfilter)
end
function s.counterfilter(c)
return c:IsSetCard(0x3210)
end
function s.cfilter(c)
return c:IsFaceup() and c:IsCode(1200010)
end
function s.spcon(e,c)
if c==nil then return true end
local tp=e:GetHandlerPlayer()
local ct=Duel.GetFieldGroupCount(tp,LOCATION_MZONE,0)
return Duel.GetCustomActivityCount(id,tp,ACTIVITY_SPSUMMON)==0
and Duel.GetLocationCount(c:GetControler(),LOCATION_MZONE)>0
and (ct==0 or ct==Duel.GetMatchingGroupCount(s.cfilter,tp,LOCATION_MZONE,0,nil))
end
function s.spop2(e,tp,eg,ep,ev,re,r,rp,c)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e1:SetReset(RESET_PHASE+PHASE_END)
e1:SetTargetRange(1,0)
e1:SetTarget(s.sumlimit)
Duel.RegisterEffect(e1,tp)
end
function s.sumlimit(e,c,sump,sumtype,sumpos,targetp,se)
return not c:IsSetCard(0x3210)
end
function s.cfilter1(c,tp)
return c:IsFaceup() and c:IsCode(1200010) and Duel.GetMZoneCount(tp,c,tp)>0 and c:IsAbleToGraveAsCost()
end
function s.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return c:IsAbleToGraveAsCost() and Duel.IsExistingMatchingCard(s.cfilter1,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil,tp) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local g=Duel.SelectMatchingCard(tp,s.cfilter1,tp,LOCATION_MZONE,LOCATION_MZONE,1,1,nil,tp)
Duel.SendtoGrave(g,REASON_COST)
end
function s.VirusSpSummonType(c)
return c:GetOriginalCode()==1200060 or c:GetOriginalCode()==1200065
end
function s.spfil(c,e,tp)
return c:IsSetCard(0x3210) and c:IsCanBeSpecialSummoned(e,0,tp,false,s.VirusSpSummonType(c))
end
function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(s.spfil,tp,LOCATION_GRAVE,0,1,nil,e,tp) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_GRAVE)
end
function s.spop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local g=Duel.SelectMatchingCard(tp,s.spfil,tp,LOCATION_GRAVE,0,1,1,nil,e,tp)
if #g>0 then
local tc=g:GetFirst()
if Duel.SpecialSummon(tc,0,tp,tp,false,s.VirusSpSummonType(tc),POS_FACEUP) and s.VirusSpSummonType(tc) then
tc:CompleteProcedure()
end
end
end
\ No newline at end of file
--PAX-12-纳米病毒型
local s,id,o=GetID()
function s.initial_effect(c)
c:EnableReviveLimit()
--change name
aux.EnableChangeCode(c,1200010,LOCATION_HAND+LOCATION_DECK+LOCATION_MZONE+LOCATION_GRAVE)
--spsummon condition
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_SINGLE)
e0:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e0:SetCode(EFFECT_SPSUMMON_CONDITION)
e0:SetValue(s.splimit)
c:RegisterEffect(e0)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_SPSUMMON_PROC)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e1:SetRange(LOCATION_HAND+LOCATION_GRAVE)
e1:SetCountLimit(1,id+EFFECT_COUNT_CODE_OATH)
e1:SetCondition(s.spcon)
e1:SetOperation(s.spop2)
c:RegisterEffect(e1)
--todeck&draw
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(id,0))
e2:SetCategory(CATEGORY_TODECK+CATEGORY_DRAW)
e2:SetType(EFFECT_TYPE_QUICK_F)
e2:SetRange(LOCATION_MZONE)
e2:SetCode(EVENT_BECOME_TARGET)
e2:SetCondition(s.tdcon)
e2:SetTarget(s.tdtg)
e2:SetOperation(s.tdop)
c:RegisterEffect(e2)
local e3=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(id,1))
e3:SetCategory(CATEGORY_DISABLE)
e3:SetType(EFFECT_TYPE_QUICK_O)
e3:SetCode(EVENT_CHAINING)
e3:SetRange(LOCATION_MZONE)
e3:SetCountLimit(1,id)
e3:SetCondition(s.discon)
e3:SetCost(s.discost)
e3:SetTarget(s.distg)
e3:SetOperation(s.disop)
c:RegisterEffect(e3)
Duel.AddCustomActivityCounter(id,ACTIVITY_SPSUMMON,s.counterfilter)
end
function s.counterfilter(c)
return c:IsSetCard(0x3210)
end
function s.splimit(e,se,sp,st)
local sc=se:GetHandler()
return sc:IsSetCard(0x3210)
end
function s.cfilter(c)
return c:IsFaceup() and c:IsCode(1200010)
end
function s.spcon(e,c)
if c==nil then return true end
local tp=e:GetHandlerPlayer()
local ct=Duel.GetFieldGroupCount(tp,LOCATION_MZONE,0)
return Duel.GetCustomActivityCount(id,tp,ACTIVITY_SPSUMMON)==0
and Duel.GetLocationCount(c:GetControler(),LOCATION_MZONE)>0
and (ct==0 or ct==Duel.GetMatchingGroupCount(s.cfilter,tp,LOCATION_MZONE,0,nil))
end
function s.spop2(e,tp,eg,ep,ev,re,r,rp,c)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e1:SetReset(RESET_PHASE+PHASE_END)
e1:SetTargetRange(1,0)
e1:SetTarget(s.sumlimit)
Duel.RegisterEffect(e1,tp)
end
function s.sumlimit(e,c,sump,sumtype,sumpos,targetp,se)
return not c:IsSetCard(0x3210)
end
function s.tdcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsContains(e:GetHandler())
end
function s.tdtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_TODECK,e:GetHandler(),1,0,0)
Duel.SetOperationInfo(0,CATEGORY_DRAW,nil,0,tp,1)
end
function s.tdop(e,tp,eg,ep,ev,re,r,rp)
if not e:GetHandler():IsRelateToEffect(e) then return end
if Duel.SendtoDeck(e:GetHandler(),nil,SEQ_DECKSHUFFLE,REASON_EFFECT)>0 then
Duel.Draw(tp,1,REASON_EFFECT)
end
end
function s.discon(e,tp,eg,ep,ev,re,r,rp)
return not e:GetHandler():IsStatus(STATUS_BATTLE_DESTROYED) and rp==1-tp and Duel.IsChainDisablable(ev)
end
function s.cfilter1(c,tp)
return c:IsFaceup() and c:IsCode(1200010) and Duel.GetMZoneCount(tp,c,tp)>0 and c:IsAbleToGraveAsCost()
end
function s.discost(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return c:IsAbleToGraveAsCost() and Duel.IsExistingMatchingCard(s.cfilter1,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil,tp) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local g=Duel.SelectMatchingCard(tp,s.cfilter1,tp,LOCATION_MZONE,LOCATION_MZONE,1,1,nil,tp)
Duel.SendtoGrave(g,REASON_COST)
end
function s.distg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_DISABLE,eg,1,0,0)
end
function s.disfilter(c)
return c:IsFaceup() and c:IsAbleToGrave() and c:IsCode(1200010) and Duel.IsExistingMatchingCard(aux.NegateAnyFilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,c)
end
function s.disop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if Duel.NegateEffect(ev) then
local g=Duel.GetMatchingGroup(s.disfilter,tp,LOCATION_MZONE,LOCATION_MZONE,nil)
if #g>0 and Duel.SelectYesNo(tp,aux.Stringid(id,2)) then
Duel.BreakEffect()
local sg=g:Select(tp,1,1,nil)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DISABLE)
local tg=Duel.SelectMatchingCard(tp,aux.NegateAnyFilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,sg)
local tc=tg:GetFirst()
if Duel.SendtoGrave(sg,REASON_EFFECT)>0 and tc:IsCanBeDisabledByEffect(e,false) then
Duel.NegateRelatedChain(tc,RESET_TURN_SET)
local e1=Effect.CreateEffect(c)
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(c)
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)
if tc:IsType(TYPE_TRAPMONSTER) then
local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_SINGLE)
e3:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e3:SetCode(EFFECT_DISABLE_TRAPMONSTER)
e3:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
tc:RegisterEffect(e3)
end
end
end
end
local e4=Effect.CreateEffect(e:GetHandler())
e4:SetType(EFFECT_TYPE_FIELD)
e4:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e4:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e4:SetTargetRange(1,0)
e4:SetTarget(s.splimit1)
e4:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e4,tp)
local e5=e4:Clone()
e5:SetCode(EFFECT_CANNOT_SUMMON)
Duel.RegisterEffect(e5,tp)
end
function s.splimit1(e,c)
return not c:IsSetCard(0x3210)
end
\ No newline at end of file
--PAX-12-生化武器型
local s,id,o=GetID()
function s.initial_effect(c)
c:EnableReviveLimit()
--change name
aux.EnableChangeCode(c,1200010,LOCATION_HAND+LOCATION_DECK+LOCATION_MZONE+LOCATION_GRAVE)
--spsummon condition
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_SINGLE)
e0:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e0:SetCode(EFFECT_SPSUMMON_CONDITION)
e0:SetValue(s.splimit)
c:RegisterEffect(e0)
--level
local e3=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(id,1))
e3:SetType(EFFECT_TYPE_IGNITION)
e3:SetRange(LOCATION_MZONE)
e3:SetProperty(EFFECT_FLAG_CARD_TARGET)
e3:SetCountLimit(1,id)
e3:SetTarget(s.lvtg)
e3:SetOperation(s.lvop)
c:RegisterEffect(e3)
--destroy
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(id,2))
e2:SetCategory(CATEGORY_DESTROY)
e2:SetType(EFFECT_TYPE_QUICK_O)
e2:SetCode(EVENT_CHAINING)
e2:SetRange(LOCATION_MZONE)
e2:SetCondition(s.descon)
e2:SetTarget(s.destg)
e2:SetOperation(s.desop)
c:RegisterEffect(e2)
--remove
local e4=Effect.CreateEffect(c)
e4:SetDescription(aux.Stringid(id,3))
e4:SetCategory(CATEGORY_REMOVE)
e4:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F)
e4:SetCode(EVENT_PHASE+PHASE_END)
e4:SetRange(LOCATION_MZONE)
e4:SetCondition(s.remcon)
e4:SetTarget(s.remtg)
e4:SetOperation(s.remop)
c:RegisterEffect(e4)
--cannot release
local e5=Effect.CreateEffect(c)
e5:SetType(EFFECT_TYPE_SINGLE)
e5:SetProperty(EFFECT_FLAG_SINGLE_RANGE+EFFECT_FLAG_CANNOT_DISABLE)
e5:SetRange(LOCATION_MZONE)
e5:SetCode(EFFECT_UNRELEASABLE_SUM)
e5:SetCondition(s.excon)
e5:SetValue(1)
c:RegisterEffect(e5)
local e6=e5:Clone()
e6:SetCode(EFFECT_UNRELEASABLE_NONSUM)
c:RegisterEffect(e6)
--cannot be fusion
local e7=e6:Clone()
e7:SetCode(EFFECT_CANNOT_BE_FUSION_MATERIAL)
e7:SetValue(s.mlimit)
c:RegisterEffect(e7)
--cannot be synchro
local e8=e7:Clone()
e8:SetCode(EFFECT_CANNOT_BE_SYNCHRO_MATERIAL)
e8:SetValue(1)
c:RegisterEffect(e8)
--cannot be xyz
local e9=e8:Clone()
e9:SetCode(EFFECT_CANNOT_BE_XYZ_MATERIAL)
c:RegisterEffect(e9)
--cannot be link
local e10=e9:Clone()
e10:SetCode(EFFECT_CANNOT_BE_LINK_MATERIAL)
c:RegisterEffect(e10)
--removeself
local e11=Effect.CreateEffect(c)
e11:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e11:SetCode(EVENT_LEAVE_FIELD_P)
e11:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e11:SetRange(LOCATION_MZONE)
e11:SetCondition(s.remcon1)
e11:SetOperation(s.remop1)
c:RegisterEffect(e11)
Duel.AddCustomActivityCounter(id,ACTIVITY_CHAIN,s.chainfilter)
end
function s.splimit(e,se,sp,st)
return se:GetHandler():IsSetCard(0x3210)
end
function s.chainfilter(re,tp,cid)
return false
end
function s.mlimit(e,c,st)
return st==SUMMON_TYPE_FUSION
end
function s.lvfilter(c)
return c:IsFaceup() and c:IsCode(1200010) and c:IsLevelAbove(1)
end
function s.lvtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local c=e:GetHandler()
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc~=c and s.lvfilter(chkc) end
if chk==0 then return Duel.IsExistingTarget(s.lvfilter,tp,LOCATION_MZONE,LOCATION_MZONE,1,c) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP)
Duel.SelectTarget(tp,s.lvfilter,tp,LOCATION_MZONE,LOCATION_MZONE,1,1,c)
end
function s.lvop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
local c=e:GetHandler()
if tc:IsFacedown() or not tc:IsRelateToEffect(e) or tc:IsImmuneToEffect(e) or c:IsLevel(1) then return end
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_UPDATE_LEVEL)
e1:SetReset(RESET_EVENT+RESETS_STANDARD)
e1:SetValue(1)
tc:RegisterEffect(e1)
if c:IsRelateToEffect(e) then
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_UPDATE_LEVEL)
e2:SetReset(RESET_EVENT+RESETS_STANDARD)
e2:SetValue(-1)
c:RegisterEffect(e2)
end
end
function s.descon(e,tp,eg,ep,ev,re,r,rp)
return rp==1-tp
end
function s.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chk==0 then return Duel.IsExistingMatchingCard(aux.TRUE,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,nil) end
local g=Duel.GetMatchingGroup(aux.TRUE,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil)
Duel.SetOperationInfo(0,CATEGORY_DESTROY,g,1,0,0)
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_UPDATE_LEVEL)
e1:SetReset(RESET_EVENT+RESETS_STANDARD)
e1:SetValue(1)
e:GetHandler():RegisterEffect(e1)
end
function s.desop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if not c:IsRelateToEffect(e) then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
local g=Duel.SelectMatchingCard(tp,aux.TRUE,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,nil)
if g:GetCount()>0 then
Duel.Destroy(g,REASON_EFFECT)
end
local e2=Effect.CreateEffect(e:GetHandler())
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e2:SetCode(EFFECT_CANNOT_ACTIVATE)
e2:SetTargetRange(1,0)
e2:SetValue(s.actlimit)
e2:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e2,tp)
local e3=Effect.CreateEffect(e:GetHandler())
e3:SetType(EFFECT_TYPE_FIELD)
e3:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e3:SetCode(EFFECT_CHANGE_DAMAGE)
e3:SetTargetRange(0,1)
e3:SetValue(0)
e3:SetReset(RESET_PHASE+PHASE_END,2)
Duel.RegisterEffect(e3,tp)
local e4=e3:Clone()
e4:SetCode(EFFECT_NO_EFFECT_DAMAGE)
e4:SetReset(RESET_PHASE+PHASE_END,2)
Duel.RegisterEffect(e4,tp)
end
function s.actlimit(e,re,rp)
local rc=re:GetHandler()
return re:IsActiveType(TYPE_MONSTER) and not rc:IsSetCard(0x3210)
end
function s.remcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetCustomActivityCount(id,1-e:GetHandlerPlayer(),ACTIVITY_CHAIN)==0
end
function s.remtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_REMOVE,nil,1,0,0)
end
function s.remfilter(c)
return c:IsAbleToRemove() and c:IsFaceup() and c:IsCode(1200010)
end
function s.remop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local lv=c:GetLevel()
if lv>=6 then
Duel.Remove(c,POS_FACEUP,REASON_EFFECT)
end
if lv>=8 then
local sg=Duel.GetMatchingGroup(s.remfilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil)
Duel.Remove(sg,POS_FACEUP,REASON_EFFECT)
end
end
function s.excon(e)
return e:GetHandler():IsLevelAbove(7)
end
function s.remcon1(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
return c:IsLevelAbove(10)
end
function s.remop1(e,tp,eg,ep,ev,re,r,rp)
if e:GetHandler():IsFacedown() or not e:GetHandler():IsLocation(LOCATION_MZONE) then return end
local tg=Duel.GetMatchingGroup(nil,e:GetHandler():GetOwner(),LOCATION_HAND+LOCATION_ONFIELD,0,e:GetHandler())
Duel.Remove(tg,POS_FACEUP,REASON_EFFECT)
end
\ No newline at end of file
-- 古木寻斋
local m=12847555
local cm=_G["c"..m]
function cm.initial_effect(c)
-- special summon rule
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_FIELD)
e0:SetCode(EFFECT_SPSUMMON_PROC)
e0:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e0:SetRange(LOCATION_HAND+LOCATION_DECK+LOCATION_GRAVE)
e0:SetCondition(cm.sprcon)
e0:SetTarget(cm.sprtg)
e0:SetOperation(cm.sprop)
c:RegisterEffect(e0)
--
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_FIELD)
e1:SetCode(EVENT_PREDRAW)
e1:SetCountLimit(1,m+EFFECT_COUNT_CODE_DUEL)
e1:SetRange(0xff)
e1:SetProperty(EFFECT_FLAG_SET_AVAILABLE)
e1:SetOperation(cm.op)
c:RegisterEffect(e1)
-- act limit
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetRange(LOCATION_MZONE)
e2:SetCode(EFFECT_CANNOT_ACTIVATE)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e2:SetTargetRange(0,1)
e2:SetValue(cm.aclimit)
c:RegisterEffect(e2)
-- disable
local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_FIELD)
e3:SetCode(EFFECT_DISABLE)
e3:SetRange(LOCATION_MZONE)
e3:SetTargetRange(0,LOCATION_ONFIELD)
e3:SetTarget(cm.distarget)
c:RegisterEffect(e3)
-- disable effect
local e4=Effect.CreateEffect(c)
e4:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e4:SetCode(EVENT_CHAIN_SOLVING)
e4:SetRange(LOCATION_MZONE)
e4:SetOperation(cm.disoperation)
c:RegisterEffect(e4)
end
function cm.sprfilter(c,tp)
return (c:IsFaceup() or c:IsControler(tp)) and c:IsCode(m+1) and c:IsReleasable(REASON_SPSUMMON)
end
function cm.fselect(g,tp,sc)
return Duel.GetMZoneCount(tp,g,tp)>0
end
function cm.sprcon(e,c)
if c==nil then return true end
local tp=c:GetControler()
local g=Duel.GetMatchingGroup(cm.sprfilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp)
return g:CheckSubGroup(cm.fselect,1,#g,tp,c)
end
function cm.sprtg(e,tp,eg,ep,ev,re,r,rp,chk,c)
local g=Duel.GetMatchingGroup(cm.sprfilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil,tp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE)
local sg=g:SelectSubGroup(tp,cm.fselect,true,1,#g,tp,c)
if sg then
sg:KeepAlive()
e:SetLabelObject(sg)
return true
else return false end
end
function cm.sprop(e,tp,eg,ep,ev,re,r,rp,c)
local g=e:GetLabelObject()
Duel.Release(g,REASON_SPSUMMON)
g:DeleteGroup()
end
function cm.check(c)
return not c:IsCode(m+1) and c:IsType(TYPE_MONSTER)
end
function cm.op(e,tp)
local c=e:GetHandler()
local g=Duel.GetMatchingGroup(cm.check,tp,0,0xff,nil)
for tc in aux.Next(g) do
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CHANGE_CODE)
e1:SetValue(m+1)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
tc:RegisterEffect(e1)
end
end
function cm.aclimit(e,re,tp)
return re:GetHandler():IsCode(m+1)
end
function cm.distarget(e,c)
return c~=e:GetHandler() and c:IsCode(m+1)
end
function cm.disoperation(e,tp,eg,ep,ev,re,r,rp)
if re:GetHandler():IsCode(m+1) and re:GetHandler():IsFaceup() then
Duel.NegateEffect(ev)
end
end
\ No newline at end of file
......@@ -525,10 +525,11 @@ function MTC.Avatarfil(c,code)
end
function MTC.Avatarop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local tp=e:GetHandlerPlayer()
local code=e:GetLabel()
local max=15-c:GetCounter(0x62a)
local r=math.random(1,max)
if r==1 and Duel.IsExistingMatchingCard(MTC.Avatarfil,tp,LOCATION_DECK+LOCATION_GRAVE,0,1,nil,code) and Duel.GetLocationCount(tp,LOCATION_SZONE)>0 then
local cnum=c:GetCounter(0x62a)
local r=math.random(1,15)
if r+cnum>=15 and Duel.GetFlagEffect(tp,60010225+code)==0 and Duel.IsExistingMatchingCard(MTC.Avatarfil,tp,LOCATION_DECK+LOCATION_GRAVE,0,1,nil,code) and Duel.GetLocationCount(tp,LOCATION_SZONE)>0 then
Duel.Hint(HINT_CARD,0,c:GetCode())
local tc=Group.CreateGroup()
if Duel.IsExistingMatchingCard(MTC.Avatarfil,tp,LOCATION_DECK,0,1,nil,code) then
......@@ -541,6 +542,8 @@ function MTC.Avatarop(e,tp,eg,ep,ev,re,r,rp)
MTC.ActivateCard(tc,tp,e)
Duel.RegisterFlagEffect(tp,60010225+code,RESET_PHASE+PHASE_END,0,1)
Duel.RaiseEvent(c,EVENT_CUSTOM+60010225,nil,0,tp,tp,0)
else
if c:IsLocation(LOCATION_ONFIELD) then
......@@ -549,12 +552,119 @@ function MTC.Avatarop(e,tp,eg,ep,ev,re,r,rp)
end
end
--翁法罗斯:揭示真名
function MTC.realname(tp,code1,code2)
local g=Duel.GetMatchingGroup(aux.TRUE,tp,1,0,nil)
for tc in aux.Next(g) do
if tc:GetOriginalCodeRule()==code1 then
tc:SetEntityCode(code2,true)
tc:ReplaceEffect(code2,0,0)
end
end
end
function MTC.StrinovaPUS(c)
c:EnableReviveLimit()
--cannot special summon
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.FALSE)
c:RegisterEffect(e1)
--special summon
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_SPSUMMON_PROC)
e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e2:SetRange(LOCATION_HAND)
e2:SetCondition(MTC.StrinovaPUScon)
e2:SetTarget(MTC.StrinovaPUStg)
e2:SetOperation(MTC.StrinovaPUSop)
c:RegisterEffect(e2)
--return
local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e3:SetCode(EVENT_SPSUMMON_SUCCESS)
e3:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e3:SetOperation(MTC.StrinovaPUSreg)
c:RegisterEffect(e3)
end
function MTC.StrinovaChangeZone(c,czop)
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e0:SetCode(EVENT_ADJUST)
e0:SetRange(0xff)
e0:SetCost(MTC.StrinovaChangeZonecost)
e0:SetCondition(MTC.StrinovaChangeZonecon)
e0:SetOperation(czop)
c:RegisterEffect(e0)
end
function MTC.StrinovaPUScon(e,c)
if c==nil then return true end
return Duel.IsExistingMatchingCard(Card.IsType,tp,LOCATION_HAND,0,1,c,TYPE_MONSTER) and Duel.GetLocationCount(tp,LOCATION_SZONE)>0
end
function MTC.StrinovaPUStg(e,tp,eg,ep,ev,re,r,rp,chk,c)
local c=e:GetHandler()
local rg=Duel.GetMatchingGroup(Card.IsType,tp,LOCATION_HAND,0,c,TYPE_MONSTER)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_OPERATECARD)
local sg=rg:Select(tp,1,1,nil)
if sg then
sg:KeepAlive()
e:SetLabelObject(sg)
return true
else return false end
end
function MTC.StrinovaPUSop(e,tp,eg,ep,ev,re,r,rp,c)
local g=e:GetLabelObject()
if Duel.MoveToField(g:GetFirst(),tp,tp,LOCATION_SZONE,POS_FACEUP,true)~=0 and g:GetFirst():IsSetCard(0x9623) then
Duel.Draw(tp,1,REASON_SPSUMMON)
end
g:DeleteGroup()
end
function MTC.StrinovaPUSreg(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F)
e1:SetDescription(1104)
e1:SetCategory(CATEGORY_DRAW)
e1:SetCode(EVENT_PHASE+PHASE_END)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetReset(RESET_EVENT+0x1ee0000+RESET_PHASE+PHASE_END)
e1:SetOperation(MTC.StrinovaPUSretop)
c:RegisterEffect(e1)
end
function MTC.StrinovaPUSretop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if Duel.GetLocationCount(tp,LOCATION_SZONE)>0 then
Duel.MoveToField(c,tp,tp,LOCATION_SZONE,POS_FACEUP,true)
else
Duel.Draw(tp,1,REASON_EFFECT)
end
end
function MTC.StrinovaChangeZonecost(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return true end
if not (c:IsPublic() or c:IsFaceup() or c:IsLocation(LOCATION_GRAVE)) then Duel.ConfirmCards(1-tp,c) end
end
function MTC.StrinovaChangeZonecon(e,tp,eg,ep,ev,re,r,rp)
local tf=false
local c=e:GetHandler()
local loc=0
if c:IsLocation(LOCATION_MZONE) then
loc=1
elseif c:IsLocation(LOCATION_SZONE) then
loc=2
end
if e:GetLabel()==0 or loc==0 then
tf=false
elseif e:GetLabel()~=loc then
tf=true
end
e:SetLabel(loc)
return tf
end
......@@ -90,6 +90,8 @@
#做完大黑开始睡觉 2403798438 12 0x210-0x21f
!setname 0x3210 文艺公司
!setname 0x5210 元素百科全书
!setname 0x211 精粹
#雪 1930937313 13
......@@ -208,6 +210,12 @@
!setname 0x547 HY
!setname 0x3547 CHY
!setname 0x6540 构造体
!setname 0x3548 H.S
!setname 0xc548 空间站
!setname 0x9548 仙舟
!setname 0xa548 星穹列车
!setname 0x5549 星核猎手
!setname 0x3549 毁灭军团
!counter 0x1545 深渊指示物
!counter 0x1540 蕴种印指示物
!counter 0x540 契约指示物
......@@ -224,6 +232,8 @@
!setname 0x402 遗存的
!setname 0x404 乌莉丝
!setname 0x409 罗星
!setname 0x540b 飓风海劫
#◇Mizuhashi Parsee 1772438857 120 0xfa0-0xfaf 0xfb0-0xfbf
!setname 0x3fa0 三葉巧可
......@@ -401,6 +411,7 @@
!setname 0x5a7d 悬丝协律
!setname 0x6a7d 梦中
!setname 0x9a7d 撒野
!setname 0xaa7d 宇宙姬
!counter 0xa7d 女神指示物
!counter 0xa7f 好感指示物
......@@ -663,6 +674,7 @@
!setname 0xa6ee 蜘蛛恐惧
!setname 0xc6ee 毒猎
!setname 0x36ef 兽迹
!setname 0x56ef 无忧梦呓
#DefineSet(code,"LianXing") 恋星
#setname="advency" 冒险遗产
......@@ -911,6 +923,11 @@
!setname 0xd58 影灾
!setname 0xd51 神州折剑
!setname 0xd50 逸闻-
!setname 0xd52 逆熵之创
!setname 0xd53 自命不凡的愚者
!setname 0xd54 H.A.
!setname 0xd56 G.O.F.A
!setname 0x3d56 骑士·月
#VHisc 916214730 332 0x320-0x32f
!setname 0x321 锻溶
......@@ -928,6 +945,7 @@
!setname 0xa32a 电子音姬
!setname 0xc32a 苍岚水师
!setname 0x5327 御溟枢机
!setname 0x6327 圣兽战队
!counter 0x32a 苍岚指示物
!counter 0x132a 寒霜指示物
#SetCard_JDSS 晶导算使
......@@ -1890,6 +1908,7 @@
!setname 0xaf55 隐藏众
!setname 0xcf55 折跃门
!setname 0x3f56 小绘之物
!setname 0x5f56 艾卡后援
!setname 0xf57 特制法属
!setname 0x3f57 特制法属乏术空物
!setname 0xf58 法属乏术
......@@ -2001,6 +2020,14 @@
!setname 0x9a0 Virtual UP
!counter 0x9a0 Virtual指示物
#TL 3161407259 930 0xcf0-0xcff
!setname 0xcf1 寄生兽
!setname 0x3cf4 邪魔
!setname 0xaf2 镜世界
!setname 0x3af2 镜世界魔神
!setname 0xaf3 圣庭
!setname 0x3cf0 魔契
#希腊奶 2471008380 933 0xfc0-0xfcf
!setname 0xfc6 侵晨
!setname 0x3fc3 猩红王座
......@@ -2009,14 +2036,6 @@
!setname 0x3fcb 深海猎人
!counter 0x1fcb 浮泡指示物
#TL 3161407259 930 0xcf0-0xcff
!setname 0xcf1 寄生兽
!setname 0x3cf4 邪魔
!setname 0xaf2 镜世界
!setname 0x3af2 镜世界魔神
!setname 0xaf3 圣庭
!setname 0xcf1 寄生兽
#66君 2104493183 950 0x950-0x95f
!setname 0x3952 嗡嗡军团
......
2025/09/29 11:19:00
\ No newline at end of file
2025/12/10 21:15:00
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment