Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ai
ygopro-222DIY-cards
Commits
0c558460
Commit
0c558460
authored
Jun 05, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
得得得得得
parent
f4a9f8c1
Changes
72
Hide whitespace changes
Inline
Side-by-side
Showing
72 changed files
with
118 additions
and
238 deletions
+118
-238
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/lflist.conf
expansions/lflist.conf
+3
-3
expansions/pics/10158000.jpg
expansions/pics/10158000.jpg
+0
-0
expansions/pics/10158001.jpg
expansions/pics/10158001.jpg
+0
-0
expansions/pics/10158002.jpg
expansions/pics/10158002.jpg
+0
-0
expansions/pics/10158003.jpg
expansions/pics/10158003.jpg
+0
-0
expansions/pics/10158004.jpg
expansions/pics/10158004.jpg
+0
-0
expansions/pics/10158005.jpg
expansions/pics/10158005.jpg
+0
-0
expansions/pics/10158006.jpg
expansions/pics/10158006.jpg
+0
-0
expansions/pics/10158007.jpg
expansions/pics/10158007.jpg
+0
-0
expansions/pics/10158008.jpg
expansions/pics/10158008.jpg
+0
-0
expansions/pics/10158009.jpg
expansions/pics/10158009.jpg
+0
-0
expansions/pics/10158010.jpg
expansions/pics/10158010.jpg
+0
-0
expansions/pics/10158011.jpg
expansions/pics/10158011.jpg
+0
-0
expansions/pics/65047000.jpg
expansions/pics/65047000.jpg
+0
-0
expansions/pics/65047001.jpg
expansions/pics/65047001.jpg
+0
-0
expansions/pics/65047002.jpg
expansions/pics/65047002.jpg
+0
-0
expansions/pics/65047003.jpg
expansions/pics/65047003.jpg
+0
-0
expansions/pics/65047004.jpg
expansions/pics/65047004.jpg
+0
-0
expansions/pics/65047007.jpg
expansions/pics/65047007.jpg
+0
-0
expansions/pics/65047008.jpg
expansions/pics/65047008.jpg
+0
-0
expansions/pics/65047009.jpg
expansions/pics/65047009.jpg
+0
-0
expansions/pics/65047011.jpg
expansions/pics/65047011.jpg
+0
-0
expansions/pics/65047012.jpg
expansions/pics/65047012.jpg
+0
-0
expansions/pics/65047013.jpg
expansions/pics/65047013.jpg
+0
-0
expansions/pics/65047090.jpg
expansions/pics/65047090.jpg
+0
-0
expansions/pics/65047099.jpg
expansions/pics/65047099.jpg
+0
-0
expansions/pics/71437000.jpg
expansions/pics/71437000.jpg
+0
-0
expansions/pics/71437001.jpg
expansions/pics/71437001.jpg
+0
-0
expansions/pics/71437002.jpg
expansions/pics/71437002.jpg
+0
-0
expansions/pics/71437003.jpg
expansions/pics/71437003.jpg
+0
-0
expansions/pics/71437004.jpg
expansions/pics/71437004.jpg
+0
-0
expansions/pics/71437005.jpg
expansions/pics/71437005.jpg
+0
-0
expansions/pics/71437006.jpg
expansions/pics/71437006.jpg
+0
-0
expansions/pics/71437099.jpg
expansions/pics/71437099.jpg
+0
-0
expansions/pics/81048026.jpg
expansions/pics/81048026.jpg
+0
-0
expansions/pics/81048044.jpg
expansions/pics/81048044.jpg
+0
-0
expansions/script/c10158000.lua
expansions/script/c10158000.lua
+3
-3
expansions/script/c10158001.lua
expansions/script/c10158001.lua
+3
-3
expansions/script/c10158002.lua
expansions/script/c10158002.lua
+3
-3
expansions/script/c10158003.lua
expansions/script/c10158003.lua
+5
-5
expansions/script/c10158004.lua
expansions/script/c10158004.lua
+5
-5
expansions/script/c10158005.lua
expansions/script/c10158005.lua
+2
-2
expansions/script/c10158006.lua
expansions/script/c10158006.lua
+4
-4
expansions/script/c10158007.lua
expansions/script/c10158007.lua
+3
-3
expansions/script/c10158008.lua
expansions/script/c10158008.lua
+1
-1
expansions/script/c10158009.lua
expansions/script/c10158009.lua
+4
-4
expansions/script/c10158010.lua
expansions/script/c10158010.lua
+6
-6
expansions/script/c10158011.lua
expansions/script/c10158011.lua
+4
-4
expansions/script/c65047000.lua
expansions/script/c65047000.lua
+1
-1
expansions/script/c65047001.lua
expansions/script/c65047001.lua
+12
-12
expansions/script/c65047002.lua
expansions/script/c65047002.lua
+16
-16
expansions/script/c65047003.lua
expansions/script/c65047003.lua
+17
-17
expansions/script/c65047004.lua
expansions/script/c65047004.lua
+1
-1
expansions/script/c65047007.lua
expansions/script/c65047007.lua
+1
-1
expansions/script/c65047008.lua
expansions/script/c65047008.lua
+1
-1
expansions/script/c65047009.lua
expansions/script/c65047009.lua
+1
-1
expansions/script/c65047011.lua
expansions/script/c65047011.lua
+1
-1
expansions/script/c65047012.lua
expansions/script/c65047012.lua
+1
-1
expansions/script/c65047013.lua
expansions/script/c65047013.lua
+1
-1
expansions/script/c65047090.lua
expansions/script/c65047090.lua
+4
-4
expansions/script/c71437000.lua
expansions/script/c71437000.lua
+1
-1
expansions/script/c71437001.lua
expansions/script/c71437001.lua
+1
-1
expansions/script/c71437002.lua
expansions/script/c71437002.lua
+1
-1
expansions/script/c71437003.lua
expansions/script/c71437003.lua
+1
-1
expansions/script/c71437004.lua
expansions/script/c71437004.lua
+1
-1
expansions/script/c71437005.lua
expansions/script/c71437005.lua
+1
-1
expansions/script/c71437006.lua
expansions/script/c71437006.lua
+1
-1
expansions/script/c71437099.lua
expansions/script/c71437099.lua
+7
-7
expansions/script/c81048026.lua
expansions/script/c81048026.lua
+0
-49
expansions/script/c81048044.lua
expansions/script/c81048044.lua
+0
-72
expansions/strings.conf
expansions/strings.conf
+1
-0
No files found.
expansions/222DIY.cdb
View file @
0c558460
No preview for this file type
expansions/lflist.conf
View file @
0c558460
...
...
@@ -108,6 +108,7 @@
10071201
1
--被蛇神选中的少女 纪代
#101
10150096
0
--融合幻象
10158004
0
--原田秋叶·夏祭
10174036
0
--紧急弹射
10174059
1
--暴君恐兽
#102
...
...
@@ -1331,6 +1332,8 @@
65030107
0
--失络自掘者
65040010
0
--红暗之翼
65040046
0
--深晦的原海
65047002
0
--气氛转变·黑崎智秋
65047004
0
--度假·黑崎智秋
65050042
0
--连理蔷薇 净色
65071030
2
--谐奏放射器
65071049
2
--悲惨圣诞
...
...
@@ -1455,13 +1458,10 @@
81041061
1
--不灭回忆·国见菜子
81042017
1
--属于你的一页
81046034
0
--虚拟主播 西园千草
81047002
0
--气氛转变·黑崎智秋
81047004
0
--度假·黑崎智秋
81048027
1
--猫咖
momoko
81052000
0
--克里斯汀·罗森塔尔
81057000
0
--水晶艾蕾娜
81057009
0
--水晶艾蕾娜·无意义
81058004
0
--原田秋叶·夏祭
#819
81901005
1
--無☆茶☆苦☆茶-喂!
LP
很贵的
nano
!
81901006
0
--無☆茶☆苦☆茶-紫苑这么可爱还是吃不饱
...
...
expansions/pics/
810
58000.jpg
→
expansions/pics/
101
58000.jpg
View file @
0c558460
File moved
expansions/pics/
810
58001.jpg
→
expansions/pics/
101
58001.jpg
View file @
0c558460
File moved
expansions/pics/
810
58002.jpg
→
expansions/pics/
101
58002.jpg
View file @
0c558460
File moved
expansions/pics/
810
58003.jpg
→
expansions/pics/
101
58003.jpg
View file @
0c558460
File moved
expansions/pics/
810
58004.jpg
→
expansions/pics/
101
58004.jpg
View file @
0c558460
File moved
expansions/pics/
810
58005.jpg
→
expansions/pics/
101
58005.jpg
View file @
0c558460
File moved
expansions/pics/
810
58006.jpg
→
expansions/pics/
101
58006.jpg
View file @
0c558460
File moved
expansions/pics/
810
58007.jpg
→
expansions/pics/
101
58007.jpg
View file @
0c558460
File moved
expansions/pics/
810
58008.jpg
→
expansions/pics/
101
58008.jpg
View file @
0c558460
File moved
expansions/pics/
810
58009.jpg
→
expansions/pics/
101
58009.jpg
View file @
0c558460
File moved
expansions/pics/
810
58010.jpg
→
expansions/pics/
101
58010.jpg
View file @
0c558460
File moved
expansions/pics/
810
58011.jpg
→
expansions/pics/
101
58011.jpg
View file @
0c558460
File moved
expansions/pics/
81
047000.jpg
→
expansions/pics/
65
047000.jpg
View file @
0c558460
File moved
expansions/pics/
81
047001.jpg
→
expansions/pics/
65
047001.jpg
View file @
0c558460
File moved
expansions/pics/
81
047002.jpg
→
expansions/pics/
65
047002.jpg
View file @
0c558460
File moved
expansions/pics/
81
047003.jpg
→
expansions/pics/
65
047003.jpg
View file @
0c558460
File moved
expansions/pics/
81
047004.jpg
→
expansions/pics/
65
047004.jpg
View file @
0c558460
File moved
expansions/pics/
81
047007.jpg
→
expansions/pics/
65
047007.jpg
View file @
0c558460
File moved
expansions/pics/
81
047008.jpg
→
expansions/pics/
65
047008.jpg
View file @
0c558460
File moved
expansions/pics/
81
047009.jpg
→
expansions/pics/
65
047009.jpg
View file @
0c558460
File moved
expansions/pics/
81
047011.jpg
→
expansions/pics/
65
047011.jpg
View file @
0c558460
File moved
expansions/pics/
81
047012.jpg
→
expansions/pics/
65
047012.jpg
View file @
0c558460
File moved
expansions/pics/
81
047013.jpg
→
expansions/pics/
65
047013.jpg
View file @
0c558460
File moved
expansions/pics/
81
047090.jpg
→
expansions/pics/
65
047090.jpg
View file @
0c558460
File moved
expansions/pics/
81
047099.jpg
→
expansions/pics/
65
047099.jpg
View file @
0c558460
File moved
expansions/pics/
810
37000.jpg
→
expansions/pics/
714
37000.jpg
View file @
0c558460
File moved
expansions/pics/
810
37001.jpg
→
expansions/pics/
714
37001.jpg
View file @
0c558460
File moved
expansions/pics/
810
37002.jpg
→
expansions/pics/
714
37002.jpg
View file @
0c558460
File moved
expansions/pics/
810
37003.jpg
→
expansions/pics/
714
37003.jpg
View file @
0c558460
File moved
expansions/pics/
810
37004.jpg
→
expansions/pics/
714
37004.jpg
View file @
0c558460
File moved
expansions/pics/
810
37005.jpg
→
expansions/pics/
714
37005.jpg
View file @
0c558460
File moved
expansions/pics/
810
37006.jpg
→
expansions/pics/
714
37006.jpg
View file @
0c558460
File moved
expansions/pics/
810
37099.jpg
→
expansions/pics/
714
37099.jpg
View file @
0c558460
File moved
expansions/pics/81048026.jpg
deleted
100644 → 0
View file @
f4a9f8c1
144 KB
expansions/pics/81048044.jpg
deleted
100644 → 0
View file @
f4a9f8c1
135 KB
expansions/script/c
810
58000.lua
→
expansions/script/c
101
58000.lua
View file @
0c558460
--原田秋叶
local
m
=
810
58000
local
m
=
101
58000
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c26800000.lua"
)
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
810
58000
)
aux
.
AddCodeList
(
c
,
101
58000
)
--xyz summon
aux
.
AddXyzProcedure
(
c
,
nil
,
4
,
2
)
c
:
EnableReviveLimit
()
...
...
@@ -59,7 +59,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
cm
.
tdfilter
(
c
)
return
c
:
IsCode
(
810
58000
)
and
c
:
IsAbleToExtra
()
and
(
c
:
IsFaceup
()
or
c
:
IsLocation
(
LOCATION_GRAVE
))
return
c
:
IsCode
(
101
58000
)
and
c
:
IsAbleToExtra
()
and
(
c
:
IsFaceup
()
or
c
:
IsLocation
(
LOCATION_GRAVE
))
end
function
cm
.
tdtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_ONFIELD
+
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
cm
.
tdfilter
(
chkc
)
end
...
...
expansions/script/c
810
58001.lua
→
expansions/script/c
101
58001.lua
View file @
0c558460
--原田秋叶·落寞
local
m
=
810
58001
local
m
=
101
58001
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
--Special Summon
...
...
@@ -28,7 +28,7 @@ function cm.spcon(e,c)
end
function
cm
.
efcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
r
==
REASON_XYZ
and
c
:
GetReasonCard
():
IsCode
(
810
58000
)
return
r
==
REASON_XYZ
and
c
:
GetReasonCard
():
IsCode
(
101
58000
)
end
function
cm
.
efop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
@@ -54,7 +54,7 @@ function cm.efop(e,tp,eg,ep,ev,re,r,rp)
rc
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
m
,
0
))
end
function
cm
.
ifilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
810
58000
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
101
58000
)
end
function
cm
.
indcon
(
e
)
return
Duel
.
IsExistingMatchingCard
(
cm
.
ifilter
,
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
,
1
,
e
:
GetHandler
())
...
...
expansions/script/c
810
58002.lua
→
expansions/script/c
101
58002.lua
View file @
0c558460
--原田秋叶·雨后
local
m
=
810
58002
local
m
=
101
58002
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c81000000.lua"
)
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
810
58000
)
aux
.
AddCodeList
(
c
,
101
58000
)
c
:
SetSPSummonOnce
(
m
)
--spsummon
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -45,7 +45,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
cm
.
drfilter
(
c
)
return
c
:
IsCode
(
810
58000
)
and
c
:
IsAbleToRemoveAsCost
()
return
c
:
IsCode
(
101
58000
)
and
c
:
IsAbleToRemoveAsCost
()
end
function
cm
.
drcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c
810
58003.lua
→
expansions/script/c
101
58003.lua
View file @
0c558460
--原田秋叶·纯情
local
m
=
810
58003
local
m
=
101
58003
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c81000000.lua"
)
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
810
58000
)
aux
.
AddCodeList
(
c
,
101
58000
)
c
:
EnableReviveLimit
()
aux
.
AddLinkProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsLinkType
,
TYPE_EFFECT
),
2
,
2
,
cm
.
lcheck
)
--code
aux
.
EnableChangeCode
(
c
,
810
58000
,
LOCATION_MZONE
+
LOCATION_GRAVE
)
aux
.
EnableChangeCode
(
c
,
101
58000
,
LOCATION_MZONE
+
LOCATION_GRAVE
)
--Attach
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
...
...
@@ -41,7 +41,7 @@ function cm.xyzcon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
end
function
cm
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_XYZ
)
and
c
:
IsCode
(
810
58000
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_XYZ
)
and
c
:
IsCode
(
101
58000
)
end
function
cm
.
xyztg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
cm
.
filter
(
chkc
)
end
...
...
@@ -60,7 +60,7 @@ function cm.xyzop(e,tp,eg,ep,ev,re,r,rp)
end
function
cm
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
c
:
IsCode
(
810
58000
)
return
c
:
IsCode
(
101
58000
)
and
not
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
ep
==
1
-
tp
and
Duel
.
IsChainNegatable
(
ev
)
and
re
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
)
...
...
expansions/script/c
810
58004.lua
→
expansions/script/c
101
58004.lua
View file @
0c558460
--原田秋叶·夏祭
local
m
=
810
58004
local
m
=
101
58004
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c81000000.lua"
)
function
cm
.
initial_effect
(
c
)
--xyz summon
aux
.
AddXyzProcedure
(
c
,
nil
,
4
,
2
)
c
:
EnableReviveLimit
()
aux
.
EnableChangeCode
(
c
,
810
58000
,
LOCATION_MZONE
+
LOCATION_GRAVE
)
aux
.
EnableChangeCode
(
c
,
101
58000
,
LOCATION_MZONE
+
LOCATION_GRAVE
)
--atk
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
@@ -38,7 +38,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
cm
.
atkfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
810
58000
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
101
58000
)
end
function
cm
.
value
(
e
,
c
)
return
Duel
.
GetMatchingGroupCount
(
cm
.
atkfilter
,
c
:
GetControler
(),
LOCATION_ONFIELD
,
0
,
e
:
GetHandler
())
*
800
...
...
@@ -61,7 +61,7 @@ function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
spct
,
tp
,
LOCATION_EXTRA
)
end
function
cm
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsCode
(
810
58000
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsCode
(
101
58000
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ft
,
c
,
spct
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
),
e
:
GetHandler
(),
e
:
GetValue
()
...
...
@@ -83,7 +83,7 @@ function cm.sscon(e,tp,eg,ep,ev,re,r,rp)
return
c
:
GetPreviousControler
()
==
tp
and
c
:
IsPreviousPosition
(
POS_FACEUP
)
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
end
function
cm
.
ssfilter
(
c
,
e
,
tp
)
return
c
:
IsCode
(
810
58000
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
return
c
:
IsCode
(
101
58000
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
end
function
cm
.
sstg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
ssfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
)
...
...
expansions/script/c
810
58005.lua
→
expansions/script/c
101
58005.lua
View file @
0c558460
--懂个锤子的秋叶
local
m
=
810
58005
local
m
=
101
58005
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c81000000.lua"
)
function
cm
.
initial_effect
(
c
)
...
...
@@ -32,7 +32,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
cm
.
sfilter
(
c
,
e
,
tp
)
return
c
:
IsCode
(
810
58000
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
return
c
:
IsCode
(
101
58000
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
end
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
...
...
expansions/script/c
810
58006.lua
→
expansions/script/c
101
58006.lua
View file @
0c558460
--原田秋叶·海滨
local
m
=
810
58006
local
m
=
101
58006
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c81000000.lua"
)
function
cm
.
initial_effect
(
c
)
...
...
@@ -7,7 +7,7 @@ function cm.initial_effect(c)
c
:
EnableReviveLimit
()
aux
.
AddFusionProcFunRep
(
c
,
cm
.
mfilter
,
2
,
true
)
aux
.
AddContactFusionProcedure
(
c
,
Card
.
IsReleasable
,
LOCATION_MZONE
,
0
,
Duel
.
Release
,
REASON_COST
+
REASON_MATERIAL
)
aux
.
EnableChangeCode
(
c
,
810
58000
,
LOCATION_MZONE
+
LOCATION_GRAVE
)
aux
.
EnableChangeCode
(
c
,
101
58000
,
LOCATION_MZONE
+
LOCATION_GRAVE
)
--spsummon condition
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
@@ -61,7 +61,7 @@ function cm.spcon(e,tp,eg,ep,ev,re,r,rp)
return
g
:
GetCount
()
>
0
and
g
:
FilterCount
(
cm
.
cfilter
,
nil
)
==
g
:
GetCount
()
end
function
cm
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsCode
(
810
58000
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
return
c
:
IsCode
(
101
58000
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
end
function
cm
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
spfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
)
end
...
...
@@ -78,7 +78,7 @@ function cm.sscon(e,tp,eg,ep,ev,re,r,rp)
return
rp
==
1
-
tp
and
e
:
GetHandler
():
IsPreviousControler
(
tp
)
end
function
cm
.
ssfilter
(
c
,
e
,
tp
)
return
c
:
IsCode
(
810
58000
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
not
c
:
IsType
(
TYPE_FUSION
)
return
c
:
IsCode
(
101
58000
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
not
c
:
IsType
(
TYPE_FUSION
)
end
function
cm
.
sstg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
cm
.
ssfilter
(
chkc
,
e
,
tp
)
end
...
...
expansions/script/c
810
58007.lua
→
expansions/script/c
101
58007.lua
View file @
0c558460
--原田秋叶·中华风
local
m
=
810
58007
local
m
=
101
58007
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c81000000.lua"
)
function
cm
.
initial_effect
(
c
)
--xyz summon
aux
.
AddXyzProcedure
(
c
,
nil
,
5
,
3
,
cm
.
ovfilter
,
aux
.
Stringid
(
m
,
0
),
99
)
c
:
EnableReviveLimit
()
aux
.
EnableChangeCode
(
c
,
810
58000
,
LOCATION_MZONE
+
LOCATION_GRAVE
)
aux
.
EnableChangeCode
(
c
,
101
58000
,
LOCATION_MZONE
+
LOCATION_GRAVE
)
--to deck
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
...
@@ -44,7 +44,7 @@ function cm.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
end
function
cm
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsCode
(
810
58000
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
)
and
not
(
c
:
IsRank
(
5
)
and
c
:
IsType
(
TYPE_XYZ
))
return
c
:
IsCode
(
101
58000
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
)
and
not
(
c
:
IsRank
(
5
)
and
c
:
IsType
(
TYPE_XYZ
))
and
(
c
:
IsLocation
(
LOCATION_GRAVE
)
and
Duel
.
GetMZoneCount
(
tp
)
>
0
or
c
:
IsLocation
(
LOCATION_EXTRA
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
)
end
...
...
expansions/script/c
810
58008.lua
→
expansions/script/c
101
58008.lua
View file @
0c558460
--原田秋叶·身代
local
m
=
810
58008
local
m
=
101
58008
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c81000000.lua"
)
function
cm
.
initial_effect
(
c
)
...
...
expansions/script/c
810
58009.lua
→
expansions/script/c
101
58009.lua
View file @
0c558460
--秋叶的中二病
local
m
=
810
58009
local
m
=
101
58009
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c81000000.lua"
)
function
cm
.
initial_effect
(
c
)
...
...
@@ -45,7 +45,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e5
)
end
function
cm
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
810
58000
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
101
58000
)
end
function
cm
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ct
=
Duel
.
GetMatchingGroupCount
(
cm
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
...
...
@@ -60,7 +60,7 @@ function cm.drop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Draw
(
p
,
d
,
REASON_EFFECT
)
end
function
cm
.
spfilter
(
c
,
e
,
tp
)
return
aux
.
IsCodeListed
(
c
,
810
58000
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
aux
.
IsCodeListed
(
c
,
101
58000
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
cm
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ct
=
Duel
.
GetMatchingGroupCount
(
cm
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
...
...
@@ -80,7 +80,7 @@ end
function
cm
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
(
c
:
IsLocation
(
LOCATION_DECK
)
and
Duel
.
GetMZoneCount
(
tp
)
>
0
or
c
:
IsLocation
(
LOCATION_EXTRA
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
)
and
aux
.
IsCodeListed
(
c
,
810
58000
)
or
c
:
IsLocation
(
LOCATION_EXTRA
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
)
and
aux
.
IsCodeListed
(
c
,
101
58000
)
end
function
cm
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ct
=
Duel
.
GetMatchingGroupCount
(
cm
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
...
...
expansions/script/c
810
58010.lua
→
expansions/script/c
101
58010.lua
View file @
0c558460
--原田秋叶·大小姐
local
m
=
810
58010
local
m
=
101
58010
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c81000000.lua"
)
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
810
58000
)
aux
.
AddCodeList
(
c
,
101
58000
)
--xyz summon
aux
.
AddXyzProcedure
(
c
,
nil
,
4
,
2
)
c
:
EnableReviveLimit
()
aux
.
EnableChangeCode
(
c
,
810
58000
,
LOCATION_MZONE
+
LOCATION_GRAVE
)
aux
.
EnableChangeCode
(
c
,
101
58000
,
LOCATION_MZONE
+
LOCATION_GRAVE
)
--atkup
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
...
...
@@ -35,7 +35,7 @@ function cm.atkcost(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
end
function
cm
.
atkfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
810
58000
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
101
58000
)
end
function
cm
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetMatchingGroupCount
(
cm
.
atkfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
nil
)
>
0
end
...
...
@@ -58,8 +58,8 @@ function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
IsAbleToEnterBP
()
end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
Card
.
IsCode
,
1
,
e
:
GetHandler
(),
810
58000
)
end
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
Card
.
IsCode
,
1
,
12
,
e
:
GetHandler
(),
810
58000
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
Card
.
IsCode
,
1
,
e
:
GetHandler
(),
101
58000
)
end
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
Card
.
IsCode
,
1
,
12
,
e
:
GetHandler
(),
101
58000
)
local
ct
=
Duel
.
Release
(
g
,
REASON_COST
)
e
:
SetLabel
(
ct
)
end
...
...
expansions/script/c
810
58011.lua
→
expansions/script/c
101
58011.lua
View file @
0c558460
--满月叶
local
m
=
810
58011
local
m
=
101
58011
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c81000000.lua"
)
function
cm
.
initial_effect
(
c
)
...
...
@@ -26,7 +26,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
cm
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsCode
(
810
58000
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
return
c
:
IsCode
(
101
58000
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
end
function
cm
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
spfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
)
...
...
@@ -44,12 +44,12 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
cm
.
filter1
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
810
58000
)
and
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
101
58000
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
c
)
and
aux
.
MustMaterialCheck
(
c
,
tp
,
EFFECT_MUST_BE_XMATERIAL
)
end
function
cm
.
filter2
(
c
,
e
,
tp
,
mc
)
return
aux
.
IsCodeListed
(
c
,
810
58000
)
and
c
:
IsType
(
TYPE_XYZ
)
and
not
c
:
IsCode
(
mc
:
GetOriginalCode
())
and
mc
:
IsCanBeXyzMaterial
(
c
)
return
aux
.
IsCodeListed
(
c
,
101
58000
)
and
c
:
IsType
(
TYPE_XYZ
)
and
not
c
:
IsCode
(
mc
:
GetOriginalCode
())
and
mc
:
IsCanBeXyzMaterial
(
c
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_XYZ
,
tp
,
false
,
false
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
mc
,
c
)
>
0
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
...
...
expansions/script/c
81
047000.lua
→
expansions/script/c
65
047000.lua
View file @
0c558460
--黑崎智秋
local
m
=
81
047000
local
m
=
65
047000
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c81000000.lua"
)
function
cm
.
initial_effect
(
c
)
...
...
expansions/script/c
81
047001.lua
→
expansions/script/c
65
047001.lua
View file @
0c558460
--花嫁·黑崎智秋
function
c
81
047001
.
initial_effect
(
c
)
function
c
65
047001
.
initial_effect
(
c
)
--set
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
@@ -12,20 +12,20 @@ function c81047001.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetRange
(
LOCATION_HAND
+
LOCATION_GRAVE
)
e2
:
SetCountLimit
(
1
,
81
047001
)
e2
:
SetTarget
(
c
81
047001
.
tg
)
e2
:
SetOperation
(
c
81
047001
.
op
)
e2
:
SetCountLimit
(
1
,
65
047001
)
e2
:
SetTarget
(
c
65
047001
.
tg
)
e2
:
SetOperation
(
c
65
047001
.
op
)
c
:
RegisterEffect
(
e2
)
local
e3
=
e2
:
Clone
()
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetCode
(
EVENT_CHAINING
)
e3
:
SetCondition
(
c
81
047001
.
ccon
)
e3
:
SetCondition
(
c
65
047001
.
ccon
)
c
:
RegisterEffect
(
e3
)
end
function
c
81
047001
.
ccon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c
65
047001
.
ccon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
~=
tp
and
ep
~=
tp
end
function
c
81
047001
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c
65
047001
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsFacedown
,
tp
,
LOCATION_SZONE
,
0
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsFacedown
,
tp
,
LOCATION_SZONE
,
0
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
1
,
tp
,
0
)
...
...
@@ -35,17 +35,17 @@ function c81047001.tg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
tp
,
LOCATION_GRAVE
)
end
end
function
c
81
047001
.
thfil
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSSetable
()
and
not
c
:
IsCode
(
81
047001
)
function
c
65
047001
.
thfil
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSSetable
()
and
not
c
:
IsCode
(
65
047001
)
end
function
c
81
047001
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c
65
047001
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
if
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
~=
0
and
e
:
GetHandler
():
IsLocation
(
LOCATION_HAND
+
LOCATION_GRAVE
)
then
if
Duel
.
SpecialSummon
(
e
:
GetHandler
(),
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c
81047001
.
thfil
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
81
047001
,
0
))
then
if
Duel
.
SpecialSummon
(
e
:
GetHandler
(),
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c
65047001
.
thfil
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
65
047001
,
0
))
then
Duel
.
BreakEffect
()
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c
81
047001
.
thfil
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c
65
047001
.
thfil
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
Duel
.
SSet
(
tp
,
g
:
GetFirst
())
end
end
...
...
expansions/script/c
81
047002.lua
→
expansions/script/c
65
047002.lua
View file @
0c558460
--毕业鸽·黑崎智秋
function
c
81
047002
.
initial_effect
(
c
)
function
c
65
047002
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
aux
.
AddLinkProcedure
(
c
,
c
81
047002
.
matfilter
,
2
,
2
)
aux
.
AddLinkProcedure
(
c
,
c
65
047002
.
matfilter
,
2
,
2
)
--negate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_NEGATE
+
CATEGORY_DESTROY
)
...
...
@@ -9,11 +9,11 @@ function c81047002.initial_effect(c)
e1
:
SetCode
(
EVENT_CHAINING
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DAMAGE_CAL
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCountLimit
(
1
,
81
047002
)
e1
:
SetCondition
(
c
81
047002
.
discon
)
e1
:
SetCost
(
c
81
047002
.
discost
)
e1
:
SetTarget
(
c
81
047002
.
distg
)
e1
:
SetOperation
(
c
81
047002
.
disop
)
e1
:
SetCountLimit
(
1
,
65
047002
)
e1
:
SetCondition
(
c
65
047002
.
discon
)
e1
:
SetCost
(
c
65
047002
.
discost
)
e1
:
SetTarget
(
c
65
047002
.
distg
)
e1
:
SetOperation
(
c
65
047002
.
disop
)
c
:
RegisterEffect
(
e1
)
--cannot be target
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -21,7 +21,7 @@ function c81047002.initial_effect(c)
e2
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e2
:
SetCode
(
EFFECT_CANNOT_BE_BATTLE_TARGET
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCondition
(
c
81
047002
.
tgcon
)
e2
:
SetCondition
(
c
65
047002
.
tgcon
)
e2
:
SetValue
(
aux
.
imval1
)
c
:
RegisterEffect
(
e2
)
local
e3
=
e2
:
Clone
()
...
...
@@ -29,13 +29,13 @@ function c81047002.initial_effect(c)
e3
:
SetValue
(
aux
.
tgoval
)
c
:
RegisterEffect
(
e3
)
end
function
c
81
047002
.
matfilter
(
c
)
function
c
65
047002
.
matfilter
(
c
)
return
c
:
IsLinkRace
(
RACE_FAIRY
)
and
c
:
IsAttackBelow
(
1000
)
end
function
c
81
047002
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c
65
047002
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
==
1
-
tp
and
not
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
Duel
.
IsChainNegatable
(
ev
)
and
e
:
GetHandler
():
GetAttack
()
<=
1000
end
function
c
81
047002
.
discost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c
65
047002
.
discost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
local
c
=
e
:
GetHandler
()
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -46,21 +46,21 @@ function c81047002.discost(e,tp,eg,ep,ev,re,r,rp,chk)
e1
:
SetValue
(
300
)
c
:
RegisterEffect
(
e1
)
end
function
c
81
047002
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c
65
047002
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_NEGATE
,
eg
,
1
,
0
,
0
)
if
re
:
GetHandler
():
IsDestructable
()
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
eg
,
1
,
0
,
0
)
end
end
function
c
81
047002
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c
65
047002
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
function
c
81
047002
.
tgfilter
(
c
,
atk
)
function
c
65
047002
.
tgfilter
(
c
,
atk
)
return
c
:
IsFaceup
()
and
c
:
GetAttack
()
<
atk
and
c
:
IsRace
(
RACE_FAIRY
)
and
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
end
function
c
81
047002
.
tgcon
(
e
)
return
Duel
.
IsExistingMatchingCard
(
c
81
047002
.
tgfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
e
:
GetHandler
():
GetAttack
())
and
e
:
GetHandler
():
GetAttack
()
<=
800
function
c
65
047002
.
tgcon
(
e
)
return
Duel
.
IsExistingMatchingCard
(
c
65
047002
.
tgfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
e
:
GetHandler
():
GetAttack
())
and
e
:
GetHandler
():
GetAttack
()
<=
800
end
expansions/script/c
81
047003.lua
→
expansions/script/c
65
047003.lua
View file @
0c558460
--黑崎智秋的学生时代
function
c
81
047003
.
initial_effect
(
c
)
function
c
65
047003
.
initial_effect
(
c
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
81
047003
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetCondition
(
c
81
047003
.
condition
)
e1
:
SetCost
(
c
81
047003
.
cost
)
e1
:
SetTarget
(
c
81
047003
.
target
)
e1
:
SetOperation
(
c
81
047003
.
activate
)
e1
:
SetCountLimit
(
1
,
65
047003
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetCondition
(
c
65
047003
.
condition
)
e1
:
SetCost
(
c
65
047003
.
cost
)
e1
:
SetTarget
(
c
65
047003
.
target
)
e1
:
SetOperation
(
c
65
047003
.
activate
)
c
:
RegisterEffect
(
e1
)
end
function
c
81
047003
.
ntfil
(
c
)
function
c
65
047003
.
ntfil
(
c
)
return
not
c
:
IsType
(
TYPE_SPELL
)
end
function
c
81
047003
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
tp
and
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
and
Duel
.
GetMatchingGroupCount
(
c
81
047003
.
ntfil
,
tp
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
0
,
nil
)
==
0
function
c
65
047003
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
tp
and
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
and
Duel
.
GetMatchingGroupCount
(
c
65
047003
.
ntfil
,
tp
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
0
,
nil
)
==
0
end
function
c
81
047003
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c
65
047003
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetActivityCount
(
tp
,
ACTIVITY_NORMALSUMMON
)
==
0
and
Duel
.
GetActivityCount
(
tp
,
ACTIVITY_SPSUMMON
)
==
0
and
Duel
.
GetActivityCount
(
tp
,
ACTIVITY_FLIPSUMMON
)
==
0
end
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
@@ -38,16 +38,16 @@ function c81047003.cost(e,tp,eg,ep,ev,re,r,rp,chk)
e4
:
SetCode
(
EFFECT_CANNOT_FLIP_SUMMON
)
Duel
.
RegisterEffect
(
e4
,
tp
)
end
function
c
81
047003
.
filter
(
c
)
function
c
65
047003
.
filter
(
c
)
return
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsAbleToHand
()
end
function
c
81
047003
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c
81
047003
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
function
c
65
047003
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c
65
047003
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
c
81
047003
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c
65
047003
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c
81
047003
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c
65
047003
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
...
...
@@ -58,9 +58,9 @@ function c81047003.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetCode
(
EFFECT_CANNOT_ACTIVATE
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetValue
(
c
81
047003
.
aclimit
)
e1
:
SetValue
(
c
65
047003
.
aclimit
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
function
c
81
047003
.
aclimit
(
e
,
re
,
tp
)
function
c
65
047003
.
aclimit
(
e
,
re
,
tp
)
return
not
re
:
IsActiveType
(
TYPE_SPELL
)
end
expansions/script/c
81
047004.lua
→
expansions/script/c
65
047004.lua
View file @
0c558460
--度假·黑崎智秋
local
m
=
81
047004
local
m
=
65
047004
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c81000000.lua"
)
function
cm
.
initial_effect
(
c
)
...
...
expansions/script/c
81
047007.lua
→
expansions/script/c
65
047007.lua
View file @
0c558460
--不存的优雅·黑崎智秋
local
m
=
81
047007
local
m
=
65
047007
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
--xyz summon
...
...
expansions/script/c
81
047008.lua
→
expansions/script/c
65
047008.lua
View file @
0c558460
--庭院之思·黑崎智秋
local
m
=
81
047008
local
m
=
65
047008
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c81000000.lua"
)
function
cm
.
initial_effect
(
c
)
...
...
expansions/script/c
81
047009.lua
→
expansions/script/c
65
047009.lua
View file @
0c558460
--滨海一夏·黑崎智秋
local
m
=
81
047009
local
m
=
65
047009
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c81000000.lua"
)
function
cm
.
initial_effect
(
c
)
...
...
expansions/script/c
81
047011.lua
→
expansions/script/c
65
047011.lua
View file @
0c558460
--轻熟感·黑崎智秋
local
m
=
81
047011
local
m
=
65
047011
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
--link summon
...
...
expansions/script/c
81
047012.lua
→
expansions/script/c
65
047012.lua
View file @
0c558460
--29岁的人生·黑崎智秋
local
m
=
81
047012
local
m
=
65
047012
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c81000000.lua"
)
function
cm
.
initial_effect
(
c
)
...
...
expansions/script/c
81
047013.lua
→
expansions/script/c
65
047013.lua
View file @
0c558460
--文学少女·黑崎智秋
local
m
=
81
047013
local
m
=
65
047013
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c81000000.lua"
)
function
cm
.
initial_effect
(
c
)
...
...
expansions/script/c
81
047090.lua
→
expansions/script/c
65
047090.lua
View file @
0c558460
--事不关己之人
local
m
=
81
047090
local
m
=
65
047090
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c81000000.lua"
)
function
cm
.
initial_effect
(
c
)
...
...
@@ -28,7 +28,7 @@ function cm.tktg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
ft
==
0
then
loc
=
LOCATION_MZONE
end
e
:
SetLabel
(
loc
)
return
Duel
.
IsExistingTarget
(
Card
.
IsReleasableByEffect
,
tp
,
loc
,
0
,
1
,
nil
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
81
047099
,
0
,
0x4011
,
0
,
0
,
5
,
RACE_FIEND
,
ATTRIBUTE_LIGHT
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
65
047099
,
0
,
0x4011
,
0
,
0
,
5
,
RACE_FIEND
,
ATTRIBUTE_LIGHT
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsReleasableByEffect
,
tp
,
e
:
GetLabel
(),
0
,
1
,
1
,
nil
)
...
...
@@ -40,8 +40,8 @@ function cm.tkop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
Release
(
tc
,
REASON_EFFECT
)
~=
0
then
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
81
047099
,
0
,
0x4011
,
0
,
0
,
5
,
RACE_FIEND
,
ATTRIBUTE_LIGHT
)
then
return
end
local
token
=
Duel
.
CreateToken
(
tp
,
81
047099
)
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
65
047099
,
0
,
0x4011
,
0
,
0
,
5
,
RACE_FIEND
,
ATTRIBUTE_LIGHT
)
then
return
end
local
token
=
Duel
.
CreateToken
(
tp
,
65
047099
)
Duel
.
SpecialSummon
(
token
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
expansions/script/c
810
37000.lua
→
expansions/script/c
714
37000.lua
View file @
0c558460
--神代心春
local
m
=
810
37000
local
m
=
714
37000
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c81000000.lua"
)
function
cm
.
initial_effect
(
c
)
...
...
expansions/script/c
810
37001.lua
→
expansions/script/c
714
37001.lua
View file @
0c558460
--神代心春 Vol.新年
local
m
=
810
37001
local
m
=
714
37001
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c81000000.lua"
)
function
cm
.
initial_effect
(
c
)
...
...
expansions/script/c
810
37002.lua
→
expansions/script/c
714
37002.lua
View file @
0c558460
--神代心春 Vol.冬日
local
m
=
810
37002
local
m
=
714
37002
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c81000000.lua"
)
function
cm
.
initial_effect
(
c
)
...
...
expansions/script/c
810
37003.lua
→
expansions/script/c
714
37003.lua
View file @
0c558460
--神代心春 Vol.乖巧
local
m
=
810
37003
local
m
=
714
37003
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c81000000.lua"
)
function
cm
.
initial_effect
(
c
)
...
...
expansions/script/c
810
37004.lua
→
expansions/script/c
714
37004.lua
View file @
0c558460
--神代心春 Vol.巧克力
local
m
=
810
37004
local
m
=
714
37004
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c81000000.lua"
)
function
cm
.
initial_effect
(
c
)
...
...
expansions/script/c
810
37005.lua
→
expansions/script/c
714
37005.lua
View file @
0c558460
--神代心春 Vol.归去来兮
local
m
=
810
37005
local
m
=
714
37005
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c81000000.lua"
)
function
cm
.
initial_effect
(
c
)
...
...
expansions/script/c
810
37006.lua
→
expansions/script/c
714
37006.lua
View file @
0c558460
--神代心春 Vol.优雅
local
m
=
810
37006
local
m
=
714
37006
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c81000000.lua"
)
function
cm
.
initial_effect
(
c
)
...
...
expansions/script/c
810
37099.lua
→
expansions/script/c
714
37099.lua
View file @
0c558460
--忆梦时光
local
m
=
810
37099
local
m
=
714
37099
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c81000000.lua"
)
function
cm
.
initial_effect
(
c
)
c
:
EnableCounterPermit
(
0x
815
)
c
:
SetCounterLimit
(
0x
815
,
6
)
c
:
EnableCounterPermit
(
0x
714
)
c
:
SetCounterLimit
(
0x
714
,
6
)
--Activate
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetCategory
(
CATEGORY_DICE
+
CATEGORY_COUNTER
)
...
...
@@ -40,7 +40,7 @@ function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return
not
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
e
:
GetHandler
())
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsCanHaveCounter
(
0x
815
)
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsCanHaveCounter
(
0x
714
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DICE
,
nil
,
0
,
tp
,
1
)
end
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
@@ -48,7 +48,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local
dc
=
Duel
.
TossDice
(
tp
,
1
)
if
dc
>
6
then
dc
=
6
end
if
c
:
IsRelateToEffect
(
e
)
then
c
:
AddCounter
(
0x
815
,
dc
)
c
:
AddCounter
(
0x
714
,
dc
)
end
end
function
cm
.
bfilter
(
c
)
...
...
@@ -62,11 +62,11 @@ function cm.efilter(e,re)
end
function
cm
.
dicecon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
c
:
GetCounter
(
0x
815
)
>
0
and
c
:
GetFlagEffect
(
m
)
==
0
return
c
:
GetCounter
(
0x
714
)
>
0
and
c
:
GetFlagEffect
(
m
)
==
0
end
function
cm
.
diceop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
cc
=
Duel
.
GetCurrentChain
()
local
sc
=
e
:
GetHandler
():
GetCounter
(
0x
815
)
local
sc
=
e
:
GetHandler
():
GetCounter
(
0x
714
)
local
cid
=
Duel
.
GetChainInfo
(
cc
,
CHAININFO_CHAIN_ID
)
if
aux
.
dice_chain_id
~=
cid
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
1
))
then
Duel
.
Hint
(
HINT_CARD
,
0
,
m
)
...
...
expansions/script/c81048026.lua
deleted
100644 → 0
View file @
f4a9f8c1
--源泉 momoko
local
m
=
81048026
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c81000000.lua"
)
function
cm
.
initial_effect
(
c
)
--special summon
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_FIELD
)
e0
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e0
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
)
e0
:
SetRange
(
LOCATION_HAND
)
e0
:
SetCondition
(
cm
.
spcon
)
c
:
RegisterEffect
(
e0
)
--set
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCountLimit
(
1
,
m
)
e1
:
SetCost
(
cm
.
stcost
)
e1
:
SetTarget
(
cm
.
sttg
)
e1
:
SetOperation
(
cm
.
stop
)
c
:
RegisterEffect
(
e1
)
end
function
cm
.
mfilter
(
c
,
tp
)
return
c
:
GetSequence
()
>=
5
and
c
:
IsControler
(
tp
)
end
function
cm
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tp
=
e
:
GetHandlerPlayer
()
return
not
Duel
.
IsExistingMatchingCard
(
cm
.
mfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
tp
)
end
function
cm
.
stcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsReleasable
()
end
Duel
.
Release
(
e
:
GetHandler
(),
REASON_COST
)
end
function
cm
.
stfilter
(
c
)
return
c
:
IsSetCard
(
0xfa2
)
and
c
:
IsSSetable
()
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
end
function
cm
.
sttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
stfilter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
end
function
cm
.
stop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SET
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
cm
.
stfilter
),
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SSet
(
tp
,
tc
)
end
end
expansions/script/c81048044.lua
deleted
100644 → 0
View file @
f4a9f8c1
--晨曦妆容 三葉巧可
local
m
=
81048044
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c81000000.lua"
)
function
cm
.
initial_effect
(
c
)
--damage
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_DAMAGE
)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetRange
(
LOCATION_MZONE
+
LOCATION_HAND
)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_MAIN_END
)
e1
:
SetCountLimit
(
1
,
m
)
e1
:
SetCondition
(
cm
.
damcon
)
e1
:
SetCost
(
cm
.
damcost
)
e1
:
SetTarget
(
cm
.
damtg
)
e1
:
SetOperation
(
cm
.
damop
)
c
:
RegisterEffect
(
e1
)
--spsummon
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCountLimit
(
1
,
m
)
e2
:
SetCondition
(
cm
.
spcon
)
e2
:
SetTarget
(
cm
.
sptg
)
e2
:
SetOperation
(
cm
.
spop
)
c
:
RegisterEffect
(
e2
)
end
function
cm
.
damfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x3fa0
)
and
not
c
:
IsCode
(
m
)
end
function
cm
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
cm
.
damfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
function
cm
.
damcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToGraveAsCost
()
end
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_COST
)
end
function
cm
.
damtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
SetTargetPlayer
(
1
-
tp
)
Duel
.
SetTargetParam
(
800
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
1
-
tp
,
800
)
end
function
cm
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
p
,
d
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
,
CHAININFO_TARGET_PARAM
)
Duel
.
Damage
(
p
,
d
,
REASON_EFFECT
)
end
function
cm
.
filter
(
c
)
return
c
:
IsCode
(
12031000
)
and
c
:
IsFaceup
()
end
function
cm
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
function
cm
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_REDIRECT
)
e1
:
SetValue
(
LOCATION_REMOVED
)
c
:
RegisterEffect
(
e1
,
true
)
end
end
expansions/strings.conf
View file @
0c558460
...
...
@@ -1149,6 +1149,7 @@
!
setname
0
xc714
异梦像
!
setname
0
xd714
构异梦像
!
setname
0
xe714
幻异梦像
!
counter
0
x714
忆梦指示物
#飄上月球の不死煙 2338626051 724 0x720-0x72f
!
setname
0
x720
大庭院
...
...
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