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
Crescent/毛虫
pre-release-database-cdb
Commits
43d00873
Commit
43d00873
authored
Jul 30, 2024
by
Crescent/毛虫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clean repository
parent
9fd5159a
Pipeline
#28780
failed with stages
in 37 seconds
Changes
23
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
57 additions
and
56 deletions
+57
-56
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
INFO-EN.cdb
INFO-EN.cdb
+0
-0
INFO-EN.cdb~upstream_master
INFO-EN.cdb~upstream_master
+0
-0
ROTA.cdb
ROTA.cdb
+0
-0
ROTA.cdb~upstream_master
ROTA.cdb~upstream_master
+0
-0
script/c101205082.lua
script/c101205082.lua
+3
-3
script/c101205086.lua
script/c101205086.lua
+16
-18
script/c101205089.lua
script/c101205089.lua
+2
-2
script/c101205094.lua
script/c101205094.lua
+1
-1
script/c101205095.lua
script/c101205095.lua
+1
-0
script/c101205096.lua
script/c101205096.lua
+4
-1
script/c101206000.lua
script/c101206000.lua
+1
-1
script/c101206006.lua
script/c101206006.lua
+1
-1
script/c101206008.lua
script/c101206008.lua
+1
-1
script/c101206009.lua
script/c101206009.lua
+5
-7
script/c101206012.lua
script/c101206012.lua
+2
-1
script/c101206013.lua
script/c101206013.lua
+5
-4
script/c101206014.lua
script/c101206014.lua
+3
-4
script/c101206015.lua
script/c101206015.lua
+1
-4
script/c101206016.lua
script/c101206016.lua
+4
-4
script/c101206021.lua
script/c101206021.lua
+2
-1
script/c101206022.lua
script/c101206022.lua
+3
-2
script/c101206206.lua
script/c101206206.lua
+1
-0
No files found.
.gitlab-ci.yml
View file @
43d00873
...
@@ -53,7 +53,7 @@ merge_databases:
...
@@ -53,7 +53,7 @@ merge_databases:
FIELDS
:
'
name,desc,overallString,picUrl'
FIELDS
:
'
name,desc,overallString,picUrl'
GIT_DEPTH
:
'
1000'
GIT_DEPTH
:
'
1000'
OUTPUT_FILENAME
:
test-release.json
OUTPUT_FILENAME
:
test-release.json
REF_COMMIT
:
'
5.2
0
'
# 更新的时候改这里,修改成上一个tag的版本号
REF_COMMIT
:
'
5.2
1
'
# 更新的时候改这里,修改成上一个tag的版本号
script
:
script
:
-
apt update;apt -y install wget
-
apt update;apt -y install wget
-
currentPath=$PWD
-
currentPath=$PWD
...
...
INFO-EN.cdb
View file @
43d00873
No preview for this file type
INFO-EN.cdb~upstream_master
deleted
100644 → 0
View file @
9fd5159a
File deleted
ROTA.cdb
View file @
43d00873
No preview for this file type
ROTA.cdb~upstream_master
deleted
100644 → 0
View file @
9fd5159a
File deleted
script/c101205082.lua
View file @
43d00873
...
@@ -44,7 +44,7 @@ function s.condition(e,tp,eg,ep,ev,re,r,rp)
...
@@ -44,7 +44,7 @@ function s.condition(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
at
=
Duel
.
GetAttacker
()
local
at
=
Duel
.
GetAttacker
()
if
chk
==
0
then
return
at
:
IsRelateToBattle
()
and
at
:
IsAbleToHand
()
and
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
0
)
or
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
1
)
end
if
chk
==
0
then
return
at
:
IsRelateToBattle
()
and
at
:
IsAbleToHand
()
and
(
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
0
)
or
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
1
)
)
end
Duel
.
SetTargetCard
(
at
)
Duel
.
SetTargetCard
(
at
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
at
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
at
,
1
,
0
,
0
)
end
end
...
@@ -93,8 +93,8 @@ end
...
@@ -93,8 +93,8 @@ end
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
tc
and
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
~=
0
then
if
tc
and
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
~=
0
and
tc
:
IsLocation
(
LOCATION_HAND
)
then
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
e
:
GetHandler
()
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsRelateToEffect
(
e
)
and
c
:
IsLocation
(
LOCATION_PZONE
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
3
))
then
and
c
:
IsRelateToEffect
(
e
)
and
c
:
IsLocation
(
LOCATION_PZONE
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
3
))
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
...
...
script/c101205086.lua
View file @
43d00873
...
@@ -14,10 +14,10 @@ function s.initial_effect(c)
...
@@ -14,10 +14,10 @@ function s.initial_effect(c)
end
end
function
s
.
filter
(
c
,
tp
)
function
s
.
filter
(
c
,
tp
)
local
code
=
c
:
GetOriginalCode
()
local
code
=
c
:
GetOriginalCode
()
return
c
:
IsFaceup
()
and
Duel
.
IsExistingMatchingCard
(
s
.
eqfilter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
+
LOCATION_HAND
,
0
,
2
,
nil
,
code
)
return
c
:
IsFaceup
()
and
Duel
.
IsExistingMatchingCard
(
s
.
eqfilter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
+
LOCATION_HAND
,
0
,
2
,
nil
,
code
,
tp
)
end
end
function
s
.
eqfilter
(
c
,
code
)
function
s
.
eqfilter
(
c
,
code
,
tp
)
return
c
:
IsOriginalCodeRule
(
code
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsForbidden
()
return
c
:
IsOriginalCodeRule
(
code
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
CheckUniqueOnField
(
tp
)
and
not
c
:
IsForbidden
()
end
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
s
.
filter
(
chkc
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
s
.
filter
(
chkc
,
tp
)
end
...
@@ -32,15 +32,18 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -32,15 +32,18 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
end
function
s
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
local
code
=
tc
:
GetOriginalCode
()
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
and
tc
:
IsType
(
TYPE_MONSTER
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
1
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
and
tc
:
IsType
(
TYPE_MONSTER
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
1
and
Duel
.
GetMatchingGroupCount
(
aux
.
NecroValleyFilter
(
s
.
eqfilter
),
tp
,
LOCATION_DECK
+
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
nil
,
tc
:
GetOriginalCode
()
)
>
1
then
and
Duel
.
GetMatchingGroupCount
(
aux
.
NecroValleyFilter
(
s
.
eqfilter
),
tp
,
LOCATION_DECK
+
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
nil
,
code
,
tp
)
>
1
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EQUIP
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EQUIP
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
s
.
eqfilter
),
tp
,
LOCATION_DECK
+
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
2
,
2
,
nil
,
tc
:
GetOriginalCode
()
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
s
.
eqfilter
),
tp
,
LOCATION_DECK
+
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
2
,
2
,
nil
,
code
,
tp
)
if
#
g
<
2
then
return
end
if
#
g
<
2
then
return
end
g
:
KeepAlive
()
local
ec
=
g
:
GetFirst
()
local
ec
=
g
:
GetFirst
()
while
ec
do
while
ec
do
if
Duel
.
Equip
(
tp
,
ec
,
tc
)
then
if
Duel
.
Equip
(
tp
,
ec
,
tc
)
then
--equip limit
--equip limit
ec
:
RegisterFlagEffect
(
id
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
0
,
id
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
...
@@ -49,25 +52,20 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -49,25 +52,20 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetValue
(
s
.
eqlimit
)
e1
:
SetValue
(
s
.
eqlimit
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
ec
:
RegisterEffect
(
e1
)
ec
:
RegisterEffect
(
e1
)
Duel
.
RegisterFlagEffect
(
tp
,
id
,
0
,
0
,
1
)
local
e4
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e4
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_SINGLE
)
e4
:
SetCode
(
EVENT_LEAVE_FIELD
)
e4
:
SetOperation
(
s
.
desop
)
e4
:
SetReset
(
RESET_EVENT
+
RESET_OVERLAY
+
RESET_TOFIELD
)
ec
:
RegisterEffect
(
e4
)
end
end
ec
=
g
:
GetNext
()
ec
=
g
:
GetNext
()
end
end
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_ATTACK
)
e1
:
SetCode
(
EFFECT_CANNOT_ATTACK
)
e1
:
SetLabelObject
(
g
)
e1
:
SetCondition
(
s
.
chkcon
)
e1
:
SetCondition
(
s
.
chkcon
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_INDESTRUCTABLE_BATTLE
)
e2
:
SetCode
(
EFFECT_INDESTRUCTABLE_BATTLE
)
e2
:
SetValue
(
1
)
e2
:
SetValue
(
1
)
e2
:
SetLabelObject
(
g
)
e2
:
SetCondition
(
s
.
chkcon
)
e2
:
SetCondition
(
s
.
chkcon
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
end
end
...
@@ -86,13 +84,13 @@ end
...
@@ -86,13 +84,13 @@ end
function
s
.
splimit
(
e
,
c
)
function
s
.
splimit
(
e
,
c
)
return
c
:
GetOriginalRace
()
&
e
:
GetLabel
()
==
0
return
c
:
GetOriginalRace
()
&
e
:
GetLabel
()
==
0
end
end
function
s
.
chkcon
(
e
,
c
)
function
s
.
chkfilter
(
c
,
id
,
eg
)
local
tp
=
e
:
GetOwner
():
GetControler
()
return
c
:
GetFlagEffect
(
id
)
>
0
and
eg
:
IsContains
(
c
)
return
Duel
.
GetFlagEffect
(
tp
,
id
)
==
2
end
end
function
s
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
chkcon
(
e
)
e
:
Reset
()
local
eg
=
e
:
GetHandler
():
GetEquipGroup
()
Duel
.
ResetFlagEffect
(
tp
,
id
)
local
g
=
e
:
GetLabelObject
()
return
g
:
Filter
(
s
.
chkfilter
,
nil
,
id
,
eg
):
GetCount
()
==
2
end
end
function
s
.
eqlimit
(
e
,
c
)
function
s
.
eqlimit
(
e
,
c
)
return
c
==
e
:
GetLabelObject
()
return
c
==
e
:
GetLabelObject
()
...
...
script/c101205089.lua
View file @
43d00873
...
@@ -49,13 +49,13 @@ function s.tgop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -49,13 +49,13 @@ function s.tgop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
s
.
rfilter
(
c
)
function
s
.
rfilter
(
c
)
return
c
:
IsRace
(
RACE_FIEND
)
and
c
:
IsLevelAbove
(
6
)
and
c
:
IsAbleToRemoveAsCost
()
return
not
c
:
IsCode
(
id
)
and
c
:
IsRace
(
RACE_FIEND
)
and
c
:
IsLevelAbove
(
6
)
and
c
:
IsAbleToRemoveAsCost
()
end
end
function
s
.
rselect
(
g
)
function
s
.
rselect
(
g
)
return
g
:
GetClassCount
(
Card
.
GetAttributeInGrave
)
==
1
return
g
:
GetClassCount
(
Card
.
GetAttributeInGrave
)
==
1
end
end
function
s
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
rfilter
,
tp
,
LOCATION_GRAVE
,
0
,
e
:
GetHandler
()
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
rfilter
,
tp
,
LOCATION_GRAVE
,
0
,
nil
)
if
chk
==
0
then
return
g
:
CheckSubGroup
(
s
.
rselect
,
2
,
2
)
end
if
chk
==
0
then
return
g
:
CheckSubGroup
(
s
.
rselect
,
2
,
2
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
s
.
rselect
,
false
,
2
,
2
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
s
.
rselect
,
false
,
2
,
2
)
...
...
script/c101205094.lua
View file @
43d00873
script/c101205095.lua
View file @
43d00873
...
@@ -3,6 +3,7 @@ local s,id,o=GetID()
...
@@ -3,6 +3,7 @@ local s,id,o=GetID()
function
s
.
initial_effect
(
c
)
function
s
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_SEARCH
+
CATEGORY_TOHAND
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_SEARCH
+
CATEGORY_TOHAND
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
...
...
script/c101205096.lua
View file @
43d00873
...
@@ -68,8 +68,11 @@ function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -68,8 +68,11 @@ function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local
g
=
Duel
.
SelectTarget
(
tp
,
s
.
thfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
ct
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
s
.
thfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
ct
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
g
,
#
g
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
g
,
#
g
,
0
,
0
)
end
end
function
s
.
hfilter
(
c
,
e
)
return
c
:
IsRelateToEffect
(
e
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
function
s
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
s
.
hfilter
,
nil
,
e
)
if
#
g
>
0
then
if
#
g
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
end
end
...
...
script/c101206000.lua
View file @
43d00873
...
@@ -50,7 +50,7 @@ function s.indcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -50,7 +50,7 @@ function s.indcon(e,tp,eg,ep,ev,re,r,rp)
return
c
:
IsSummonType
(
SUMMON_TYPE_FUSION
)
return
c
:
IsSummonType
(
SUMMON_TYPE_FUSION
)
end
end
function
s
.
atkcon
(
e
)
function
s
.
atkcon
(
e
)
return
Duel
.
GetFieldGroupCount
(
e
:
GetHandlerPlayer
(),
LOCATION_GRAVE
,
0
)
>=
25
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_FUSION
)
and
Duel
.
GetFieldGroupCount
(
e
:
GetHandlerPlayer
(),
LOCATION_GRAVE
,
0
)
>=
25
end
end
function
s
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFieldGroupCount
(
e
:
GetHandlerPlayer
(),
0
,
LOCATION_GRAVE
)
>=
25
return
Duel
.
GetFieldGroupCount
(
e
:
GetHandlerPlayer
(),
0
,
LOCATION_GRAVE
)
>=
25
...
...
script/c101206006.lua
View file @
43d00873
...
@@ -63,7 +63,7 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -63,7 +63,7 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
s
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
ep
==
1
-
tp
and
re
:
IsActiveType
(
TYPE_SPELL
+
TYPE_MONSTER
)
and
Duel
.
IsChainDisablable
(
ev
)
return
ep
==
1
-
tp
and
re
:
IsActiveType
(
TYPE_SPELL
+
TYPE_MONSTER
)
end
end
function
s
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
s
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsFaceup
()
end
if
chkc
then
return
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsFaceup
()
end
...
...
script/c101206008.lua
View file @
43d00873
script/c101206009.lua
View file @
43d00873
...
@@ -5,7 +5,7 @@ function s.initial_effect(c)
...
@@ -5,7 +5,7 @@ function s.initial_effect(c)
--special summon
--special summon
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_TOGRAVE
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCountLimit
(
1
,
id
)
e1
:
SetCountLimit
(
1
,
id
)
...
@@ -42,12 +42,10 @@ function s.acfilter(c,tp)
...
@@ -42,12 +42,10 @@ function s.acfilter(c,tp)
return
c
:
IsCode
(
101206052
)
and
not
c
:
IsForbidden
()
and
c
:
CheckUniqueOnField
(
tp
)
return
c
:
IsCode
(
101206052
)
and
not
c
:
IsForbidden
()
and
c
:
CheckUniqueOnField
(
tp
)
end
end
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
<=
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
or
not
Duel
.
IsExistingMatchingCard
(
s
.
acfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
tp
)
then
return
false
end
and
Duel
.
IsExistingMatchingCard
(
s
.
acfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
tp
)
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
end
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
script/c101206012.lua
View file @
43d00873
--天
下
天下百鬼羅刹
--天
上
天下百鬼羅刹
local
s
,
id
,
o
=
GetID
()
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
function
s
.
initial_effect
(
c
)
--summon with no tribute
--summon with no tribute
...
@@ -84,6 +84,7 @@ function s.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -84,6 +84,7 @@ function s.mtop(e,tp,eg,ep,ev,re,r,rp)
if
og
:
GetCount
()
>
0
then
if
og
:
GetCount
()
>
0
then
Duel
.
SendtoGrave
(
og
,
REASON_RULE
)
Duel
.
SendtoGrave
(
og
,
REASON_RULE
)
end
end
tc
:
CancelToGrave
()
Duel
.
Overlay
(
g
:
GetFirst
(),
Group
.
FromCards
(
tc
))
Duel
.
Overlay
(
g
:
GetFirst
(),
Group
.
FromCards
(
tc
))
end
end
end
end
\ No newline at end of file
script/c101206013.lua
View file @
43d00873
...
@@ -35,16 +35,16 @@ function s.initial_effect(c)
...
@@ -35,16 +35,16 @@ function s.initial_effect(c)
e3
:
SetOperation
(
s
.
drop
)
e3
:
SetOperation
(
s
.
drop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
s
.
tbfilter
(
c
)
function
s
.
tbfilter
(
c
,
tp
)
return
c
:
IsType
(
TYPE_NORMAL
)
and
c
:
IsFaceup
(
)
return
c
:
IsType
(
TYPE_NORMAL
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
()
)
end
end
function
s
.
ttcon
(
e
,
c
,
minc
)
function
s
.
ttcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
g
=
Duel
.
GetMatchingGroup
(
s
.
tbfilter
,
c
:
GetControler
(),
LOCATION_MZONE
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
tbfilter
,
c
:
GetControler
(),
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
c
:
GetControler
()
)
return
minc
<=
1
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
g
,
c
:
GetControler
())
return
minc
<=
1
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
g
,
c
:
GetControler
())
end
end
function
s
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
s
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
tbfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
tbfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tp
)
local
tg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
g
)
local
tg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
g
)
c
:
SetMaterial
(
tg
)
c
:
SetMaterial
(
tg
)
Duel
.
Release
(
tg
,
REASON_SUMMON
+
REASON_MATERIAL
)
Duel
.
Release
(
tg
,
REASON_SUMMON
+
REASON_MATERIAL
)
...
@@ -109,6 +109,7 @@ function s.drop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -109,6 +109,7 @@ function s.drop(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
tc
=
g
:
GetNext
()
tc
=
g
:
GetNext
()
end
end
Duel
.
AdjustInstantly
()
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
local
g2
=
Duel
.
GetMatchingGroup
(
s
.
rmfilter1
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
s
.
rmfilter1
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
Duel
.
Remove
(
g2
,
POS_FACEUP
,
REASON_EFFECT
)
Duel
.
Remove
(
g2
,
POS_FACEUP
,
REASON_EFFECT
)
...
...
script/c101206014.lua
View file @
43d00873
...
@@ -23,6 +23,7 @@ function s.initial_effect(c)
...
@@ -23,6 +23,7 @@ function s.initial_effect(c)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetHintTiming
(
0
,
TIMING_END_PHASE
)
e3
:
SetCountLimit
(
1
,
id
+
o
)
e3
:
SetCountLimit
(
1
,
id
+
o
)
e3
:
SetCondition
(
s
.
spcon
)
e3
:
SetCondition
(
s
.
spcon
)
e3
:
SetTarget
(
s
.
sptg
)
e3
:
SetTarget
(
s
.
sptg
)
...
@@ -54,8 +55,7 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -54,8 +55,7 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
s
.
spfilter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
s
.
spfilter
(
chkc
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
s
.
spfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
s
.
spfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
c
:
IsAbleToDeck
()
end
and
c
:
IsAbleToDeck
()
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectTarget
(
tp
,
s
.
spfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectTarget
(
tp
,
s
.
spfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
c
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
c
,
1
,
0
,
0
)
...
@@ -64,8 +64,7 @@ end
...
@@ -64,8 +64,7 @@ end
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
~=
0
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
~=
0
and
c
:
IsLocation
(
LOCATION_DECK
)
and
c
:
IsLocation
(
LOCATION_DECK
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
tc
:
IsRelateToEffect
(
e
)
then
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
...
...
script/c101206015.lua
View file @
43d00873
...
@@ -8,7 +8,7 @@ function s.initial_effect(c)
...
@@ -8,7 +8,7 @@ function s.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetCountLimit
(
1
,
id
)
e1
:
SetCountLimit
(
1
,
id
)
e1
:
SetCondition
(
s
.
da
con
)
e1
:
SetCondition
(
aux
.
bp
con
)
e1
:
SetTarget
(
s
.
datg
)
e1
:
SetTarget
(
s
.
datg
)
e1
:
SetOperation
(
s
.
daop
)
e1
:
SetOperation
(
s
.
daop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
@@ -41,9 +41,6 @@ function s.initial_effect(c)
...
@@ -41,9 +41,6 @@ function s.initial_effect(c)
e4
:
SetOperation
(
s
.
spop
)
e4
:
SetOperation
(
s
.
spop
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
s
.
dacon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsAbleToEnterBP
()
end
function
s
.
datg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
datg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
tp
,
id
)
==
0
end
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
tp
,
id
)
==
0
end
end
end
...
...
script/c101206016.lua
View file @
43d00873
...
@@ -29,11 +29,11 @@ end
...
@@ -29,11 +29,11 @@ end
function
s
.
chcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
chcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
==
1
-
tp
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
Duel
.
GetCurrentChain
()
>=
2
return
rp
==
1
-
tp
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
Duel
.
GetCurrentChain
()
>=
2
end
end
function
s
.
mfilter
(
c
)
function
s
.
mfilter
(
c
,
tp
)
return
c
:
IsSetCard
(
0x1a2
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsForbidden
()
and
c
:
IsFaceupEx
()
return
c
:
IsSetCard
(
0x1a2
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsForbidden
()
and
c
:
IsFaceupEx
()
and
c
:
CheckUniqueOnField
(
tp
)
end
end
function
s
.
chtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
chtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
mfilter
,
rp
,
0
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
1
-
rp
,
LOCATION_SZONE
)
>
0
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
mfilter
,
rp
,
0
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
1
,
nil
,
rp
)
and
Duel
.
GetLocationCount
(
1
-
rp
,
LOCATION_SZONE
)
>
0
end
end
end
function
s
.
chop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
chop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Group
.
CreateGroup
()
local
g
=
Group
.
CreateGroup
()
...
@@ -52,7 +52,7 @@ function s.repop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -52,7 +52,7 @@ function s.repop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_SZONE
)
==
0
then
return
end
if
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_SZONE
)
==
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_TOFIELD
)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_TOFIELD
)
local
g
=
Duel
.
SelectMatchingCard
(
1
-
tp
,
aux
.
NecroValleyFilter
(
s
.
mfilter
),
1
-
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
1
-
tp
,
aux
.
NecroValleyFilter
(
s
.
mfilter
),
1
-
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
1
-
tp
)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
if
tc
then
if
tc
then
Duel
.
MoveToField
(
tc
,
1
-
tp
,
1
-
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
Duel
.
MoveToField
(
tc
,
1
-
tp
,
1
-
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
...
...
script/c101206021.lua
View file @
43d00873
...
@@ -40,11 +40,12 @@ function s.climit(re,rp,tp)
...
@@ -40,11 +40,12 @@ function s.climit(re,rp,tp)
return
not
re
:
GetHandler
():
IsType
(
TYPE_MONSTER
)
return
not
re
:
GetHandler
():
IsType
(
TYPE_MONSTER
)
end
end
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
sg
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
0
,
nil
)
local
sg
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
0
,
nil
)
if
Duel
.
SendtoGrave
(
sg
,
REASON_EFFECT
)
~=
0
then
if
Duel
.
SendtoGrave
(
sg
,
REASON_EFFECT
)
~=
0
then
local
g
=
Duel
.
GetOperatedGroup
()
local
g
=
Duel
.
GetOperatedGroup
()
local
ct
=
g
:
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_GRAVE
):
GetCount
()
local
ct
=
g
:
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_GRAVE
):
GetCount
()
if
ct
~=
0
and
e
:
GetHandler
():
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
e
:
GetHandler
()
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
if
ct
~=
0
and
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToGrave
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
then
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToGrave
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
...
...
script/c101206022.lua
View file @
43d00873
...
@@ -33,7 +33,8 @@ function s.cfilter(c,ec,tp,exclude_modern_count)
...
@@ -33,7 +33,8 @@ function s.cfilter(c,ec,tp,exclude_modern_count)
end
end
function
s
.
retg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
retg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
id
,
0
,
TYPE_EFFECT
+
TYPE_MONSTER
,
2100
,
1000
,
5
,
RACE_MACHINE
,
ATTRIBUTE_LIGHT
)
and
Duel
.
IsExistingMatchingCard
(
s
.
tgfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
e
,
tp
)
end
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
id
,
0
,
TYPE_EFFECT
+
TYPE_MONSTER
,
2100
,
1000
,
5
,
RACE_MACHINE
,
ATTRIBUTE_LIGHT
)
and
Duel
.
IsExistingMatchingCard
(
s
.
tgfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetTargetCard
(
e
:
GetHandler
())
Duel
.
SetTargetCard
(
e
:
GetHandler
())
Duel
.
SetOperationInfo
(
0
,
CATEGORY_EQUIP
,
nil
,
1
,
tp
,
LOCATION_REMOVED
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_EQUIP
,
nil
,
1
,
tp
,
LOCATION_REMOVED
)
end
end
...
...
script/c101206206.lua
View file @
43d00873
...
@@ -3,6 +3,7 @@ local s,id,o=GetID()
...
@@ -3,6 +3,7 @@ local s,id,o=GetID()
function
s
.
initial_effect
(
c
)
function
s
.
initial_effect
(
c
)
--spsummon
--spsummon
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
...
...
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