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
Vury Leo
pre-release-database-cdb
Commits
3159c483
Commit
3159c483
authored
Jul 25, 2025
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix
parent
04a9db52
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
57 additions
and
43 deletions
+57
-43
DOOD.cdb
DOOD.cdb
+0
-0
pack/2025-07-26 DOOD.ydk
pack/2025-07-26 DOOD.ydk
+9
-1
script/c101302027.lua
script/c101302027.lua
+10
-8
script/c101302028.lua
script/c101302028.lua
+4
-4
script/c101302029.lua
script/c101302029.lua
+6
-4
script/c101302031.lua
script/c101302031.lua
+12
-12
script/c101302048.lua
script/c101302048.lua
+3
-3
script/c101302052.lua
script/c101302052.lua
+2
-0
script/c101302072.lua
script/c101302072.lua
+7
-7
script/c101302080.lua
script/c101302080.lua
+4
-4
No files found.
DOOD.cdb
View file @
3159c483
No preview for this file type
pack/2025-07-26 DOOD.ydk
View file @
3159c483
...
@@ -25,7 +25,11 @@
...
@@ -25,7 +25,11 @@
101302024
101302024
101302025
101302025
101302026
101302026
101302027
101302028
101302029
101302030
101302030
101302031
101302032
101302032
101302033
101302033
101302034
101302034
...
@@ -42,9 +46,11 @@
...
@@ -42,9 +46,11 @@
101302045
101302045
101302046
101302046
101302047
101302047
101302048
101302207
101302207
101302050
101302050
101302051
101302051
101302052
101302053
101302053
101302208
101302208
101302055
101302055
...
@@ -64,10 +70,12 @@
...
@@ -64,10 +70,12 @@
101302069
101302069
101302070
101302070
101302071
101302071
101302072
101302209
101302209
101302074
101302074
101302075
101302075
101302076
101302076
101302077
101302077
101302078
101302078
101302079
101302079
\ No newline at end of file
101302080
\ No newline at end of file
script/c101302027.lua
View file @
3159c483
--蹴神
-
VARefar
--蹴神
-
VARefar
local
s
,
id
,
o
=
GetID
()
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
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_
TOHAND
+
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_
SPECIAL_SUMMON
+
CATEGORY_REMOVE
)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetCode
(
EVENT_BE_BATTLE_TARGET
)
e1
:
SetCode
(
EVENT_BE_BATTLE_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCountLimit
(
1
,
id
)
e1
:
SetCountLimit
(
1
,
id
)
e1
:
SetCondition
(
s
.
atkcon
)
e1
:
SetCondition
(
s
.
atkcon
)
...
@@ -37,6 +36,8 @@ end
...
@@ -37,6 +36,8 @@ 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
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
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
local
ac
=
Duel
.
GetAttacker
()
Duel
.
SetTargetCard
(
ac
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
end
function
s
.
cfilter2
(
c
,
ac
)
function
s
.
cfilter2
(
c
,
ac
)
...
@@ -48,8 +49,8 @@ end
...
@@ -48,8 +49,8 @@ end
function
s
.
spop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
spop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToChain
()
and
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
if
c
:
IsRelateToChain
()
and
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
local
ac
=
Duel
.
Get
Attacker
()
local
ac
=
Duel
.
Get
FirstTarget
()
if
ac
and
ac
:
IsRelateTo
Battle
(
)
then
if
ac
and
ac
:
IsRelateTo
Chain
()
and
ac
:
IsType
(
TYPE_MONSTER
)
then
s
.
cfop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
ac
)
s
.
cfop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
ac
)
end
end
end
end
...
@@ -64,21 +65,22 @@ function s.spop2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -64,21 +65,22 @@ function s.spop2(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToChain
()
and
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
if
c
:
IsRelateToChain
()
and
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
local
ac
=
Duel
.
GetFirstTarget
()
local
ac
=
Duel
.
GetFirstTarget
()
if
ac
and
ac
:
IsRelateTo
Effect
(
e
)
and
ac
:
IsType
(
TYPE_MONSTER
)
then
if
ac
and
ac
:
IsRelateTo
Chain
(
)
and
ac
:
IsType
(
TYPE_MONSTER
)
then
s
.
cfop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
ac
)
s
.
cfop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
ac
)
end
end
end
end
end
end
function
s
.
cfop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
ac
)
function
s
.
cfop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
ac
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
cfilter2
,
tp
,
LOCATION_HAND
,
0
,
nil
,
ac
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
cfilter2
,
tp
,
LOCATION_HAND
,
0
,
nil
,
ac
)
if
not
ac
:
IsLocation
(
LOCATION_MZONE
)
then
return
end
if
not
ac
:
IsLocation
(
LOCATION_MZONE
)
or
not
ac
:
IsControler
(
1
-
tp
)
then
return
end
if
g
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
1
))
then
if
g
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
1
))
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
HintSelection
(
Group
.
FromCards
(
ac
))
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONFIRM
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONFIRM
)
local
tc
=
g
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
local
tc
=
g
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
if
tc
:
IsType
(
TYPE_MONSTER
)
then
if
tc
:
IsType
(
TYPE_MONSTER
)
then
Duel
.
ChangePosition
(
ac
,
POS_FACEUP_DEFENSE
)
Duel
.
ChangePosition
(
ac
,
POS_FACEUP_DEFENSE
)
elseif
tc
:
IsType
(
TYPE_
MONSTER
)
then
elseif
tc
:
IsType
(
TYPE_
SPELL
)
then
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_SET_ATTACK_FINAL
)
e1
:
SetCode
(
EFFECT_SET_ATTACK_FINAL
)
...
...
script/c101302028.lua
View file @
3159c483
...
@@ -27,10 +27,10 @@ function s.initial_effect(c)
...
@@ -27,10 +27,10 @@ function s.initial_effect(c)
--special summon
--special summon
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
id
,
2
))
e3
:
SetDescription
(
aux
.
Stringid
(
id
,
2
))
e3
:
SetCategory
(
CATEGORY_
SPECIAL_SUMMON
)
e3
:
SetCategory
(
CATEGORY_
TOHAND
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_CHANGE_POS
)
e3
:
SetCode
(
EVENT_CHANGE_POS
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCountLimit
(
1
)
e3
:
SetCountLimit
(
1
)
e3
:
SetCondition
(
s
.
thcon
)
e3
:
SetCondition
(
s
.
thcon
)
...
@@ -42,9 +42,9 @@ function s.costfilter(c)
...
@@ -42,9 +42,9 @@ function s.costfilter(c)
return
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsAbleToRemoveAsCost
()
return
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsAbleToRemoveAsCost
()
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
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
costfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
costfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
e
:
GetHandler
()
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
costfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
costfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
e
:
GetHandler
()
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_COST
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_COST
)
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
)
...
...
script/c101302029.lua
View file @
3159c483
...
@@ -5,7 +5,7 @@ function s.initial_effect(c)
...
@@ -5,7 +5,7 @@ function s.initial_effect(c)
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
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_DESTROYED
)
e1
:
SetCode
(
EVENT_DESTROYED
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetRange
(
LOCATION_HAND
)
...
@@ -28,11 +28,12 @@ function s.initial_effect(c)
...
@@ -28,11 +28,12 @@ function s.initial_effect(c)
e3
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e3
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
s
.
desfilter
(
c
)
function
s
.
desfilter
(
c
,
tp
)
return
c
:
IsReason
(
REASON_EFFECT
)
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
return
c
:
IsReason
(
REASON_EFFECT
)
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
c
:
IsPreviousControler
(
tp
)
and
c
:
IsPreviousPosition
(
POS_FACEUP
)
end
end
function
s
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
s
.
desfilter
,
1
,
nil
)
return
eg
:
IsExists
(
s
.
desfilter
,
1
,
nil
,
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
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
@@ -73,6 +74,7 @@ function s.gspop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -73,6 +74,7 @@ function s.gspop(e,tp,eg,ep,ev,re,r,rp)
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_SET_ATTACK
)
e1
:
SetCode
(
EFFECT_SET_ATTACK
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetValue
(
1000
)
e1
:
SetValue
(
1000
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
...
...
script/c101302031.lua
View file @
3159c483
...
@@ -11,18 +11,18 @@ function s.initial_effect(c)
...
@@ -11,18 +11,18 @@ function s.initial_effect(c)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
1
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--special summon
--special summon
local
e
1
=
Effect
.
CreateEffect
(
c
)
local
e
2
=
Effect
.
CreateEffect
(
c
)
e
1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e
2
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e
1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_GRAVE_SPSUMMON
)
e
2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_GRAVE_SPSUMMON
)
e
1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e
2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e
1
:
SetCode
(
EVENT_DAMAGE
)
e
2
:
SetCode
(
EVENT_DAMAGE
)
e
1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DAMAGE_CAL
+
EFFECT_FLAG_DELAY
)
e
2
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DAMAGE_CAL
+
EFFECT_FLAG_DELAY
)
e
1
:
SetRange
(
LOCATION_GRAV
E
)
e
2
:
SetRange
(
LOCATION_MZON
E
)
e
1
:
SetCountLimit
(
1
,
id
)
e
2
:
SetCountLimit
(
1
,
id
)
e
1
:
SetCondition
(
s
.
spcon
)
e
2
:
SetCondition
(
s
.
spcon
)
e
1
:
SetTarget
(
s
.
sptg
)
e
2
:
SetTarget
(
s
.
sptg
)
e
1
:
SetOperation
(
s
.
spop
)
e
2
:
SetOperation
(
s
.
spop
)
c
:
RegisterEffect
(
e
1
)
c
:
RegisterEffect
(
e
2
)
end
end
function
s
.
indtg
(
e
,
c
)
function
s
.
indtg
(
e
,
c
)
local
tc
=
e
:
GetHandler
()
local
tc
=
e
:
GetHandler
()
...
...
script/c101302048.lua
View file @
3159c483
--漆梏の喰獣
ケルゼブス
--漆梏の喰獣 ケルゼブス
local
s
,
id
,
o
=
GetID
()
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
function
s
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
...
@@ -28,7 +28,7 @@ function s.initial_effect(c)
...
@@ -28,7 +28,7 @@ function s.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e3
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCountLimit
(
1
)
e3
:
SetCountLimit
(
1
,
id
)
e3
:
SetTarget
(
s
.
settg
)
e3
:
SetTarget
(
s
.
settg
)
e3
:
SetOperation
(
s
.
setop
)
e3
:
SetOperation
(
s
.
setop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
...
@@ -38,7 +38,7 @@ function s.atkval(e,c)
...
@@ -38,7 +38,7 @@ function s.atkval(e,c)
end
end
function
s
.
matcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
matcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
return
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
IsActiveType
(
TYPE_QUICKPLAY
)
or
re
:
GetHandler
():
GetType
()
==
TYPE_SPELL
and
(
re
:
IsActiveType
(
TYPE_QUICKPLAY
)
or
re
:
GetHandler
():
GetType
()
==
TYPE_SPELL
)
end
end
function
s
.
mattg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
mattg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
re
:
GetHandler
():
IsCanOverlay
()
and
e
:
GetHandler
():
IsType
(
TYPE_XYZ
)
end
if
chk
==
0
then
return
re
:
GetHandler
():
IsCanOverlay
()
and
e
:
GetHandler
():
IsType
(
TYPE_XYZ
)
end
...
...
script/c101302052.lua
View file @
3159c483
...
@@ -21,6 +21,7 @@ function s.initial_effect(c)
...
@@ -21,6 +21,7 @@ function s.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCost
(
s
.
sumcost
)
e2
:
SetTarget
(
s
.
sumtg
)
e2
:
SetTarget
(
s
.
sumtg
)
e2
:
SetOperation
(
s
.
sumop
)
e2
:
SetOperation
(
s
.
sumop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
@@ -46,6 +47,7 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -46,6 +47,7 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
s
.
thfilter
),
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
s
.
thfilter
),
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
if
not
tc
then
return
end
if
not
tc
then
return
end
Duel
.
HintSelection
(
g
)
if
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
~=
0
and
tc
:
IsLocation
(
LOCATION_HAND
)
then
if
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
~=
0
and
tc
:
IsLocation
(
LOCATION_HAND
)
then
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
script/c101302072.lua
View file @
3159c483
...
@@ -37,14 +37,14 @@ end
...
@@ -37,14 +37,14 @@ end
function
s
.
tgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
s
.
tgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
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
if
chk
==
0
then
return
c
:
IsCanRemoveCounter
(
tp
,
0x70
,
1
,
REASON_COST
)
if
chk
==
0
then
return
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x70
,
1
,
REASON_COST
)
and
Duel
.
IsExistingTarget
(
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
and
Duel
.
IsExistingTarget
(
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
local
tc
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
):
GetFirst
()
local
tc
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
):
GetFirst
()
local
b1
=
c
:
IsCanRemoveCounter
(
tp
,
0x70
,
1
,
REASON_COST
)
local
b1
=
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x70
,
1
,
REASON_COST
)
local
b2
=
not
tc
:
IsAttack
(
0
)
and
c
:
IsCanRemoveCounter
(
tp
,
0x70
,
2
,
REASON_COST
)
local
b2
=
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x70
,
2
,
REASON_COST
)
and
not
tc
:
IsAttack
(
0
)
local
b3
=
aux
.
NegateEffectMonsterFilter
(
tc
)
and
c
:
IsCanRemoveCounter
(
tp
,
0x70
,
3
,
REASON_COST
)
local
b3
=
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x70
,
3
,
REASON_COST
)
and
aux
.
NegateEffectMonsterFilter
(
tc
)
local
b4
=
c
:
IsCanRemoveCounter
(
tp
,
0x70
,
4
,
REASON_COST
)
local
b4
=
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x70
,
4
,
REASON_COST
)
local
op
=
aux
.
SelectFromOptions
(
tp
,
local
op
=
aux
.
SelectFromOptions
(
tp
,
{
b1
,
aux
.
Stringid
(
id
,
1
),
1
},
{
b1
,
aux
.
Stringid
(
id
,
1
),
1
},
{
b2
,
aux
.
Stringid
(
id
,
2
),
2
},
{
b2
,
aux
.
Stringid
(
id
,
2
),
2
},
...
@@ -87,13 +87,13 @@ function s.tgop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -87,13 +87,13 @@ function s.tgop(e,tp,eg,ep,ev,re,r,rp)
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_DISABLE
)
e1
:
SetCode
(
EFFECT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
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_DISABLE_EFFECT
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetValue
(
RESET_TURN_SET
)
e2
:
SetValue
(
RESET_TURN_SET
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
end
end
elseif
e
:
GetLabel
()
==
4
then
elseif
e
:
GetLabel
()
==
4
then
...
...
script/c101302080.lua
View file @
3159c483
--
--
お菊さんの皿算用
local
s
,
id
,
o
=
GetID
()
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
function
s
.
initial_effect
(
c
)
c
:
EnableCounterPermit
(
0x71
)
c
:
EnableCounterPermit
(
0x71
)
...
@@ -7,7 +7,7 @@ function s.initial_effect(c)
...
@@ -7,7 +7,7 @@ function s.initial_effect(c)
e0
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e0
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e0
:
SetCode
(
EVENT_FREE_CHAIN
)
e0
:
SetCode
(
EVENT_FREE_CHAIN
)
c
:
RegisterEffect
(
e0
)
c
:
RegisterEffect
(
e0
)
--
to extra
--
add counter
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_COUNTER
)
e1
:
SetCategory
(
CATEGORY_COUNTER
)
...
@@ -41,10 +41,10 @@ function s.initial_effect(c)
...
@@ -41,10 +41,10 @@ function s.initial_effect(c)
e4
:
SetCondition
(
s
.
adjustcon
)
e4
:
SetCondition
(
s
.
adjustcon
)
e4
:
SetOperation
(
s
.
adjustop
)
e4
:
SetOperation
(
s
.
adjustop
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
--
--
deckdes
local
e5
=
Effect
.
CreateEffect
(
c
)
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e5
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e5
:
SetCategory
(
CATEGORY_
TOGRAVE
)
e5
:
SetCategory
(
CATEGORY_
DECKDES
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e5
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e5
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e5
:
SetCode
(
EVENT_TO_GRAVE
)
e5
:
SetCode
(
EVENT_TO_GRAVE
)
...
...
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