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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
b24da63c
Commit
b24da63c
authored
Aug 20, 2024
by
Huangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
时光酒桌字段拆分
parent
ce3de434
Pipeline
#29297
passed with stages
in 48 minutes and 10 seconds
Changes
15
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
30 additions
and
30 deletions
+30
-30
expansions/FiNALE.cdb
expansions/FiNALE.cdb
+0
-0
expansions/script/c60002009.lua
expansions/script/c60002009.lua
+5
-5
expansions/script/c60002010.lua
expansions/script/c60002010.lua
+2
-2
expansions/script/c60002011.lua
expansions/script/c60002011.lua
+1
-1
expansions/script/c60002012.lua
expansions/script/c60002012.lua
+2
-2
expansions/script/c60002013.lua
expansions/script/c60002013.lua
+2
-2
expansions/script/c60002014.lua
expansions/script/c60002014.lua
+1
-1
expansions/script/c60002015.lua
expansions/script/c60002015.lua
+3
-3
expansions/script/c60002016.lua
expansions/script/c60002016.lua
+2
-2
expansions/script/c60002017.lua
expansions/script/c60002017.lua
+2
-2
expansions/script/c60002018.lua
expansions/script/c60002018.lua
+2
-2
expansions/script/c60002021.lua
expansions/script/c60002021.lua
+2
-2
expansions/script/c60002022.lua
expansions/script/c60002022.lua
+3
-3
expansions/script/c60002023.lua
expansions/script/c60002023.lua
+2
-2
expansions/script/c60002024.lua
expansions/script/c60002024.lua
+1
-1
No files found.
expansions/FiNALE.cdb
View file @
b24da63c
No preview for this file type
expansions/script/c60002009.lua
View file @
b24da63c
...
@@ -102,7 +102,7 @@ function timeTable.counterEffectCost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -102,7 +102,7 @@ function timeTable.counterEffectCost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoGrave
(
sg
,
REASON_COST
)
Duel
.
SendtoGrave
(
sg
,
REASON_COST
)
end
end
function
timeTable
.
removeFilter
(
c
)
function
timeTable
.
removeFilter
(
c
)
return
c
:
IsSetCard
(
0x629
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToRemove
()
return
c
:
IsSetCard
(
0x
33
629
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToRemove
()
end
end
function
timeTable
.
chainlm
(
e
,
rp
,
tp
)
function
timeTable
.
chainlm
(
e
,
rp
,
tp
)
return
e
:
GetHandler
():
IsType
(
TYPE_COUNTER
)
return
e
:
GetHandler
():
IsType
(
TYPE_COUNTER
)
...
@@ -156,7 +156,7 @@ function timeTable.spsummon(c,code,extra3,extra5)
...
@@ -156,7 +156,7 @@ function timeTable.spsummon(c,code,extra3,extra5)
return
e1
return
e1
end
end
function
timeTable
.
spsummonCon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
timeTable
.
spsummonCon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
:
GetHandler
():
IsSetCard
(
0x629
)
return
re
:
GetHandler
():
IsSetCard
(
0x
33
629
)
end
end
function
timeTable
.
spsummonTargetFilter
(
c
)
function
timeTable
.
spsummonTargetFilter
(
c
)
return
c
:
IsLevel
(
9
)
and
c
:
IsAbleToGrave
()
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
return
c
:
IsLevel
(
9
)
and
c
:
IsAbleToGrave
()
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
...
@@ -207,7 +207,7 @@ function timeTable.exsplimit(e,c)
...
@@ -207,7 +207,7 @@ function timeTable.exsplimit(e,c)
return
c
:
IsLocation
(
LOCATION_EXTRA
)
return
c
:
IsLocation
(
LOCATION_EXTRA
)
end
end
function
timeTable
.
effectlimit
(
e
,
re
,
tp
)
function
timeTable
.
effectlimit
(
e
,
re
,
tp
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
not
re
:
GetHandler
():
IsSetCard
(
0x629
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
not
re
:
GetHandler
():
IsSetCard
(
0x
33
629
)
end
end
function
timeTable
.
globle
(
c
)
function
timeTable
.
globle
(
c
)
if
not
timeTable
.
global_check
then
if
not
timeTable
.
global_check
then
...
@@ -243,7 +243,7 @@ function timeTable.spell(c,extra3,extra5)
...
@@ -243,7 +243,7 @@ function timeTable.spell(c,extra3,extra5)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
timeTable
.
actionConFilter
(
c
)
function
timeTable
.
actionConFilter
(
c
)
return
c
:
IsFacedown
()
or
not
c
:
IsSetCard
(
0x629
)
return
c
:
IsFacedown
()
or
not
c
:
IsSetCard
(
0x
33
629
)
end
end
function
timeTable
.
actionCon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
timeTable
.
actionCon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
not
Duel
.
IsExistingMatchingCard
(
timeTable
.
actionConFilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
return
not
Duel
.
IsExistingMatchingCard
(
timeTable
.
actionConFilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
...
@@ -306,7 +306,7 @@ function cm.extra3(c)
...
@@ -306,7 +306,7 @@ function cm.extra3(c)
e1
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
)
e1
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e1
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x629
))
e1
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x
33
629
))
e1
:
SetValue
(
1
)
e1
:
SetValue
(
1
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
...
expansions/script/c60002010.lua
View file @
b24da63c
...
@@ -9,7 +9,7 @@ function cm.initial_effect(c)
...
@@ -9,7 +9,7 @@ function cm.initial_effect(c)
end
end
--e1
--e1
function
cm
.
stfil
(
c
)
function
cm
.
stfil
(
c
)
return
not
c
:
IsCode
(
60002010
)
and
c
:
IsSetCard
(
0x629
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsForbidden
()
return
not
c
:
IsCode
(
60002010
)
and
c
:
IsSetCard
(
0x
3
629
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsForbidden
()
end
end
function
cm
.
extraMove
(
e
,
tp
)
function
cm
.
extraMove
(
e
,
tp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
@@ -33,7 +33,7 @@ function cm.extra3(c)
...
@@ -33,7 +33,7 @@ function cm.extra3(c)
e1
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
)
e1
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e1
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x629
))
e1
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x
3
629
))
e1
:
SetValue
(
1000
)
e1
:
SetValue
(
1000
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
...
expansions/script/c60002011.lua
View file @
b24da63c
...
@@ -25,7 +25,7 @@ function cm.extra3(c)
...
@@ -25,7 +25,7 @@ function cm.extra3(c)
e1
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
)
e1
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e1
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x629
))
e1
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x
3
629
))
e1
:
SetValue
(
1000
)
e1
:
SetValue
(
1000
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
...
expansions/script/c60002012.lua
View file @
b24da63c
...
@@ -9,7 +9,7 @@ function cm.initial_effect(c)
...
@@ -9,7 +9,7 @@ function cm.initial_effect(c)
end
end
--e1
--e1
function
cm
.
rmfil
(
c
)
function
cm
.
rmfil
(
c
)
return
c
:
IsSetCard
(
0x629
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToRemove
()
return
c
:
IsSetCard
(
0x
3
629
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToRemove
()
end
end
function
cm
.
extraMove
(
e
,
tp
)
function
cm
.
extraMove
(
e
,
tp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
@@ -29,7 +29,7 @@ function cm.extra3(c)
...
@@ -29,7 +29,7 @@ function cm.extra3(c)
e1
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
)
e1
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e1
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x629
))
e1
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x
3
629
))
e1
:
SetValue
(
1
)
e1
:
SetValue
(
1
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
...
expansions/script/c60002013.lua
View file @
b24da63c
...
@@ -28,14 +28,14 @@ function cm.extra3(c)
...
@@ -28,14 +28,14 @@ function cm.extra3(c)
e2
:
SetCode
(
EFFECT_DIRECT_ATTACK
)
e2
:
SetCode
(
EFFECT_DIRECT_ATTACK
)
e2
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
)
e2
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
)
e2
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e2
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e2
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x629
))
e2
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x
3
629
))
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EFFECT_CHANGE_BATTLE_DAMAGE
)
e3
:
SetCode
(
EFFECT_CHANGE_BATTLE_DAMAGE
)
e3
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e3
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e3
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x629
))
e3
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x
3
629
))
e3
:
SetCondition
(
cm
.
rdcon
)
e3
:
SetCondition
(
cm
.
rdcon
)
e3
:
SetValue
(
aux
.
ChangeBattleDamage
(
1
,
HALF_DAMAGE
))
e3
:
SetValue
(
aux
.
ChangeBattleDamage
(
1
,
HALF_DAMAGE
))
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e3
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
...
...
expansions/script/c60002014.lua
View file @
b24da63c
...
@@ -28,7 +28,7 @@ function cm.extra3(c)
...
@@ -28,7 +28,7 @@ function cm.extra3(c)
e2
:
SetCode
(
EFFECT_PIERCE
)
e2
:
SetCode
(
EFFECT_PIERCE
)
e2
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
)
e2
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
)
e2
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e2
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e2
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x629
))
e2
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x
3
629
))
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
...
...
expansions/script/c60002015.lua
View file @
b24da63c
...
@@ -9,7 +9,7 @@ function cm.initial_effect(c)
...
@@ -9,7 +9,7 @@ function cm.initial_effect(c)
end
end
--e1
--e1
function
cm
.
thfil
(
c
)
function
cm
.
thfil
(
c
)
return
c
:
IsSetCard
(
0x629
)
and
not
c
:
IsCode
(
m
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x
3
629
)
and
not
c
:
IsCode
(
m
)
and
c
:
IsAbleToHand
()
end
end
function
cm
.
extraMove
(
e
,
tp
)
function
cm
.
extraMove
(
e
,
tp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
@@ -58,11 +58,11 @@ function cm.gxstfil(c)
...
@@ -58,11 +58,11 @@ function cm.gxstfil(c)
if
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
m
)
then
if
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
m
)
then
return
c
:
IsType
(
TYPE_TRAP
)
and
c
:
IsType
(
TYPE_COUNTER
)
and
c
:
IsSSetable
()
return
c
:
IsType
(
TYPE_TRAP
)
and
c
:
IsType
(
TYPE_COUNTER
)
and
c
:
IsSSetable
()
else
else
return
(
c
:
IsType
(
TYPE_TRAP
)
and
c
:
IsType
(
TYPE_COUNTER
)
and
c
:
IsSSetable
())
or
(
c
:
IsSetCard
(
0x629
)
and
c
:
IsType
(
TYPE_MONSTER
))
return
(
c
:
IsType
(
TYPE_TRAP
)
and
c
:
IsType
(
TYPE_COUNTER
)
and
c
:
IsSSetable
())
or
(
c
:
IsSetCard
(
0x
3
629
)
and
c
:
IsType
(
TYPE_MONSTER
))
end
end
end
end
function
cm
.
gxstfil1
(
c
)
function
cm
.
gxstfil1
(
c
)
return
c
:
IsSetCard
(
0x629
)
and
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsSetCard
(
0x
3
629
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
end
function
cm
.
gxstgck
(
g
,
tp
)
function
cm
.
gxstgck
(
g
,
tp
)
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
m
)
then
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
m
)
then
...
...
expansions/script/c60002016.lua
View file @
b24da63c
...
@@ -9,7 +9,7 @@ function cm.initial_effect(c)
...
@@ -9,7 +9,7 @@ function cm.initial_effect(c)
end
end
--e1
--e1
function
cm
.
tgtfil
(
c
)
function
cm
.
tgtfil
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x629
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x
3
629
)
end
end
function
cm
.
extraMove
(
e
,
tp
)
function
cm
.
extraMove
(
e
,
tp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
@@ -64,7 +64,7 @@ function cm.cntop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -64,7 +64,7 @@ function cm.cntop(e,tp,eg,ep,ev,re,r,rp)
timeTable
.
immue
(
tc
)
timeTable
.
immue
(
tc
)
end
end
function
cm
.
ggctfil
(
c
)
function
cm
.
ggctfil
(
c
)
return
c
:
IsSetCard
(
0x629
)
and
c
:
IsDiscardable
()
return
c
:
IsSetCard
(
0x
3
629
)
and
c
:
IsDiscardable
()
end
end
function
cm
.
gcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
gcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
ggctfil
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
ggctfil
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
...
...
expansions/script/c60002017.lua
View file @
b24da63c
...
@@ -9,7 +9,7 @@ function cm.initial_effect(c)
...
@@ -9,7 +9,7 @@ function cm.initial_effect(c)
end
end
--e1
--e1
function
cm
.
thfil
(
c
)
function
cm
.
thfil
(
c
)
return
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsSetCard
(
0x629
)
return
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsSetCard
(
0x
3
629
)
end
end
function
cm
.
extraMove
(
e
,
tp
)
function
cm
.
extraMove
(
e
,
tp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
@@ -73,7 +73,7 @@ function cm.addop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -73,7 +73,7 @@ function cm.addop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
cm
.
ggctfil
(
c
)
function
cm
.
ggctfil
(
c
)
return
c
:
IsSetCard
(
0x629
)
and
c
:
IsDiscardable
()
return
c
:
IsSetCard
(
0x
3
629
)
and
c
:
IsDiscardable
()
end
end
function
cm
.
gcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
gcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
ggctfil
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
ggctfil
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
...
...
expansions/script/c60002018.lua
View file @
b24da63c
...
@@ -9,7 +9,7 @@ function cm.initial_effect(c)
...
@@ -9,7 +9,7 @@ function cm.initial_effect(c)
end
end
--e1
--e1
function
cm
.
thfil
(
c
)
function
cm
.
thfil
(
c
)
return
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsSetCard
(
0x629
)
return
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsSetCard
(
0x
3
629
)
end
end
function
cm
.
extraMove
(
e
,
tp
)
function
cm
.
extraMove
(
e
,
tp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
@@ -78,7 +78,7 @@ function cm.addop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -78,7 +78,7 @@ function cm.addop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
cm
.
ggctfil
(
c
)
function
cm
.
ggctfil
(
c
)
return
c
:
IsSetCard
(
0x629
)
and
c
:
IsDiscardable
()
return
c
:
IsSetCard
(
0x
3
629
)
and
c
:
IsDiscardable
()
end
end
function
cm
.
gcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
gcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
ggctfil
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
ggctfil
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
...
...
expansions/script/c60002021.lua
View file @
b24da63c
...
@@ -29,7 +29,7 @@ function cm.actg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -29,7 +29,7 @@ function cm.actg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
end
end
function
cm
.
ckfil
(
c
)
function
cm
.
ckfil
(
c
)
return
c
:
IsSetCard
(
0x629
)
or
(
c
:
IsType
(
TYPE_TRAP
)
and
c
:
IsType
(
TYPE_COUNTER
))
return
c
:
IsSetCard
(
0x
3
629
)
or
(
c
:
IsType
(
TYPE_TRAP
)
and
c
:
IsType
(
TYPE_COUNTER
))
end
end
function
cm
.
aclimit
(
e
,
re
,
tp
)
function
cm
.
aclimit
(
e
,
re
,
tp
)
return
re
:
GetHandler
():
IsCode
(
e
:
GetLabel
())
return
re
:
GetHandler
():
IsCode
(
e
:
GetLabel
())
...
@@ -100,7 +100,7 @@ function cm.setfilter(c)
...
@@ -100,7 +100,7 @@ function cm.setfilter(c)
return
c
:
IsType
(
TYPE_TRAP
)
and
c
:
IsType
(
TYPE_COUNTER
)
and
c
:
IsSSetable
()
return
c
:
IsType
(
TYPE_TRAP
)
and
c
:
IsType
(
TYPE_COUNTER
)
and
c
:
IsSSetable
()
end
end
function
cm
.
thfil1
(
c
)
function
cm
.
thfil1
(
c
)
return
c
:
IsSetCard
(
0x629
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x
3
629
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
end
end
function
cm
.
thfil2
(
c
)
function
cm
.
thfil2
(
c
)
return
c
:
IsType
(
TYPE_TRAP
)
and
c
:
IsType
(
TYPE_COUNTER
)
and
c
:
IsAbleToHand
()
return
c
:
IsType
(
TYPE_TRAP
)
and
c
:
IsType
(
TYPE_COUNTER
)
and
c
:
IsAbleToHand
()
...
...
expansions/script/c60002022.lua
View file @
b24da63c
...
@@ -26,7 +26,7 @@ function cm.chlimit(e,ep,tp)
...
@@ -26,7 +26,7 @@ function cm.chlimit(e,ep,tp)
return
tp
==
ep
return
tp
==
ep
end
end
function
cm
.
ckfil
(
c
)
function
cm
.
ckfil
(
c
)
return
c
:
IsSetCard
(
0x629
)
or
(
c
:
IsType
(
TYPE_TRAP
)
and
c
:
IsType
(
TYPE_COUNTER
))
return
c
:
IsSetCard
(
0x
3
629
)
or
(
c
:
IsType
(
TYPE_TRAP
)
and
c
:
IsType
(
TYPE_COUNTER
))
end
end
function
cm
.
thfil1
(
c
)
function
cm
.
thfil1
(
c
)
return
c
:
IsAbleToHand
()
and
(
c
:
IsType
(
TYPE_TRAP
)
and
c
:
IsType
(
TYPE_COUNTER
))
return
c
:
IsAbleToHand
()
and
(
c
:
IsType
(
TYPE_TRAP
)
and
c
:
IsType
(
TYPE_COUNTER
))
...
@@ -39,7 +39,7 @@ function cm.acop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -39,7 +39,7 @@ function cm.acop(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
<
10
then
return
end
if
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
<
10
then
return
end
Duel
.
ConfirmDecktop
(
tp
,
10
)
Duel
.
ConfirmDecktop
(
tp
,
10
)
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
10
)
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
10
)
local
count
=
g
:
FilterCount
(
cm
.
ckfil
,
nil
)
--counter and 0x629
local
count
=
g
:
FilterCount
(
cm
.
ckfil
,
nil
)
--counter and 0x
3
629
local
cg
=
Group
.
CreateGroup
()
local
cg
=
Group
.
CreateGroup
()
if
count
>=
0
and
g
:
FilterCount
(
cm
.
thfil1
,
nil
)
>
0
then
if
count
>=
0
and
g
:
FilterCount
(
cm
.
thfil1
,
nil
)
>
0
then
local
tc
=
g
:
FilterSelect
(
tp
,
cm
.
thfil1
,
1
,
1
,
nil
):
GetFirst
()
local
tc
=
g
:
FilterSelect
(
tp
,
cm
.
thfil1
,
1
,
1
,
nil
):
GetFirst
()
...
@@ -69,7 +69,7 @@ function cm.acop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -69,7 +69,7 @@ function cm.acop(e,tp,eg,ep,ev,re,r,rp)
end
end
--e2
--e2
function
cm
.
setf
(
c
)
function
cm
.
setf
(
c
)
return
c
:
IsSSetable
()
and
c
:
IsSetCard
(
0x629
)
and
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsSSetable
()
and
c
:
IsSetCard
(
0x
3
629
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
end
function
cm
.
extra3
(
e
,
tp
)
function
cm
.
extra3
(
e
,
tp
)
if
Duel
.
IsExistingMatchingCard
(
cm
.
setf
,
tp
,
LOCATION_GRAVE
,
0
,
2
,
nil
)
then
if
Duel
.
IsExistingMatchingCard
(
cm
.
setf
,
tp
,
LOCATION_GRAVE
,
0
,
2
,
nil
)
then
...
...
expansions/script/c60002023.lua
View file @
b24da63c
...
@@ -98,7 +98,7 @@ function cm.extra5(e,tp)
...
@@ -98,7 +98,7 @@ function cm.extra5(e,tp)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_CANNOT_DISABLE
)
e1
:
SetCode
(
EFFECT_CANNOT_DISABLE
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x629
))
e1
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x
3
629
))
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
@@ -111,5 +111,5 @@ end
...
@@ -111,5 +111,5 @@ end
function
cm
.
dxefil
(
e
,
ct
)
function
cm
.
dxefil
(
e
,
ct
)
local
p
=
e
:
GetHandler
():
GetControler
()
local
p
=
e
:
GetHandler
():
GetControler
()
local
te
,
tp
=
Duel
.
GetChainInfo
(
ct
,
CHAININFO_TRIGGERING_EFFECT
,
CHAININFO_TRIGGERING_PLAYER
)
local
te
,
tp
=
Duel
.
GetChainInfo
(
ct
,
CHAININFO_TRIGGERING_EFFECT
,
CHAININFO_TRIGGERING_PLAYER
)
return
p
==
tp
and
te
:
GetHandler
():
IsSetCard
(
0x629
)
return
p
==
tp
and
te
:
GetHandler
():
IsSetCard
(
0x
3
629
)
end
end
\ No newline at end of file
expansions/script/c60002024.lua
View file @
b24da63c
...
@@ -42,7 +42,7 @@ function cm.initial_effect(c)
...
@@ -42,7 +42,7 @@ function cm.initial_effect(c)
end
end
--e1
--e1
function
cm
.
setfilter
(
c
)
function
cm
.
setfilter
(
c
)
return
c
:
IsSetCard
(
0x629
)
and
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsSetCard
(
0x
3
629
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
end
function
cm
.
actg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
actg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
nil
,
tp
,
LOCATION_SZONE
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
setfilter
,
tp
,
LOCATION_DECK
,
0
,
3
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
nil
,
tp
,
LOCATION_SZONE
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
setfilter
,
tp
,
LOCATION_DECK
,
0
,
3
,
nil
)
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