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
xiaoye
ygopro-222DIY-cards
Commits
205bef57
Commit
205bef57
authored
Apr 05, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
得得得得得
parent
cb2ca6c8
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
38 additions
and
36 deletions
+38
-36
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c12000000.lua
expansions/script/c12000000.lua
+3
-1
expansions/script/c12005001.lua
expansions/script/c12005001.lua
+1
-1
expansions/script/c12010002.lua
expansions/script/c12010002.lua
+1
-1
expansions/script/c12010007.lua
expansions/script/c12010007.lua
+1
-1
expansions/script/c12010015.lua
expansions/script/c12010015.lua
+1
-1
expansions/script/c12010024.lua
expansions/script/c12010024.lua
+1
-1
expansions/script/c12010027.lua
expansions/script/c12010027.lua
+20
-20
expansions/script/c12010041.lua
expansions/script/c12010041.lua
+1
-1
expansions/script/c12010042.lua
expansions/script/c12010042.lua
+1
-1
expansions/script/c12010046.lua
expansions/script/c12010046.lua
+1
-1
expansions/script/c12010048.lua
expansions/script/c12010048.lua
+1
-1
expansions/script/c12010051.lua
expansions/script/c12010051.lua
+2
-2
expansions/script/c12010053.lua
expansions/script/c12010053.lua
+3
-3
expansions/strings.conf
expansions/strings.conf
+1
-1
No files found.
expansions/222DIY.cdb
View file @
205bef57
No preview for this file type
expansions/script/c12000000.lua
View file @
205bef57
...
@@ -108,7 +108,9 @@ end
...
@@ -108,7 +108,9 @@ end
function
srre
.
check_effect_ignite
(
c
)
--
function
srre
.
check_effect_ignite
(
c
)
--
return
srre
.
check_effect
(
c
,
"ignite"
)
return
srre
.
check_effect
(
c
,
"ignite"
)
end
end
function
srre
.
check_set_sekaikishi
(
c
)
--星界骑士
return
srre
.
check_set
(
c
,
"sekaikishi"
)
end
function
srre
.
SPSummoneffect
(
c
,
m
,
des
,
tt
,
cate
,
pro
,
limit
,
con
,
cost
,
tg
,
op
)
function
srre
.
SPSummoneffect
(
c
,
m
,
des
,
tt
,
cate
,
pro
,
limit
,
con
,
cost
,
tg
,
op
)
--tograve
--tograve
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c12005001.lua
View file @
205bef57
...
@@ -52,7 +52,7 @@ function c12005001.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -52,7 +52,7 @@ function c12005001.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c12005001
.
thfilter1
(
c
)
function
c12005001
.
thfilter1
(
c
)
return
c
:
IsSetCard
(
0xfbc
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x
3
fbc
)
and
c
:
IsAbleToHand
()
end
end
function
c12005001
.
thfilter2
(
c
)
function
c12005001
.
thfilter2
(
c
)
return
c
:
IsSetCard
(
0x1fb3
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x1fb3
)
and
c
:
IsAbleToHand
()
...
...
expansions/script/c12010002.lua
View file @
205bef57
...
@@ -32,7 +32,7 @@ function c12010002.initial_effect(c)
...
@@ -32,7 +32,7 @@ function c12010002.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c12010002
.
cfilter1
(
c
,
ft
,
tp
)
function
c12010002
.
cfilter1
(
c
,
ft
,
tp
)
return
c
:
IsSetCard
(
0xfbc
)
return
c
:
IsSetCard
(
0x
3
fbc
)
end
end
function
c12010002
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c12010002
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
...
...
expansions/script/c12010007.lua
View file @
205bef57
...
@@ -60,7 +60,7 @@ function c12010007.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -60,7 +60,7 @@ function c12010007.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
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
c12010007
.
spthfilter
(
c
)
function
c12010007
.
spthfilter
(
c
)
return
c
:
IsSetCard
(
0xfbc
)
and
c
:
IsAbleToHand
()
and
c
:
IsType
(
TYPE_TRAP
+
TYPE_SPELL
)
return
c
:
IsSetCard
(
0x
3
fbc
)
and
c
:
IsAbleToHand
()
and
c
:
IsType
(
TYPE_TRAP
+
TYPE_SPELL
)
end
end
function
c12010007
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c12010007
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
...
...
expansions/script/c12010015.lua
View file @
205bef57
...
@@ -45,7 +45,7 @@ function c12010015.spcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -45,7 +45,7 @@ function c12010015.spcon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_ADVANCE
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_ADVANCE
)
end
end
function
c12010015
.
tgfilter
(
c
)
function
c12010015
.
tgfilter
(
c
)
return
c
:
IsSetCard
(
0xfbc
)
and
c
:
IsFaceup
()
return
c
:
IsSetCard
(
0x
3
fbc
)
and
c
:
IsFaceup
()
end
end
function
c12010015
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c12010015
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c12010015
.
tgfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c12010015
.
tgfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
...
...
expansions/script/c12010024.lua
View file @
205bef57
...
@@ -137,7 +137,7 @@ function c12010024.thcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -137,7 +137,7 @@ function c12010024.thcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
IsExistingMatchingCard
(
c12010024
.
thcfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
c12010024
.
thcfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
end
function
c12010024
.
thfilter
(
c
)
function
c12010024
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0xfbc
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x
3
fbc
)
and
c
:
IsAbleToHand
()
end
end
function
c12010024
.
cost2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c12010024
.
cost2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToGraveAsCost
()
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToGraveAsCost
()
end
...
...
expansions/script/c12010027.lua
View file @
205bef57
...
@@ -62,7 +62,7 @@ function c12010027.synlimit(e,c)
...
@@ -62,7 +62,7 @@ function c12010027.synlimit(e,c)
return
not
c
:
IsSetCard
(
0xfba
)
return
not
c
:
IsSetCard
(
0xfba
)
end
end
function
c12010027
.
filter
(
c
)
function
c12010027
.
filter
(
c
)
return
c
:
IsSetCard
(
0xfbc
)
and
c
:
IsType
(
TYPE_CONTINUOUS
)
return
c
:
IsSetCard
(
0x
3
fbc
)
and
c
:
IsType
(
TYPE_CONTINUOUS
)
end
end
function
c12010027
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c12010027
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c12010027
.
filter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c12010027
.
filter
(
chkc
)
end
...
@@ -71,28 +71,28 @@ function c12010027.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -71,28 +71,28 @@ function c12010027.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local
g
=
Duel
.
SelectTarget
(
tp
,
c12010027
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c12010027
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
end
end
function
c12010027
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c12010027
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
false
end
if
not
c
:
IsRelateToEffect
(
e
)
then
return
false
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
<=
0
then
return
false
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
<=
0
then
return
false
end
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsType
(
TYPE_MONSTER
)
then
if
tc
:
IsType
(
TYPE_MONSTER
)
then
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetCode
(
EFFECT_CHANGE_TYPE
)
e1
:
SetCode
(
EFFECT_CHANGE_TYPE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fc0000
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fc0000
)
e1
:
SetValue
(
TYPE_SPELL
+
TYPE_CONTINUOUS
)
e1
:
SetValue
(
TYPE_SPELL
+
TYPE_CONTINUOUS
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
else
else
if
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
Duel
.
RaiseEvent
(
tc
,
EVENT_CHAIN_SOLVED
,
tc
:
GetActivateEffect
(),
0
,
tp
,
tp
,
Duel
.
GetCurrentChain
())
Duel
.
RaiseEvent
(
tc
,
EVENT_CHAIN_SOLVED
,
tc
:
GetActivateEffect
(),
0
,
tp
,
tp
,
Duel
.
GetCurrentChain
())
end
end
end
end
end
end
function
c12010027
.
filter2
(
c
)
function
c12010027
.
filter2
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsReleasable
()
and
((
c
:
IsSetCard
(
0xfbc
)
and
(
c
:
IsType
(
TYPE_SPELL
)
or
c
:
IsType
(
TYPE_TRAP
)))
or
(
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0xfba
)))
return
c
:
IsFaceup
()
and
c
:
IsReleasable
()
and
((
c
:
IsSetCard
(
0x
3
fbc
)
and
(
c
:
IsType
(
TYPE_SPELL
)
or
c
:
IsType
(
TYPE_TRAP
)))
or
(
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0xfba
)))
end
end
function
c12010027
.
target2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c12010027
.
target2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_ONFIELD
)
and
chkc
:
IsControler
(
tp
)
and
c12010027
.
filter2
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_ONFIELD
)
and
chkc
:
IsControler
(
tp
)
and
c12010027
.
filter2
(
chkc
)
end
...
...
expansions/script/c12010041.lua
View file @
205bef57
...
@@ -35,7 +35,7 @@ function c12010041.thcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -35,7 +35,7 @@ function c12010041.thcon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_FUSION
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_FUSION
)
end
end
function
c12010041
.
thfilter
(
c
)
function
c12010041
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0xfbc
)
and
c
:
IsAbleToHand
()
and
(
c
:
IsType
(
TYPE_SPELL
)
or
c
:
IsType
(
TYPE_TRAP
))
return
c
:
IsSetCard
(
0x
3
fbc
)
and
c
:
IsAbleToHand
()
and
(
c
:
IsType
(
TYPE_SPELL
)
or
c
:
IsType
(
TYPE_TRAP
))
end
end
function
c12010041
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c12010041
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c12010041
.
thfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c12010041
.
thfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
...
...
expansions/script/c12010042.lua
View file @
205bef57
...
@@ -77,7 +77,7 @@ function c12010042.condition2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -77,7 +77,7 @@ function c12010042.condition2(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
GetAttack
()
>=
4000
and
e
:
GetHandler
():
GetBattleTarget
()
return
e
:
GetHandler
():
GetAttack
()
>=
4000
and
e
:
GetHandler
():
GetBattleTarget
()
end
end
function
c12010042
.
thfilter
(
c
)
function
c12010042
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0xfbc
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x
3
fbc
)
and
c
:
IsAbleToHand
()
end
end
function
c12010042
.
target2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c12010042
.
target2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c12010042
.
thfilter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c12010042
.
thfilter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
...
...
expansions/script/c12010046.lua
View file @
205bef57
...
@@ -33,7 +33,7 @@ function c12010046.chcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -33,7 +33,7 @@ function c12010046.chcon(e,tp,eg,ep,ev,re,r,rp)
return
not
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
or
re
:
IsActiveType
(
TYPE_TRAP
+
TYPE_SPELL
)
and
rp
==
1
-
tp
return
not
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
or
re
:
IsActiveType
(
TYPE_TRAP
+
TYPE_SPELL
)
and
rp
==
1
-
tp
end
end
function
c12010046
.
filter
(
c
)
function
c12010046
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xfbc
)
and
c
:
IsDestructable
()
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
3
fbc
)
and
c
:
IsDestructable
()
end
end
function
c12010046
.
chcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c12010046
.
chcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
...
...
expansions/script/c12010048.lua
View file @
205bef57
...
@@ -65,7 +65,7 @@ function c12010048.initial_effect(c)
...
@@ -65,7 +65,7 @@ function c12010048.initial_effect(c)
end
end
c12010048
.
pendulum_level
=
8
c12010048
.
pendulum_level
=
8
function
c12010048
.
filter
(
c
)
function
c12010048
.
filter
(
c
)
return
c
:
IsSetCard
(
0xfbc
)
and
c
:
IsType
(
TYPE_CONTINUOUS
)
return
c
:
IsSetCard
(
0x
3
fbc
)
and
c
:
IsType
(
TYPE_CONTINUOUS
)
end
end
function
c12010048
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c12010048
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c12010048
.
filter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c12010048
.
filter
(
chkc
)
end
...
...
expansions/script/c12010051.lua
View file @
205bef57
...
@@ -54,7 +54,7 @@ function c12010051.pcop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -54,7 +54,7 @@ function c12010051.pcop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c12010051
.
filter2
(
c
)
function
c12010051
.
filter2
(
c
)
return
c
:
IsSetCard
(
0xfbc
)
and
c
:
IsType
(
TYPE_CONTINUOUS
)
return
c
:
IsSetCard
(
0x
3
fbc
)
and
c
:
IsType
(
TYPE_CONTINUOUS
)
end
end
function
c12010051
.
target2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c12010051
.
target2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c12010051
.
filter2
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c12010051
.
filter2
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
@@ -74,7 +74,7 @@ function c12010051.con(e,tp,eg,ep,ev,re,r,rp)
...
@@ -74,7 +74,7 @@ function c12010051.con(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SYNCHRO
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SYNCHRO
end
end
function
c12010051
.
rfilter
(
c
)
function
c12010051
.
rfilter
(
c
)
return
(
c
:
IsSetCard
(
0x
fbc
)
or
c
:
IsSetCard
(
0xfba
)
)
and
c
:
IsAbleToHand
()
return
(
c
:
IsSetCard
(
0x3
fbc
)
or
c
:
IsSetCard
(
0xfba
)
)
and
c
:
IsAbleToHand
()
end
end
function
c12010051
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c12010051
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c12010051
.
rfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsReleasable
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c12010051
.
rfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsReleasable
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
...
...
expansions/script/c12010053.lua
View file @
205bef57
...
@@ -84,7 +84,7 @@ function c12010053.tpop(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -84,7 +84,7 @@ function c12010053.tpop(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
function
c12010053
.
spcfilter
(
c
)
function
c12010053
.
spcfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xfbc
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
3
fbc
)
and
c
:
IsAbleToGraveAsCost
()
end
end
function
c12010053
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c12010053
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c12010053
.
spcfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
e
:
GetHandler
())
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c12010053
.
spcfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
e
:
GetHandler
())
end
...
@@ -105,10 +105,10 @@ function c12010053.spop(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -105,10 +105,10 @@ function c12010053.spop(e,tp,eg,ep,ev,re,r,rp,chk)
if
sg
then
Duel
.
SpecialSummon
(
sg
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
if
sg
then
Duel
.
SpecialSummon
(
sg
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
end
function
c12010053
.
ssfilter
(
c
)
function
c12010053
.
ssfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xfbc
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
3
fbc
)
end
end
function
c12010053
.
sssfilter
(
c
)
function
c12010053
.
sssfilter
(
c
)
return
c
:
IsSetCard
(
0xfbc
)
and
c
:
IsType
(
TYPE_CONTINUOUS
)
and
c
:
IsSSetable
()
return
c
:
IsSetCard
(
0x
3
fbc
)
and
c
:
IsType
(
TYPE_CONTINUOUS
)
and
c
:
IsSSetable
()
end
end
function
c12010053
.
sstg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c12010053
.
sstg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c12010053
.
sssfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c12010053
.
sssfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
end
...
...
expansions/strings.conf
View file @
205bef57
...
@@ -283,7 +283,7 @@
...
@@ -283,7 +283,7 @@
!
setname
0
x3fba
LA
SY
!
setname
0
x3fba
LA
SY
!
setname
0
x4fba
LA
CY
!
setname
0
x4fba
LA
CY
!
setname
0
xfbb
丘依儿
!
setname
0
xfbb
丘依儿
!
setname
0
xfbc
静仪式
!
setname
0
x
3
fbc
静仪式
!
setname
0
x1fbd
拉结尔
!
setname
0
x1fbd
拉结尔
!
setname
0
x2fbd
卡莲
!
setname
0
x2fbd
卡莲
!
setname
0
x4fbd
牙月
!
setname
0
x4fbd
牙月
...
...
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