Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
P
pre-release-database-cdb
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
MyCard
pre-release-database-cdb
Commits
2dd7d220
Commit
2dd7d220
authored
Oct 29, 2025
by
Amiya
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of git.moenext.com:mycard/pre-release-database-cdb
parents
2dabb7ef
bc5a2301
Pipeline
#41318
passed with stages
in 2 minutes and 22 seconds
Changes
32
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
32 changed files
with
83 additions
and
55 deletions
+83
-55
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
BPRO.cdb
BPRO.cdb
+0
-0
CH01.cdb
CH01.cdb
+0
-0
script/c100200280.lua
script/c100200280.lua
+3
-0
script/c100248019.lua
script/c100248019.lua
+1
-1
script/c100248041.lua
script/c100248041.lua
+1
-0
script/c101303007.lua
script/c101303007.lua
+3
-3
script/c101303011.lua
script/c101303011.lua
+3
-3
script/c101303012.lua
script/c101303012.lua
+1
-1
script/c101303018.lua
script/c101303018.lua
+1
-1
script/c101303026.lua
script/c101303026.lua
+1
-1
script/c101303030.lua
script/c101303030.lua
+1
-1
script/c101303035.lua
script/c101303035.lua
+12
-3
script/c101303036.lua
script/c101303036.lua
+1
-1
script/c101303039.lua
script/c101303039.lua
+4
-4
script/c101303041.lua
script/c101303041.lua
+4
-4
script/c101303042.lua
script/c101303042.lua
+4
-3
script/c101303043.lua
script/c101303043.lua
+1
-1
script/c101303046.lua
script/c101303046.lua
+1
-0
script/c101303051.lua
script/c101303051.lua
+4
-2
script/c101303054.lua
script/c101303054.lua
+1
-1
script/c101303055.lua
script/c101303055.lua
+3
-0
script/c101303058.lua
script/c101303058.lua
+1
-1
script/c101303061.lua
script/c101303061.lua
+2
-3
script/c101303062.lua
script/c101303062.lua
+3
-1
script/c101303064.lua
script/c101303064.lua
+17
-12
script/c101303077.lua
script/c101303077.lua
+1
-1
script/c101303079.lua
script/c101303079.lua
+1
-1
script/c101303201.lua
script/c101303201.lua
+1
-1
script/c101303202.lua
script/c101303202.lua
+1
-0
script/c101303203.lua
script/c101303203.lua
+3
-2
script/c101303204.lua
script/c101303204.lua
+2
-2
No files found.
.gitlab-ci.yml
View file @
2dd7d220
...
...
@@ -91,7 +91,7 @@ add_script_diff:
FIELDS
:
'
name,desc,overallString,picUrl'
GIT_DEPTH
:
'
1000'
OUTPUT_FILENAME
:
test-release.json
REF_COMMIT
:
'
18.2
4
'
# 更新的时候改这里,修改成上一个tag的版本号
REF_COMMIT
:
'
18.2
5
'
# 更新的时候改这里,修改成上一个tag的版本号
script
:
-
apt update;apt -y install wget
-
currentPath=$PWD
...
...
BPRO.cdb
View file @
2dd7d220
No preview for this file type
CH01.cdb
View file @
2dd7d220
No preview for this file type
script/c100200280.lua
View file @
2dd7d220
...
...
@@ -40,6 +40,9 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
desfilter
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
1
,
1
,
aux
.
ExceptThisCard
(
e
),
tp
)
if
g
:
IsExists
(
Card
.
IsLocation
,
1
,
nil
,
LOCATION_MZONE
)
then
Duel
.
HintSelection
(
g
)
end
if
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
>
0
and
c
:
IsRelateToChain
()
and
aux
.
NecroValleyFilter
()(
c
)
and
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
script/c100248019.lua
View file @
2dd7d220
...
...
@@ -15,7 +15,7 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
s
.
cfilter
(
c
)
return
aux
.
IsCodeListed
(
c
,
68468459
)
and
c
:
IsAbleToGraveAsCost
()
return
aux
.
IsCodeListed
(
c
,
68468459
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToGraveAsCost
()
end
function
s
.
cfilter2
(
c
)
return
c
:
IsFaceupEx
()
and
c
:
IsSetCard
(
0x2d7
)
and
c
:
IsType
(
TYPE_MONSTER
)
...
...
script/c100248041.lua
View file @
2dd7d220
...
...
@@ -48,6 +48,7 @@ function s.initial_effect(c)
e5
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e5
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e5
:
SetRange
(
LOCATION_GRAVE
)
e5
:
SetCountLimit
(
1
,
id
+
o
)
e5
:
SetCondition
(
s
.
thcon
)
e5
:
SetTarget
(
s
.
thtg
)
e5
:
SetOperation
(
s
.
thop
)
...
...
script/c101303007.lua
View file @
2dd7d220
--ジャンク・ウォリア/バスター
--ジャンク・ウォリア
ー
/バスター
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
60800381
,
80280737
)
...
...
@@ -25,7 +25,7 @@ function s.initial_effect(c)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetValue
(
s
.
immval
)
c
:
RegisterEffect
(
e2
)
--
spsummon
--
toextra
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e3
:
SetCategory
(
CATEGORY_TOEXTRA
+
CATEGORY_SPECIAL_SUMMON
)
...
...
@@ -66,7 +66,7 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToChain
()
and
tc
:
IsCode
(
60800381
)
if
tc
:
IsRelateToChain
()
and
aux
.
NecroValleyFilter
()(
tc
)
and
Duel
.
SendtoDeck
(
tc
,
nil
,
0
,
REASON_EFFECT
)
>
0
and
tc
:
IsLocation
(
LOCATION_EXTRA
)
and
tc
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_SYNCHRO
,
tp
,
false
,
false
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
tc
)
>
0
...
...
script/c101303011.lua
View file @
2dd7d220
...
...
@@ -11,7 +11,7 @@ function s.initial_effect(c)
e1
:
SetCondition
(
s
.
spcon
)
e1
:
SetValue
(
s
.
spval
)
c
:
RegisterEffect
(
e1
)
--
set
--
place
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
...
...
@@ -43,7 +43,7 @@ function s.spval(e,c)
return
0
,
0x4
end
function
s
.
pfilter
(
c
,
tp
)
return
c
:
Is
Type
(
TYPE_CONTINUOUS
)
and
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsSetCard
(
0x2d8
)
return
c
:
Is
AllTypes
(
TYPE_CONTINUOUS
+
TYPE_SPELL
)
and
c
:
IsSetCard
(
0x2d8
)
and
not
c
:
IsForbidden
()
and
c
:
CheckUniqueOnField
(
tp
)
end
function
s
.
ptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
@@ -95,7 +95,7 @@ function s.chop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetOperation
(
s
.
retop
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
rc
:
RegisterFlagEffect
(
id
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
,
fid
)
rc
:
RegisterFlagEffect
(
id
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
fid
,
aux
.
Stringid
(
id
,
3
)
)
end
end
end
...
...
script/c101303012.lua
View file @
2dd7d220
...
...
@@ -11,7 +11,7 @@ function s.initial_effect(c)
e1
:
SetCondition
(
s
.
spcon
)
e1
:
SetValue
(
s
.
spval
)
c
:
RegisterEffect
(
e1
)
--
set
--
place
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
...
...
script/c101303018.lua
View file @
2dd7d220
...
...
@@ -54,7 +54,7 @@ function s.splimit(e,c)
end
function
s
.
thfilter
(
c
)
return
(
c
:
IsSetCard
(
0xef
)
and
not
c
:
IsCode
(
id
)
or
c
:
IsSetCard
(
0x11d
)
and
c
:
Is
Type
(
TYPE_QUICKPLAY
))
or
c
:
IsSetCard
(
0x11d
)
and
c
:
Is
AllTypes
(
TYPE_QUICKPLAY
+
TYPE_SPELL
))
and
c
:
IsAbleToHand
()
end
function
s
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
script/c101303026.lua
View file @
2dd7d220
--蒼穹を睨めるダーク
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
--special
S
ummon
--special
s
ummon
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
...
script/c101303030.lua
View file @
2dd7d220
...
...
@@ -85,4 +85,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
end
function
s
.
splimit
(
e
,
c
)
return
not
c
:
IsAttribute
(
ATTRIBUTE_WATER
)
and
c
:
IsLocation
(
LOCATION_EXTRA
)
end
\ No newline at end of file
end
script/c101303035.lua
View file @
2dd7d220
...
...
@@ -51,6 +51,15 @@ function s.initial_effect(c)
e5
:
SetOperation
(
s
.
fspop
)
c
:
RegisterEffect
(
e5
)
end
function
s
.
getrg
(
tp
,
sc
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
true
,
REASON_SPSUMMON
)
local
mrg
=
rg
:
Filter
(
Card
.
IsHasEffect
,
nil
,
EFFECT_EXTRA_RELEASE
)
if
mrg
:
GetCount
()
>
0
then
return
mrg
:
Filter
(
s
.
spfilter
,
nil
,
tp
,
sc
)
else
return
rg
:
Filter
(
s
.
spfilter
,
nil
,
tp
,
sc
)
end
end
function
s
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
and
Duel
.
GetFlagEffect
(
sp
,
id
)
==
0
end
...
...
@@ -71,11 +80,11 @@ function s.spcon(e,c)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
if
Duel
.
GetFlagEffect
(
tp
,
id
)
>
0
then
return
false
end
return
Duel
.
CheckReleaseGroupEx
(
tp
,
s
.
spfilter
,
1
,
REASON_SPSUMMON
,
true
,
nil
,
tp
,
c
)
and
Duel
.
IsExistingMatchingCard
(
s
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
local
rg
=
s
.
getrg
(
tp
,
c
)
return
rg
:
GetCount
()
>
0
and
Duel
.
IsExistingMatchingCard
(
s
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
,
true
,
REASON_SPSUMMON
):
Filter
(
s
.
spfilter
,
nil
,
tp
,
c
)
local
g
=
s
.
getrg
(
tp
,
c
)
local
g2
=
Duel
.
GetMatchingGroup
(
s
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DISCARD
)
local
tc
=
g2
:
SelectUnselect
(
nil
,
tp
,
false
,
true
,
1
,
1
)
...
...
script/c101303036.lua
View file @
2dd7d220
...
...
@@ -100,7 +100,7 @@ end
function
s
.
cpop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
te
=
e
:
GetLabelObject
()
if
not
te
then
return
end
if
not
te
:
GetHandler
():
IsRelateTo
Effect
(
e
)
then
return
end
if
not
te
:
GetHandler
():
IsRelateTo
Chain
(
)
then
return
end
e
:
SetLabelObject
(
te
:
GetLabelObject
())
local
op
=
te
:
GetOperation
()
if
op
then
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
...
...
script/c101303039.lua
View file @
2dd7d220
...
...
@@ -68,7 +68,7 @@ function s.disop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
nsfilter
(
c
,
tp
)
return
c
:
Is
Faceup
()
and
c
:
Is
Controler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
return
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
end
function
s
.
cfilter
(
c
,
tp
)
local
chk
=
c
:
GetColumnGroup
():
IsExists
(
s
.
nsfilter
,
1
,
nil
,
1
-
tp
)
...
...
@@ -90,7 +90,7 @@ function s.nsop(e,tp,eg,ep,ev,re,r,rp)
for
tc
in
aux
.
Next
(
sg
)
do
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
|
EFFECT_FLAG_SET_AVAILABLE
)
e1
:
SetCode
(
EFFECT_CANNOT_BE_LINK_MATERIAL
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
...
...
@@ -104,9 +104,9 @@ function s.nsop(e,tp,eg,ep,ev,re,r,rp)
e4
:
SetCode
(
EFFECT_CANNOT_BE_SYNCHRO_MATERIAL
)
tc
:
RegisterEffect
(
e4
)
local
e5
=
e1
:
Clone
()
e5
:
SetCode
(
EFFECT_CANNOT_BE_XYZ_MATERIAL
)
e5
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e5
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
+
EFFECT_FLAG_CLIENT_HINT
)
e5
:
SetCode
(
EFFECT_CANNOT_BE_XYZ_MATERIAL
)
e5
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
|
EFFECT_FLAG_SET_AVAILABLE
|
EFFECT_FLAG_CLIENT_HINT
)
tc
:
RegisterEffect
(
e5
)
end
end
...
...
script/c101303041.lua
View file @
2dd7d220
--
--
黒き竜のエクレシア
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
68468459
)
...
...
@@ -80,16 +80,16 @@ end
function
s
.
retop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
ReturnToField
(
e
:
GetLabelObject
())
end
function
s
.
tdfilter
(
c
,
tp
,
ec
)
function
s
.
tdfilter
(
c
,
tp
)
return
c
:
IsFaceupEx
()
and
c
:
IsLevel
(
8
)
and
c
:
IsType
(
TYPE_FUSION
)
and
Duel
.
IsExistingTarget
(
Card
.
IsAbleToDeck
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
end
function
s
.
tdtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
if
chkc
then
return
false
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
s
.
tdfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
nil
,
tp
,
c
)
and
c
:
IsAbleToDeck
()
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
s
.
tdfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
nil
,
tp
)
and
c
:
IsAbleToDeck
()
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g1
=
Duel
.
SelectTarget
(
tp
,
s
.
tdfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
1
,
nil
,
tp
,
c
)
local
g1
=
Duel
.
SelectTarget
(
tp
,
s
.
tdfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
1
,
nil
,
tp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g2
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsAbleToDeck
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
g1
:
Merge
(
g2
)
...
...
script/c101303042.lua
View file @
2dd7d220
...
...
@@ -64,7 +64,7 @@ function s.distg(e,tp,eg,ep,ev,re,r,rp,chk)
if
re
:
GetHandler
():
IsDestructable
()
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
eg
,
1
,
0
,
0
)
end
else
else
if
op
==
2
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DISABLE
,
te
:
GetHandler
(),
1
,
0
,
0
)
if
te
:
GetHandler
():
IsDestructable
()
and
te
:
GetHandler
():
IsRelateToEffect
(
te
)
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
te
:
GetHandler
(),
1
,
0
,
0
)
...
...
@@ -72,11 +72,12 @@ function s.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
s
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetLabel
()
==
1
then
local
op
=
e
:
GetLabel
()
if
op
==
1
then
if
Duel
.
NegateEffect
(
ev
)
and
re
:
GetHandler
():
IsRelateToChain
(
ev
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
else
else
if
op
==
2
then
local
te
=
Duel
.
GetChainInfo
(
ev
-
1
,
CHAININFO_TRIGGERING_EFFECT
)
if
Duel
.
NegateEffect
(
ev
-
1
)
and
te
:
GetHandler
():
IsRelateToChain
(
ev
-
1
)
then
Duel
.
Destroy
(
te
:
GetHandler
(),
REASON_EFFECT
)
...
...
script/c101303043.lua
View file @
2dd7d220
--K9-EX “Ripper
/M
”
--K9-EX “Ripper
/M
”
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
--xyz summon
...
...
script/c101303046.lua
View file @
2dd7d220
...
...
@@ -20,6 +20,7 @@ function s.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
,
EFFECT_COUNT_CODE_CHAIN
)
e2
:
SetCondition
(
s
.
econ
)
e2
:
SetTarget
(
s
.
etg
)
e2
:
SetOperation
(
s
.
eop
)
...
...
script/c101303051.lua
View file @
2dd7d220
...
...
@@ -19,7 +19,7 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e1
)
--destroy
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e2
:
SetCategory
(
CATEGORY_DESTROY
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetRange
(
LOCATION_MZONE
)
...
...
@@ -56,8 +56,10 @@ function s.descon(e,tp,eg,ep,ev,re,r,rp)
and
rc
:
IsSetCard
(
0x18b
)
end
function
s
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsControler
(
1
-
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
nil
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
nil
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
and
c
:
GetFlagEffect
(
id
)
==
0
end
c
:
RegisterFlagEffect
(
id
,
RESET_CHAIN
,
0
,
1
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
SelectTarget
(
tp
,
nil
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
1
,
0
,
0
)
...
...
script/c101303054.lua
View file @
2dd7d220
...
...
@@ -25,7 +25,7 @@ function s.initial_effect(c)
e3
:
SetRange
(
LOCATION_FZONE
)
e3
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e3
:
SetTarget
(
s
.
indtg
)
e3
:
SetValue
(
aux
.
tg
oval
)
e3
:
SetValue
(
aux
.
ind
oval
)
c
:
RegisterEffect
(
e3
)
--Activate
local
e4
=
Effect
.
CreateEffect
(
c
)
...
...
script/c101303055.lua
View file @
2dd7d220
...
...
@@ -34,6 +34,9 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
desfilter
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
+
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
if
g
:
IsExists
(
Card
.
IsLocation
,
1
,
nil
,
LOCATION_ONFIELD
)
then
Duel
.
HintSelection
(
g
)
end
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
end
...
...
script/c101303058.lua
View file @
2dd7d220
...
...
@@ -66,7 +66,7 @@ end
function
s
.
tnop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToChain
()
and
tc
:
IsFaceup
()
and
tc
:
IsType
(
TYPE_MONSTER
)
then
if
tc
:
IsRelateToChain
()
and
tc
:
IsFaceup
()
and
tc
:
IsType
(
TYPE_MONSTER
)
and
not
tc
:
IsType
(
TYPE_TUNER
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_ADD_TYPE
)
...
...
script/c101303061.lua
View file @
2dd7d220
--飛竜戦艇
-
ファンドラ
--飛竜戦艇
-
ファンドラ
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
--Activate
...
...
@@ -65,7 +65,7 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DISCARD
)
local
dg
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
TRUE
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
local
dg
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsDiscardable
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
REASON_EFFECT
)
Duel
.
ShuffleHand
(
tp
)
Duel
.
SendtoGrave
(
dg
,
REASON_EFFECT
+
REASON_DISCARD
)
end
...
...
@@ -93,6 +93,5 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
ShuffleDeck
(
tp
)
end
end
script/c101303062.lua
View file @
2dd7d220
...
...
@@ -3,6 +3,7 @@ local s,id,o=GetID()
function
s
.
initial_effect
(
c
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
...
...
@@ -14,6 +15,7 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e1
)
--change cost
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e2
:
SetCode
(
id
)
...
...
@@ -42,7 +44,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
and
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
and
Duel
.
IsExistingMatchingCard
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_MZONE
,
2
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
s
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
IsExistingMatchingCard
(
s
.
spfilter
2
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
2
))
then
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
...
...
script/c101303064.lua
View file @
2dd7d220
...
...
@@ -21,7 +21,7 @@ function s.initial_effect(c)
e2
:
SetTarget
(
s
.
sptg
)
e2
:
SetOperation
(
s
.
spop
)
c
:
RegisterEffect
(
e2
)
--
set
--
place
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
id
,
2
))
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
...
...
@@ -71,17 +71,22 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
else
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsType
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
TYPE_MONSTER
)
end
if
g
:
GetCount
()
>
0
and
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
>
0
and
Duel
.
IsExistingMatchingCard
(
s
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
,
nil
)
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
,
nil
)
if
#
sg
>
0
then
local
tc
=
sg
:
GetFirst
()
local
ssp
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
local
osp
=
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
>
0
and
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
,
1
-
tp
)
if
osp
and
(
not
ssp
or
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
3
)))
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
1
-
tp
,
false
,
false
,
POS_FACEUP
)
elseif
ssp
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
if
g
:
GetCount
()
>
0
then
if
g
:
IsExists
(
Card
.
IsLocation
,
1
,
nil
,
LOCATION_MZONE
)
then
Duel
.
HintSelection
(
g
)
end
if
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
>
0
and
Duel
.
IsExistingMatchingCard
(
s
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
,
nil
)
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
,
nil
)
if
#
sg
>
0
then
local
tc
=
sg
:
GetFirst
()
local
ssp
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
local
osp
=
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
>
0
and
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
,
1
-
tp
)
if
osp
and
(
not
ssp
or
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
3
)))
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
1
-
tp
,
false
,
false
,
POS_FACEUP
)
elseif
ssp
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
end
end
...
...
script/c101303077.lua
View file @
2dd7d220
...
...
@@ -81,4 +81,4 @@ function s.rlcon(e,tp,eg,ep,ev,re,r,rp)
end
function
s
.
rltg
(
e
,
c
)
return
c
:
IsType
(
TYPE_RITUAL
)
end
\ No newline at end of file
end
script/c101303079.lua
View file @
2dd7d220
...
...
@@ -69,4 +69,4 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
end
end
\ No newline at end of file
end
script/c101303201.lua
View file @
2dd7d220
...
...
@@ -15,7 +15,7 @@ function s.initial_effect(c)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
c
:
RegisterEffect
(
e2
)
--
target effect
--
change attribute
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
...
...
script/c101303202.lua
View file @
2dd7d220
...
...
@@ -52,6 +52,7 @@ function s.rmop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
id
,
2
))
ct
=
Duel
.
AnnounceNumber
(
tp
,
table.unpack
(
tbl
))
end
Duel
.
BreakEffect
()
Duel
.
ConfirmDecktop
(
1
-
tp
,
ct
)
local
g
=
Duel
.
GetDecktopGroup
(
1
-
tp
,
ct
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
...
...
script/c101303203.lua
View file @
2dd7d220
...
...
@@ -36,13 +36,14 @@ function s.sfilter(c,e,tp)
and
(
c
:
GetOriginalAttribute
()
&
ATTRIBUTE_DARK
)
~=
0
and
(
c
:
GetOriginalRace
()
&
RACE_DRAGON
)
~=
0
and
c
:
IsFaceup
()
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
GetSequence
()
<
5
end
function
s
.
spstg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsOnField
()
and
s
.
sfilter
(
chkc
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingTarget
(
s
.
sfilter
,
tp
,
LOCATION_
ONFIELD
,
0
,
1
,
nil
,
e
,
tp
)
end
and
Duel
.
IsExistingTarget
(
s
.
sfilter
,
tp
,
LOCATION_
SZONE
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectTarget
(
tp
,
s
.
sfilter
,
tp
,
LOCATION_
ONFIELD
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectTarget
(
tp
,
s
.
sfilter
,
tp
,
LOCATION_
SZONE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
g
,
1
,
0
,
0
)
end
function
s
.
spsop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c101303204.lua
View file @
2dd7d220
...
...
@@ -27,7 +27,7 @@ function s.initial_effect(c)
e2
:
SetTarget
(
s
.
eqtg
)
e2
:
SetOperation
(
s
.
eqop
)
c
:
RegisterEffect
(
e2
)
--
search
--
destroy
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
id
,
2
))
e3
:
SetCategory
(
CATEGORY_DESTROY
)
...
...
@@ -116,7 +116,7 @@ function s.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
s
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToChain
()
then
if
tc
:
IsRelateToChain
()
and
tc
:
IsOnField
()
then
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment