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
REIKAI
ygopro-222DIY-cards
Commits
ad409764
Commit
ad409764
authored
Nov 10, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
54188
parent
797e8d65
Changes
14
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
109 additions
and
111 deletions
+109
-111
expansions/FiNALE.cdb
expansions/FiNALE.cdb
+0
-0
expansions/lflist.conf
expansions/lflist.conf
+1
-2
expansions/pics/98664042.jpg
expansions/pics/98664042.jpg
+0
-0
expansions/pics/98664043.jpg
expansions/pics/98664043.jpg
+0
-0
expansions/pics/98664044.jpg
expansions/pics/98664044.jpg
+0
-0
expansions/pics/98664045.jpg
expansions/pics/98664045.jpg
+0
-0
expansions/pics/98664046.jpg
expansions/pics/98664046.jpg
+0
-0
expansions/pics/98664047.jpg
expansions/pics/98664047.jpg
+0
-0
expansions/script/c98664042.lua
expansions/script/c98664042.lua
+5
-5
expansions/script/c98664043.lua
expansions/script/c98664043.lua
+21
-21
expansions/script/c98664044.lua
expansions/script/c98664044.lua
+16
-16
expansions/script/c98664046.lua
expansions/script/c98664046.lua
+33
-33
expansions/script/c98664047.lua
expansions/script/c98664047.lua
+25
-25
expansions/strings.conf
expansions/strings.conf
+8
-9
No files found.
expansions/FiNALE.cdb
View file @
ad409764
No preview for this file type
expansions/lflist.conf
View file @
ad409764
...
...
@@ -1713,8 +1713,6 @@
63924105
0
--米诺陶诺斯
63924110
1
--米诺陶诺斯-无法走出的迷宫
63924120
1
--天降的波塞冬之宝礼
#640
64000044
0
--富糖甜点史莱姆
#648
64800000
0
--哎呀,已经变成井的牺牲品了吗
64800015
0
--杰作拼图
7067
-『太阳』
...
...
@@ -2075,6 +2073,7 @@
98630701
1
--萝莉控诱捕器
98639500
0
--被打扰的冬眠
98657312
1
--库拉丽丝-心配
98664044
0
--富糖甜点史莱姆
98666901
0
--寒灵刻使 雾水
98670704
1
--破坏能力者 枯轲
98670705
1
--除外能力者 枯厄
...
...
expansions/pics/
64000
042.jpg
→
expansions/pics/
98664
042.jpg
View file @
ad409764
File moved
expansions/pics/
64000
043.jpg
→
expansions/pics/
98664
043.jpg
View file @
ad409764
File moved
expansions/pics/
64000
044.jpg
→
expansions/pics/
98664
044.jpg
View file @
ad409764
File moved
expansions/pics/
64000
045.jpg
→
expansions/pics/
98664
045.jpg
View file @
ad409764
File moved
expansions/pics/
64000
046.jpg
→
expansions/pics/
98664
046.jpg
View file @
ad409764
File moved
expansions/pics/
64000
047.jpg
→
expansions/pics/
98664
047.jpg
View file @
ad409764
File moved
expansions/script/c
64000
042.lua
→
expansions/script/c
98664
042.lua
View file @
ad409764
--龙族收容之壶
local
m
=
64000
042
local
m
=
98664
042
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
--Activate
...
...
@@ -14,7 +14,7 @@ function cm.initial_effect(c)
e2
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e2
:
SetTargetRange
(
0xff
,
0xff
)
e2
:
SetCode
(
EFFECT_DISABLE
)
e2
:
SetTarget
(
c
64000
042
.
distg
)
e2
:
SetTarget
(
c
98664
042
.
distg
)
c
:
RegisterEffect
(
e2
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
@@ -22,14 +22,14 @@ function cm.initial_effect(c)
e3
:
SetCode
(
EFFECT_CANNOT_ACTIVATE
)
e3
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e3
:
SetTargetRange
(
1
,
1
)
e3
:
SetValue
(
c
64000
042
.
aclimit
)
e3
:
SetValue
(
c
98664
042
.
aclimit
)
c
:
RegisterEffect
(
e3
)
end
function
c
64000
042
.
aclimit
(
e
,
re
,
tp
)
function
c
98664
042
.
aclimit
(
e
,
re
,
tp
)
return
(
re
:
GetHandler
():
IsRace
(
RACE_DRAGON
)
or
re
:
GetHandler
():
IsRace
(
RACE_DINOSAUR
)
or
re
:
GetHandler
():
IsRace
(
RACE_SEASERPENT
)
or
re
:
GetHandler
():
IsRace
(
RACE_WYRM
))
and
re
:
IsActiveType
(
TYPE_MONSTER
)
end
function
c
64000
042
.
distg
(
e
,
c
)
function
c
98664
042
.
distg
(
e
,
c
)
return
(
c
:
IsRace
(
RACE_DRAGON
)
or
c
:
IsRace
(
RACE_DINOSAUR
)
or
c
:
IsRace
(
RACE_SEASERPENT
)
or
c
:
IsRace
(
RACE_WYRM
))
and
c
:
IsType
(
TYPE_EFFECT
)
end
\ No newline at end of file
expansions/script/c
64000
043.lua
→
expansions/script/c
98664
043.lua
View file @
ad409764
--魔陷烹调师
local
m
=
64000
043
local
m
=
98664
043
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
64000
043
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
98664
043
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_DECKDES
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCountLimit
(
1
,
EFFECT_COUNT_CODE_SINGLE
)
e1
:
SetTarget
(
c
64000
043
.
sptg1
)
e1
:
SetOperation
(
c
64000
043
.
spop1
)
e1
:
SetTarget
(
c
98664
043
.
sptg1
)
e1
:
SetOperation
(
c
98664
043
.
spop1
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
64000
043
,
1
))
e2
:
SetDescription
(
aux
.
Stringid
(
98664
043
,
1
))
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
,
EFFECT_COUNT_CODE_SINGLE
)
e2
:
SetTarget
(
c
64000
043
.
sptg2
)
e2
:
SetOperation
(
c
64000
043
.
spop2
)
e2
:
SetTarget
(
c
98664
043
.
sptg2
)
e2
:
SetOperation
(
c
98664
043
.
spop2
)
c
:
RegisterEffect
(
e2
)
end
function
c
64000
043
.
sptg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
tp
,
64000
044
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c
64000
043
.
filter
,
tp
,
LOCATION_REMOVED
+
LOCATION_GRAVE
,
0
,
1
,
e
:
GetHandler
(),
e
,
tp
)
end
Duel
.
RegisterFlagEffect
(
tp
,
64000
044
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
function
c
98664
043
.
sptg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
tp
,
98664
044
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c
98664
043
.
filter
,
tp
,
LOCATION_REMOVED
+
LOCATION_GRAVE
,
0
,
1
,
e
:
GetHandler
(),
e
,
tp
)
end
Duel
.
RegisterFlagEffect
(
tp
,
98664
044
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_REMOVED
+
LOCATION_GRAVE
)
end
function
c
64000
043
.
spop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c
98664
043
.
spop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
c
64000
043
.
filter
),
tp
,
LOCATION_REMOVED
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
c
98664
043
.
filter
),
tp
,
LOCATION_REMOVED
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
#
g
>
0
then
local
tc
=
g
:
GetFirst
()
local
e1
=
Effect
.
CreateEffect
(
tc
)
...
...
@@ -65,14 +65,14 @@ function c64000043.spop2(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP_DEFENSE
)
end
end
function
c
64000
043
.
sptg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
tp
,
64000
043
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>
0
end
Duel
.
RegisterFlagEffect
(
tp
,
64000
043
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
function
c
98664
043
.
sptg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
tp
,
98664
043
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>
0
end
Duel
.
RegisterFlagEffect
(
tp
,
98664
043
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
function
c
64000
043
.
filter
(
c
,
e
,
tp
)
function
c
98664
043
.
filter
(
c
,
e
,
tp
)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
c
:
GetCode
(),
nil
,
TYPE_MONSTER
,
500
,
500
,
4
,
RACE_FIEND
,
ATTRIBUTE_DARK
,
POS_FACEUP_DEFENSE
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
true
,
POS_FACEUP_DEFENSE
)
end
function
c
64000
043
.
spop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c
98664
043
.
spop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
<
1
then
return
end
local
ct
=
math.min
(
5
,
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
))
if
ct
>
0
then
...
...
@@ -82,14 +82,14 @@ function c64000043.spop1(e,tp,eg,ep,ev,re,r,rp)
end
local
ac
=
1
if
ct
>
1
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
64000
043
,
3
))
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
98664
043
,
3
))
ac
=
Duel
.
AnnounceNumber
(
tp
,
table.unpack
(
t
))
end
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
ac
)
Duel
.
ConfirmCards
(
tp
,
g
)
if
g
:
IsExists
(
c
64000043
.
filter
,
1
,
nil
,
e
,
tp
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
64000
043
,
2
))
then
if
g
:
IsExists
(
c
98664043
.
filter
,
1
,
nil
,
e
,
tp
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
98664
043
,
2
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sg
=
g
:
FilterSelect
(
tp
,
c
64000
043
.
filter
,
1
,
1
,
nil
,
e
,
tp
)
local
sg
=
g
:
FilterSelect
(
tp
,
c
98664
043
.
filter
,
1
,
1
,
nil
,
e
,
tp
)
Duel
.
DisableShuffleCheck
()
local
tc
=
sg
:
GetFirst
()
local
e1
=
Effect
.
CreateEffect
(
tc
)
...
...
expansions/script/c
64000
044.lua
→
expansions/script/c
98664
044.lua
View file @
ad409764
--富 糖 甜 点 史 莱 姆
local
m
=
64000
044
local
m
=
98664
044
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
--fusion substitute
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_FUSION_SUBSTITUTE
)
e1
:
SetCondition
(
c
64000
044
.
subcon
)
e1
:
SetCondition
(
c
98664
044
.
subcon
)
c
:
RegisterEffect
(
e1
)
--spsummon
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_FUSION_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_HAND
+
LOCATION_MZONE
)
e2
:
SetCost
(
c
64000
044
.
sfcost
)
e2
:
SetTarget
(
c
64000
044
.
sftg
)
e2
:
SetOperation
(
c
64000
044
.
sfop
)
e2
:
SetCost
(
c
98664
044
.
sfcost
)
e2
:
SetTarget
(
c
98664
044
.
sftg
)
e2
:
SetOperation
(
c
98664
044
.
sfop
)
c
:
RegisterEffect
(
e2
)
end
function
c
64000
044
.
subcon
(
e
)
function
c
98664
044
.
subcon
(
e
)
return
e
:
GetHandler
():
IsLocation
(
0x36
)
end
function
c
64000
044
.
sfcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c
98664
044
.
sfcost
(
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
c
64000
044
.
filter1
(
c
,
e
)
function
c
98664
044
.
filter1
(
c
,
e
)
return
not
c
:
IsImmuneToEffect
(
e
)
end
function
c
64000
044
.
filter2
(
c
,
e
,
tp
,
m
,
f
,
chkf
)
function
c
98664
044
.
filter2
(
c
,
e
,
tp
,
m
,
f
,
chkf
)
return
c
:
IsType
(
TYPE_FUSION
)
and
c
:
IsLevelAbove
(
9
)
and
(
not
f
or
f
(
c
))
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_FUSION
,
tp
,
false
,
false
)
and
c
:
CheckFusionMaterial
(
m
,
nil
,
chkf
)
end
function
c
64000
044
.
sftg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c
98664
044
.
sftg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
local
chkf
=
tp
local
mg1
=
Duel
.
GetFusionMaterial
(
tp
)
mg1
:
RemoveCard
(
e
:
GetHandler
())
local
res
=
Duel
.
IsExistingMatchingCard
(
c
64000
044
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
mg1
,
nil
,
chkf
)
local
res
=
Duel
.
IsExistingMatchingCard
(
c
98664
044
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
mg1
,
nil
,
chkf
)
if
not
res
then
local
ce
=
Duel
.
GetChainMaterial
(
tp
)
if
ce
~=
nil
then
...
...
@@ -46,17 +46,17 @@ function c64000044.sftg(e,tp,eg,ep,ev,re,r,rp,chk)
local
mg2
=
fgroup
(
ce
,
e
,
tp
)
mg2
:
RemoveCard
(
e
:
GetHandler
())
local
mf
=
ce
:
GetValue
()
res
=
Duel
.
IsExistingMatchingCard
(
c
64000
044
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
mg2
,
mf
,
chkf
)
res
=
Duel
.
IsExistingMatchingCard
(
c
98664
044
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
mg2
,
mf
,
chkf
)
end
end
return
res
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
end
function
c
64000
044
.
sfop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c
98664
044
.
sfop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
chkf
=
tp
local
mg1
=
Duel
.
GetFusionMaterial
(
tp
):
Filter
(
c
64000
044
.
filter1
,
nil
,
e
)
local
sg1
=
Duel
.
GetMatchingGroup
(
c
64000
044
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
,
mg1
,
nil
,
chkf
)
local
mg1
=
Duel
.
GetFusionMaterial
(
tp
):
Filter
(
c
98664
044
.
filter1
,
nil
,
e
)
local
sg1
=
Duel
.
GetMatchingGroup
(
c
98664
044
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
,
mg1
,
nil
,
chkf
)
local
mg2
=
nil
local
sg2
=
nil
local
ce
=
Duel
.
GetChainMaterial
(
tp
)
...
...
@@ -64,7 +64,7 @@ function c64000044.sfop(e,tp,eg,ep,ev,re,r,rp)
local
fgroup
=
ce
:
GetTarget
()
mg2
=
fgroup
(
ce
,
e
,
tp
)
local
mf
=
ce
:
GetValue
()
sg2
=
Duel
.
GetMatchingGroup
(
c
64000
044
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
,
mg2
,
mf
,
chkf
)
sg2
=
Duel
.
GetMatchingGroup
(
c
98664
044
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
,
mg2
,
mf
,
chkf
)
end
if
sg1
:
GetCount
()
>
0
or
(
sg2
~=
nil
and
sg2
:
GetCount
()
>
0
)
then
local
sg
=
sg1
:
Clone
()
...
...
expansions/script/c
64000
046.lua
→
expansions/script/c
98664
046.lua
View file @
ad409764
--星 晶 镜 璃 龙
local
m
=
64000
046
local
m
=
98664
046
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
--synchro summon
...
...
@@ -12,7 +12,7 @@ function cm.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c
64000
046
.
splimit
)
e1
:
SetValue
(
c
98664
046
.
splimit
)
c
:
RegisterEffect
(
e1
)
--Negate
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -21,18 +21,18 @@ function cm.initial_effect(c)
e2
:
SetCode
(
EVENT_CHAINING
)
e2
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DAMAGE_CAL
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCondition
(
c
64000
046
.
discon
)
e2
:
SetTarget
(
c
64000
046
.
distg
)
e2
:
SetOperation
(
c
64000
046
.
disop
)
e2
:
SetCondition
(
c
98664
046
.
discon
)
e2
:
SetTarget
(
c
98664
046
.
distg
)
e2
:
SetOperation
(
c
98664
046
.
disop
)
c
:
RegisterEffect
(
e2
)
--pendulum
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_LEAVE_FIELD
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetCondition
(
c
64000
046
.
pencon
)
e3
:
SetTarget
(
c
64000
046
.
pentg
)
e3
:
SetOperation
(
c
64000
046
.
penop
)
e3
:
SetCondition
(
c
98664
046
.
pencon
)
e3
:
SetTarget
(
c
98664
046
.
pentg
)
e3
:
SetOperation
(
c
98664
046
.
penop
)
c
:
RegisterEffect
(
e3
)
--Remove
local
e4
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -42,10 +42,10 @@ function cm.initial_effect(c)
e4
:
SetHintTiming
(
0
,
TIMING_MAIN_END
+
TIMING_BATTLE_START
+
TIMING_BATTLE_END
)
e4
:
SetRange
(
LOCATION_PZONE
)
e4
:
SetCountLimit
(
1
)
e4
:
SetCondition
(
c
64000
046
.
prcon
)
e4
:
SetCost
(
c
64000
046
.
prcost
)
e4
:
SetTarget
(
c
64000
046
.
prtg
)
e4
:
SetOperation
(
c
64000
046
.
prop
)
e4
:
SetCondition
(
c
98664
046
.
prcon
)
e4
:
SetCost
(
c
98664
046
.
prcost
)
e4
:
SetTarget
(
c
98664
046
.
prtg
)
e4
:
SetOperation
(
c
98664
046
.
prop
)
c
:
RegisterEffect
(
e4
)
--double tuner
local
e9
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -54,57 +54,57 @@ function cm.initial_effect(c)
e9
:
SetCode
(
21142671
)
c
:
RegisterEffect
(
e9
)
end
c
64000
046
.
material_type
=
TYPE_SYNCHRO
function
c
64000
046
.
prcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
c
98664
046
.
material_type
=
TYPE_SYNCHRO
function
c
98664
046
.
prcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ph
=
Duel
.
GetCurrentPhase
()
return
(
ph
==
PHASE_MAIN1
or
(
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
)
or
ph
==
PHASE_MAIN2
)
end
function
c
64000
046
.
rmcostfilter
(
c
,
tp
)
function
c
98664
046
.
rmcostfilter
(
c
,
tp
)
return
c
:
IsAbleToRemoveAsCost
()
and
c
:
IsAbleToRemove
(
tp
,
POS_FACEDOWN
)
end
function
c
64000
046
.
prcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c
98664
046
.
prcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c
64000
046
.
rmcostfilter
,
tp
,
LOCATION_HAND
+
LOCATION_ONFIELD
,
0
,
1
,
c
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c
98664
046
.
rmcostfilter
,
tp
,
LOCATION_HAND
+
LOCATION_ONFIELD
,
0
,
1
,
c
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c
64000
046
.
rmcostfilter
,
tp
,
LOCATION_HAND
+
LOCATION_ONFIELD
,
0
,
1
,
1
,
c
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c
98664
046
.
rmcostfilter
,
tp
,
LOCATION_HAND
+
LOCATION_ONFIELD
,
0
,
1
,
1
,
c
,
tp
)
Duel
.
Remove
(
g
,
POS_FACEDOWN
,
REASON_COST
)
end
function
c
64000
046
.
prfilter
(
c
,
tp
)
function
c
98664
046
.
prfilter
(
c
,
tp
)
return
c
:
IsAbleToRemove
(
tp
,
POS_FACEDOWN
)
end
function
c
64000
046
.
prtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c
98664
046
.
prtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
if
chkc
then
return
chkc
:
IsOnField
()
and
c
64000
046
.
prfilter
(
chkc
,
tp
)
and
chkc
~=
e
:
GetHandler
()
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c
64000
046
.
prfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
c
,
tp
)
end
if
chkc
then
return
chkc
:
IsOnField
()
and
c
98664
046
.
prfilter
(
chkc
,
tp
)
and
chkc
~=
e
:
GetHandler
()
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c
98664
046
.
prfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
c
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c
64000
046
.
prfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
c
,
tp
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c
98664
046
.
prfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
c
,
tp
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g
,
1
,
0
,
0
)
end
function
c
64000
046
.
prop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c
98664
046
.
prop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
Remove
(
tc
,
POS_FACEDOWN
,
REASON_EFFECT
)
end
end
function
c
64000
046
.
splimit
(
e
,
se
,
sp
,
st
)
function
c
98664
046
.
splimit
(
e
,
se
,
sp
,
st
)
return
not
e
:
GetHandler
():
IsLocation
(
LOCATION_EXTRA
)
or
(
bit
.
band
(
st
,
SUMMON_TYPE_SYNCHRO
)
==
SUMMON_TYPE_SYNCHRO
and
(
not
se
or
not
se
:
IsHasType
(
EFFECT_TYPE_ACTIONS
)))
or
bit
.
band
(
st
,
SUMMON_TYPE_PENDULUM
)
==
SUMMON_TYPE_PENDULUM
end
function
c
64000
046
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c
98664
046
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
then
return
false
end
return
Duel
.
IsChainNegatable
(
ev
)
and
rp
==
1
-
tp
end
function
c
64000
046
.
GetType
(
c
)
function
c
98664
046
.
GetType
(
c
)
if
c
:
IsType
(
TYPE_TRAP
)
then
return
1
elseif
c
:
IsType
(
TYPE_MONSTER
)
then
return
2
elseif
c
:
IsType
(
TYPE_SPELL
)
then
return
3
else
return
nil
end
end
function
c
64000
046
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c
98664
046
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
rc
=
re
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
aaa
=
64000046
+
c64000
046
.
GetType
(
rc
)
local
aaa
=
98664046
+
c98664
046
.
GetType
(
rc
)
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
tp
,
aaa
)
==
0
end
Duel
.
RegisterFlagEffect
(
tp
,
aaa
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_NEGATE
,
eg
,
1
,
0
,
0
)
...
...
@@ -112,19 +112,19 @@ function c64000046.distg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
eg
,
1
,
0
,
0
)
end
end
function
c
64000
046
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c
98664
046
.
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
64000
046
.
pencon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c
98664
046
.
pencon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
IsFaceup
()
and
c
:
IsPreviousControler
(
tp
)
and
c
:
GetReasonPlayer
()
==
1
-
tp
end
function
c
64000
046
.
pentg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c
98664
046
.
pentg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
0
)
or
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
1
)
end
end
function
c
64000
046
.
penop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c
98664
046
.
penop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
MoveToField
(
c
,
tp
,
tp
,
LOCATION_PZONE
,
POS_FACEUP
,
true
)
...
...
expansions/script/c
64000
047.lua
→
expansions/script/c
98664
047.lua
View file @
ad409764
--防战械姬 瑟雅
local
m
=
64000
047
local
m
=
98664
047
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
--link summon
aux
.
AddLinkProcedure
(
c
,
nil
,
2
,
2
,
c
64000
047
.
lcheck
)
aux
.
AddLinkProcedure
(
c
,
nil
,
2
,
2
,
c
98664
047
.
lcheck
)
c
:
EnableReviveLimit
()
--set
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetCountLimit
(
1
,
64000
047
)
e2
:
SetTarget
(
c
64000
047
.
sttg
)
e2
:
SetOperation
(
c
64000
047
.
stop
)
e2
:
SetCountLimit
(
1
,
98664
047
)
e2
:
SetTarget
(
c
98664
047
.
sttg
)
e2
:
SetOperation
(
c
98664
047
.
stop
)
c
:
RegisterEffect
(
e2
)
--pos
local
e3
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -20,7 +20,7 @@ function cm.initial_effect(c)
e3
:
SetCode
(
EFFECT_SET_POSITION
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e3
:
SetTarget
(
c
64000
047
.
postg
)
e3
:
SetTarget
(
c
98664
047
.
postg
)
e3
:
SetValue
(
POS_FACEUP_ATTACK
)
c
:
RegisterEffect
(
e3
)
--must attack
...
...
@@ -35,30 +35,30 @@ function cm.initial_effect(c)
e5
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e5
:
SetCode
(
EVENT_CHAINING
)
e5
:
SetRange
(
LOCATION_MZONE
)
e5
:
SetCondition
(
c
64000
047
.
chaincon
)
e5
:
SetOperation
(
c
64000
047
.
chainop
)
e5
:
SetCondition
(
c
98664
047
.
chaincon
)
e5
:
SetOperation
(
c
98664
047
.
chainop
)
c
:
RegisterEffect
(
e5
)
end
function
c
64000
047
.
postg
(
e
,
c
)
function
c
98664
047
.
postg
(
e
,
c
)
return
c
:
IsFaceup
()
end
function
c
64000
047
.
lcfilter1
(
c
)
function
c
98664
047
.
lcfilter1
(
c
)
return
not
c
:
IsType
(
TYPE_EFFECT
)
end
function
c
64000
047
.
lcheck
(
g
)
return
g
:
IsExists
(
c
64000
047
.
lcfilter1
,
1
,
nil
)
function
c
98664
047
.
lcheck
(
g
)
return
g
:
IsExists
(
c
98664
047
.
lcfilter1
,
1
,
nil
)
end
function
c
64000
047
.
stfilter
(
c
)
function
c
98664
047
.
stfilter
(
c
)
local
te
=
c
:
GetActivateEffect
()
return
(
c
:
GetType
()
==
TYPE_TRAP
or
c
:
IsType
(
TYPE_COUNTER
))
and
te
and
te
:
GetCode
()
==
EVENT_ATTACK_ANNOUNCE
and
c
:
IsSSetable
()
end
function
c
64000
047
.
sttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c
64000
047
.
stfilter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
function
c
98664
047
.
sttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c
98664
047
.
stfilter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
end
function
c
64000
047
.
stop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c
98664
047
.
stop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SET
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
c
64000
047
.
stfilter
),
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
c
98664
047
.
stfilter
),
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
and
Duel
.
SSet
(
tp
,
g
:
GetFirst
())
~=
0
then
--immune
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
@@ -67,27 +67,27 @@ function c64000047.stop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_SET_AVAILABLE
)
e1
:
SetRange
(
LOCATION_SZONE
)
e1
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e1
:
SetValue
(
c
64000
047
.
efilter
)
e1
:
SetValue
(
c
98664
047
.
efilter
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
g
:
GetFirst
():
RegisterEffect
(
e1
)
g
:
GetFirst
():
RegisterFlagEffect
(
64000047
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
64000
047
,
1
))
g
:
GetFirst
():
RegisterFlagEffect
(
98664047
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
98664
047
,
1
))
end
end
function
c
64000
047
.
efilter
(
e
,
te
)
function
c
98664
047
.
efilter
(
e
,
te
)
if
not
te
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
)
then
return
true
end
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
)
if
#
g
~=
1
then
return
true
end
return
not
g
or
not
g
:
IsContains
(
e
:
GetHandler
())
end
function
c
64000
047
.
chaincon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
:
GetHandler
():
GetFlagEffect
(
64000
047
)
>
0
function
c
98664
047
.
chaincon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
:
GetHandler
():
GetFlagEffect
(
98664
047
)
>
0
end
function
c
64000
047
.
chainop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c
98664
047
.
chainop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
ep
==
tp
then
Duel
.
SetChainLimit
(
c
64000
047
.
chainlm
)
Duel
.
SetChainLimit
(
c
98664
047
.
chainlm
)
end
end
function
c
64000
047
.
chainlm
(
e
,
ep
,
tp
)
function
c
98664
047
.
chainlm
(
e
,
ep
,
tp
)
return
tp
==
ep
end
\ No newline at end of file
expansions/strings.conf
View file @
ad409764
...
...
@@ -118,7 +118,7 @@
#◇SCL 2798419987 101
#团子 1362961985 102 0x5a0-0x5af
#
▽
团子 1362961985 102 0x5a0-0x5af
!
setname
0
x5a0
SAO
!
setname
0
x5a1
ALO
!
setname
0
x5a2
GGO
...
...
@@ -217,7 +217,7 @@
!
counter
0
x2fb0
梦境指示物
!
counter
0
x1fb1
深绿指示物
#
▽
冰精⑨ 2460890081 122 0x450-0x45f
#
△
冰精⑨ 2460890081 122 0x450-0x45f
!
setname
0
x451
神明吞噬者
!
setname
0
x453
神之仆从
...
...
@@ -279,7 +279,7 @@
#Scarlet 3027246459 137
#
▽
仲村芽衣子 2736617510 141
#
△
仲村芽衣子 2736617510 141
#named_with_hana 花舞少女
#Ruby 917770701 147 0x2e0-0x2ef
...
...
@@ -484,7 +484,7 @@
!
setname
0
x9c92
枝江
!
setname
0
xc99
ReLive
#
▽
演示白板 178434020 210 0x600-0x60f
#
△
演示白板 178434020 210 0x600-0x60f
!
setname
0
x601
道明寺歌鈴
!
setname
0
x602
神崎兰子
!
setname
0
x603
堀裕子
...
...
@@ -559,7 +559,7 @@
#“米”雾中消失的X 257569726 257
#SetCard_MXHunHuang 昏黄
#
▽
格里芬生活部部长 2583980801 258 0x250-0x25f
#格里芬生活部部长 2583980801 258 0x250-0x25f
!
setname
0
x251
战术少女
!
setname
0
x252
融合势力
!
counter
0
x251
过载指示物
...
...
@@ -1144,8 +1144,6 @@
#希尔薇 - 639 0x860-0x86f
!
setname
0
x860
米诺陶诺斯
#△绒 2039721962 640
#02 1164477469 648 0x410-0x41f
!
setname
0
x5410
终末旅者
!
setname
0
x6410
星光歌剧
...
...
@@ -1482,7 +1480,7 @@
!
counter
0
x1596
幻想指示物
!
counter
0
x3597
旧地狱
#小島痕 1614895649 889 0x960-0x96f
#
▽
小島痕 1614895649 889 0x960-0x96f
!
setname
0
x960
折幸
#王道游老子 995602632 894 0x700-0x70f
...
...
@@ -1535,7 +1533,7 @@
!
setname
0
x9ef8
Jewel
!
setname
0
x3ef9
口袋精灵
#奇跡の早苗 2060043514 961 0x7e0-0x7ef
#
▽
奇跡の早苗 2060043514 961 0x7e0-0x7ef
!
setname
0
x37e0
苍蓝奇迹
!
setname
0
x57e0
千禧年科技学院
!
setname
0
x67e0
研讨会
...
...
@@ -1555,6 +1553,7 @@
#named_with_sanae 早苗H
#named_with_windbot Windbot
##◇某失智の刀客塔 3529764274 600
##△绒 2039721962 640
##◇小K 1318052139 669
##◇落 2403265619 707-708
##珠泪 773
...
...
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