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
Nguyễn Anh Kiệt
ygopro-222DIY-cards
Commits
aa34c18f
Commit
aa34c18f
authored
Jul 24, 2024
by
Huangnan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
四季映姬字段修复
parent
9bf9579d
Changes
17
Show whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
44 additions
and
44 deletions
+44
-44
expansions/FiNALE.cdb
expansions/FiNALE.cdb
+0
-0
expansions/script/c1000701.lua
expansions/script/c1000701.lua
+3
-3
expansions/script/c1000702.lua
expansions/script/c1000702.lua
+3
-3
expansions/script/c1000703.lua
expansions/script/c1000703.lua
+3
-3
expansions/script/c1000704.lua
expansions/script/c1000704.lua
+3
-3
expansions/script/c1000705.lua
expansions/script/c1000705.lua
+3
-3
expansions/script/c1000706.lua
expansions/script/c1000706.lua
+2
-2
expansions/script/c1000707.lua
expansions/script/c1000707.lua
+3
-3
expansions/script/c1000708.lua
expansions/script/c1000708.lua
+3
-3
expansions/script/c1000709.lua
expansions/script/c1000709.lua
+2
-2
expansions/script/c1000710.lua
expansions/script/c1000710.lua
+2
-2
expansions/script/c1000711.lua
expansions/script/c1000711.lua
+3
-3
expansions/script/c1000712.lua
expansions/script/c1000712.lua
+3
-3
expansions/script/c1000713.lua
expansions/script/c1000713.lua
+4
-4
expansions/script/c1000714.lua
expansions/script/c1000714.lua
+4
-4
expansions/script/c1000715.lua
expansions/script/c1000715.lua
+2
-2
expansions/strings.conf
expansions/strings.conf
+1
-1
No files found.
expansions/FiNALE.cdb
View file @
aa34c18f
No preview for this file type
expansions/script/c1000701.lua
View file @
aa34c18f
...
@@ -49,13 +49,13 @@ function c1000701.sccon(e)
...
@@ -49,13 +49,13 @@ function c1000701.sccon(e)
return
not
Duel
.
IsExistingMatchingCard
(
c1000701
.
cfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
())
return
not
Duel
.
IsExistingMatchingCard
(
c1000701
.
cfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
())
end
end
function
c1000701
.
cfilter
(
c
)
function
c1000701
.
cfilter
(
c
)
return
c
:
IsSetCard
(
0x
5
204
)
return
c
:
IsSetCard
(
0x
9
204
)
end
end
function
c1000701
.
decon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c1000701
.
decon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c1000701
.
cfilter
,
tp
,
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
())
return
Duel
.
IsExistingMatchingCard
(
c1000701
.
cfilter
,
tp
,
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
())
end
end
function
c1000701
.
defilter
(
c
)
function
c1000701
.
defilter
(
c
)
return
c
:
IsSetCard
(
0x
5
204
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x
9
204
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsAbleToHand
()
end
end
function
c1000701
.
detg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c1000701
.
detg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsDestructable
()
if
chk
==
0
then
return
e
:
GetHandler
():
IsDestructable
()
...
@@ -74,7 +74,7 @@ function c1000701.deop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -74,7 +74,7 @@ function c1000701.deop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c1000701
.
thfilter
(
c
)
function
c1000701
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x
5
204
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
and
not
c
:
IsCode
(
1000701
)
return
c
:
IsSetCard
(
0x
9
204
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
and
not
c
:
IsCode
(
1000701
)
end
end
function
c1000701
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c1000701
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
tp
return
Duel
.
GetTurnPlayer
()
==
tp
...
...
expansions/script/c1000702.lua
View file @
aa34c18f
...
@@ -49,13 +49,13 @@ function c1000702.sccon(e)
...
@@ -49,13 +49,13 @@ function c1000702.sccon(e)
return
not
Duel
.
IsExistingMatchingCard
(
c1000702
.
cfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
())
return
not
Duel
.
IsExistingMatchingCard
(
c1000702
.
cfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
())
end
end
function
c1000702
.
cfilter
(
c
)
function
c1000702
.
cfilter
(
c
)
return
c
:
IsSetCard
(
0x
5
204
)
return
c
:
IsSetCard
(
0x
9
204
)
end
end
function
c1000702
.
decon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c1000702
.
decon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c1000702
.
cfilter
,
tp
,
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
())
return
Duel
.
IsExistingMatchingCard
(
c1000702
.
cfilter
,
tp
,
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
())
end
end
function
c1000702
.
defilter
(
c
)
function
c1000702
.
defilter
(
c
)
return
c
:
IsSetCard
(
0x
5
204
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x
9
204
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsAbleToHand
()
end
end
function
c1000702
.
detg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c1000702
.
detg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsDestructable
()
if
chk
==
0
then
return
e
:
GetHandler
():
IsDestructable
()
...
@@ -77,7 +77,7 @@ function c1000702.thcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -77,7 +77,7 @@ function c1000702.thcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetTurnPlayer
()
==
tp
return
Duel
.
GetTurnPlayer
()
==
tp
end
end
function
c1000702
.
thfilter
(
c
)
function
c1000702
.
thfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
5
204
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
9
204
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
end
end
function
c1000702
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c1000702
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c1000702
.
thfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c1000702
.
thfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
...
...
expansions/script/c1000703.lua
View file @
aa34c18f
...
@@ -49,13 +49,13 @@ function c1000703.sccon(e)
...
@@ -49,13 +49,13 @@ function c1000703.sccon(e)
return
not
Duel
.
IsExistingMatchingCard
(
c1000703
.
cfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
())
return
not
Duel
.
IsExistingMatchingCard
(
c1000703
.
cfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
())
end
end
function
c1000703
.
cfilter
(
c
)
function
c1000703
.
cfilter
(
c
)
return
c
:
IsSetCard
(
0x
5
204
)
return
c
:
IsSetCard
(
0x
9
204
)
end
end
function
c1000703
.
decon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c1000703
.
decon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c1000703
.
cfilter
,
tp
,
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
())
return
Duel
.
IsExistingMatchingCard
(
c1000703
.
cfilter
,
tp
,
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
())
end
end
function
c1000703
.
defilter
(
c
)
function
c1000703
.
defilter
(
c
)
return
c
:
IsSetCard
(
0x
5
204
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x
9
204
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsAbleToHand
()
end
end
function
c1000703
.
detg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c1000703
.
detg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsDestructable
()
if
chk
==
0
then
return
e
:
GetHandler
():
IsDestructable
()
...
@@ -77,7 +77,7 @@ function c1000703.thcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -77,7 +77,7 @@ function c1000703.thcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetTurnPlayer
()
==
tp
return
Duel
.
GetTurnPlayer
()
==
tp
end
end
function
c1000703
.
thfilter
(
c
)
function
c1000703
.
thfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
5
204
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
9
204
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
end
end
function
c1000703
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c1000703
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c1000703
.
thfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c1000703
.
thfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
)
end
...
...
expansions/script/c1000704.lua
View file @
aa34c18f
...
@@ -49,13 +49,13 @@ function c1000704.sccon(e)
...
@@ -49,13 +49,13 @@ function c1000704.sccon(e)
return
not
Duel
.
IsExistingMatchingCard
(
c1000704
.
cfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
())
return
not
Duel
.
IsExistingMatchingCard
(
c1000704
.
cfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
())
end
end
function
c1000704
.
cfilter
(
c
)
function
c1000704
.
cfilter
(
c
)
return
c
:
IsSetCard
(
0x
5
204
)
return
c
:
IsSetCard
(
0x
9
204
)
end
end
function
c1000704
.
decon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c1000704
.
decon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c1000704
.
cfilter
,
tp
,
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
())
return
Duel
.
IsExistingMatchingCard
(
c1000704
.
cfilter
,
tp
,
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
())
end
end
function
c1000704
.
defilter
(
c
)
function
c1000704
.
defilter
(
c
)
return
c
:
IsSetCard
(
0x
5
204
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x
9
204
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsAbleToHand
()
end
end
function
c1000704
.
detg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c1000704
.
detg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsDestructable
()
if
chk
==
0
then
return
e
:
GetHandler
():
IsDestructable
()
...
@@ -77,7 +77,7 @@ function c1000704.thcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -77,7 +77,7 @@ function c1000704.thcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetTurnPlayer
()
==
tp
return
Duel
.
GetTurnPlayer
()
==
tp
end
end
function
c1000704
.
thfilter
(
c
)
function
c1000704
.
thfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
5
204
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
9
204
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
end
end
function
c1000704
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c1000704
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c1000704
.
thfilter
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c1000704
.
thfilter
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
nil
)
end
...
...
expansions/script/c1000705.lua
View file @
aa34c18f
...
@@ -43,7 +43,7 @@ function c1000705.initial_effect(c)
...
@@ -43,7 +43,7 @@ function c1000705.initial_effect(c)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
c1000705
.
atkfilter
(
c
)
function
c1000705
.
atkfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
5
204
)
and
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
9
204
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
end
function
c1000705
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c1000705
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c1000705
.
atkfilter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c1000705
.
atkfilter
(
chkc
)
end
...
@@ -68,7 +68,7 @@ function c1000705.atkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -68,7 +68,7 @@ function c1000705.atkop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c1000705
.
cfilter
(
c
,
tp
)
function
c1000705
.
cfilter
(
c
,
tp
)
return
c
:
IsReason
(
REASON_BATTLE
+
REASON_EFFECT
)
and
c
:
IsSetCard
(
0x
5
204
)
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
c
:
GetPreviousControler
()
==
tp
return
c
:
IsReason
(
REASON_BATTLE
+
REASON_EFFECT
)
and
c
:
IsSetCard
(
0x
9
204
)
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
c
:
GetPreviousControler
()
==
tp
end
end
function
c1000705
.
drcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c1000705
.
drcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c1000705
.
cfilter
,
1
,
nil
,
tp
)
return
eg
:
IsExists
(
c1000705
.
cfilter
,
1
,
nil
,
tp
)
...
@@ -88,7 +88,7 @@ function c1000705.spcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -88,7 +88,7 @@ function c1000705.spcon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
e
:
GetHandler
():
IsPreviousPosition
(
POS_FACEUP
)
return
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
e
:
GetHandler
():
IsPreviousPosition
(
POS_FACEUP
)
end
end
function
c1000705
.
spfilter
(
c
,
e
,
tp
)
function
c1000705
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
5
204
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
9
204
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c1000705
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c1000705
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_GRAVE
+
LOCATION_EXTRA
)
and
c1000705
.
spfilter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_GRAVE
+
LOCATION_EXTRA
)
and
c1000705
.
spfilter
(
chkc
,
e
,
tp
)
end
...
...
expansions/script/c1000706.lua
View file @
aa34c18f
...
@@ -34,7 +34,7 @@ function c1000706.initial_effect(c)
...
@@ -34,7 +34,7 @@ function c1000706.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c1000706
.
cfilter
(
c
)
function
c1000706
.
cfilter
(
c
)
return
c
:
IsSetCard
(
0x
5
204
)
and
c
:
IsFaceup
()
return
c
:
IsSetCard
(
0x
9
204
)
and
c
:
IsFaceup
()
end
end
function
c1000706
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c1000706
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c1000706
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
c1000706
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
...
@@ -80,7 +80,7 @@ function c1000706.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -80,7 +80,7 @@ function c1000706.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SpecialSummonComplete
()
Duel
.
SpecialSummonComplete
()
end
end
function
c1000706
.
tgfilter
(
c
,
tp
)
function
c1000706
.
tgfilter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsControler
(
tp
)
and
c
:
IsSetCard
(
0x
5
204
)
return
c
:
IsFaceup
()
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsControler
(
tp
)
and
c
:
IsSetCard
(
0x
9
204
)
end
end
function
c1000706
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c1000706
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
re
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
)
then
return
false
end
if
not
re
:
IsHasProperty
(
EFFECT_FLAG_CARD_TARGET
)
then
return
false
end
...
...
expansions/script/c1000707.lua
View file @
aa34c18f
...
@@ -39,10 +39,10 @@ function c1000707.initial_effect(c)
...
@@ -39,10 +39,10 @@ function c1000707.initial_effect(c)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
c1000707
.
tgtg
(
e
,
c
)
function
c1000707
.
tgtg
(
e
,
c
)
return
c
:
IsSetCard
(
0x
5
204
)
and
(
c
:
GetSequence
()
==
6
or
c
:
GetSequence
()
==
7
)
return
c
:
IsSetCard
(
0x
9
204
)
and
(
c
:
GetSequence
()
==
6
or
c
:
GetSequence
()
==
7
)
end
end
function
c1000707
.
desfilter
(
c
)
function
c1000707
.
desfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
5
204
)
and
c
:
IsDestructable
()
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
9
204
)
and
c
:
IsDestructable
()
end
end
function
c1000707
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c1000707
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsControler
(
tp
)
and
c1000707
.
desfilter
(
chkc
)
and
chkc
~=
e
:
GetHandler
()
end
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsControler
(
tp
)
and
c1000707
.
desfilter
(
chkc
)
and
chkc
~=
e
:
GetHandler
()
end
...
@@ -70,7 +70,7 @@ function c1000707.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -70,7 +70,7 @@ function c1000707.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEUP
,
REASON_COST
)
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEUP
,
REASON_COST
)
end
end
function
c1000707
.
thfilter
(
c
)
function
c1000707
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x
5
204
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x
9
204
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
end
end
function
c1000707
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c1000707
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c1000707
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c1000707
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
expansions/script/c1000708.lua
View file @
aa34c18f
...
@@ -40,8 +40,8 @@ function c1000708.condition(e,tp,eg,ep,ev,re,r,rp)
...
@@ -40,8 +40,8 @@ function c1000708.condition(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetCurrentChain
()
==
0
return
Duel
.
GetCurrentChain
()
==
0
end
end
function
c1000708
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c1000708
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
Card
.
IsSetCard
,
1
,
nil
,
0x
5
204
)
end
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
Card
.
IsSetCard
,
1
,
nil
,
0x
9
204
)
end
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
Card
.
IsSetCard
,
1
,
1
,
nil
,
0x
5
204
)
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
Card
.
IsSetCard
,
1
,
1
,
nil
,
0x
9
204
)
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
Release
(
g
,
REASON_COST
)
end
end
function
c1000708
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c1000708
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
@@ -81,7 +81,7 @@ function c1000708.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -81,7 +81,7 @@ function c1000708.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SpecialSummonComplete
()
Duel
.
SpecialSummonComplete
()
end
end
function
c1000708
.
repfilter
(
c
,
tp
)
function
c1000708
.
repfilter
(
c
,
tp
)
return
c
:
IsSetCard
(
0x
5
204
)
and
c
:
IsLocation
(
LOCATION_ONFIELD
)
return
c
:
IsSetCard
(
0x
9
204
)
and
c
:
IsLocation
(
LOCATION_ONFIELD
)
and
c
:
IsControler
(
tp
)
and
c
:
IsReason
(
REASON_EFFECT
+
REASON_BATTLE
)
and
c
:
IsControler
(
tp
)
and
c
:
IsReason
(
REASON_EFFECT
+
REASON_BATTLE
)
end
end
function
c1000708
.
reptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c1000708
.
reptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
expansions/script/c1000709.lua
View file @
aa34c18f
...
@@ -52,7 +52,7 @@ function c1000709.condition(e,tp,eg,ep,ev,re,r,rp)
...
@@ -52,7 +52,7 @@ function c1000709.condition(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c1000709
.
filter
(
c
,
e
,
tp
)
function
c1000709
.
filter
(
c
,
e
,
tp
)
return
((
c
:
IsLocation
(
LOCATION_GRAVE
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
)
or
return
((
c
:
IsLocation
(
LOCATION_GRAVE
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
)
or
(
c
:
IsLocation
(
LOCATION_EXTRA
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
))
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsSetCard
(
0x
5
204
)
and
c
:
IsFaceup
()
(
c
:
IsLocation
(
LOCATION_EXTRA
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
))
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsSetCard
(
0x
9
204
)
and
c
:
IsFaceup
()
end
end
function
c1000709
.
target2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c1000709
.
target2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c1000709
.
filter
,
tp
,
LOCATION_GRAVE
+
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c1000709
.
filter
,
tp
,
LOCATION_GRAVE
+
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
)
end
...
@@ -98,7 +98,7 @@ function c1000709.tdcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -98,7 +98,7 @@ function c1000709.tdcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEUP
,
REASON_COST
)
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEUP
,
REASON_COST
)
end
end
function
c1000709
.
tdfilter
(
c
)
function
c1000709
.
tdfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
5
204
)
and
c
:
IsAbleToDeck
()
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
9
204
)
and
c
:
IsAbleToDeck
()
end
end
function
c1000709
.
tdtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c1000709
.
tdtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_REMOVED
)
and
chkc
:
IsControler
(
tp
)
and
c1000709
.
tdfilter
(
chkc
)
and
chkc
~=
e
:
GetHandler
()
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_REMOVED
)
and
chkc
:
IsControler
(
tp
)
and
c1000709
.
tdfilter
(
chkc
)
and
chkc
~=
e
:
GetHandler
()
end
...
...
expansions/script/c1000710.lua
View file @
aa34c18f
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
function
c1000710
.
initial_effect
(
c
)
function
c1000710
.
initial_effect
(
c
)
c
:
SetUniqueOnField
(
1
,
1
,
1000710
)
c
:
SetUniqueOnField
(
1
,
1
,
1000710
)
--synchro summon
--synchro summon
aux
.
AddSynchroProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsSetCard
,
0x
5204
),
aux
.
NonTuner
(
Card
.
IsSetCard
,
0x5
204
),
1
)
aux
.
AddSynchroProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsSetCard
,
0x
9204
),
aux
.
NonTuner
(
Card
.
IsSetCard
,
0x9
204
),
1
)
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
--pierce
--pierce
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
@@ -10,7 +10,7 @@ function c1000710.initial_effect(c)
...
@@ -10,7 +10,7 @@ function c1000710.initial_effect(c)
e1
:
SetCode
(
EFFECT_PIERCE
)
e1
:
SetCode
(
EFFECT_PIERCE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e1
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x
5
204
))
e1
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x
9
204
))
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--actlimit
--actlimit
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
expansions/script/c1000711.lua
View file @
aa34c18f
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
function
c1000711
.
initial_effect
(
c
)
function
c1000711
.
initial_effect
(
c
)
c
:
SetUniqueOnField
(
1
,
1
,
1000711
)
c
:
SetUniqueOnField
(
1
,
1
,
1000711
)
--synchro summon
--synchro summon
aux
.
AddSynchroProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsSetCard
,
0x
5204
),
aux
.
NonTuner
(
Card
.
IsSetCard
,
0x5
204
),
1
)
aux
.
AddSynchroProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsSetCard
,
0x
9204
),
aux
.
NonTuner
(
Card
.
IsSetCard
,
0x9
204
),
1
)
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
--atkup
--atkup
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
@@ -10,7 +10,7 @@ function c1000711.initial_effect(c)
...
@@ -10,7 +10,7 @@ function c1000711.initial_effect(c)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e1
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x
5
204
))
e1
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x
9
204
))
e1
:
SetValue
(
c1000711
.
value
)
e1
:
SetValue
(
c1000711
.
value
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--position change
--position change
...
@@ -35,7 +35,7 @@ function c1000711.initial_effect(c)
...
@@ -35,7 +35,7 @@ function c1000711.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c1000711
.
atkfilter
(
c
)
function
c1000711
.
atkfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x
5
204
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x
9
204
)
end
end
function
c1000711
.
value
(
e
,
c
)
function
c1000711
.
value
(
e
,
c
)
return
Duel
.
GetMatchingGroupCount
(
c1000711
.
atkfilter
,
c
:
GetControler
(),
LOCATION_GRAVE
+
LOCATION_EXTRA
,
0
,
nil
)
*
150
return
Duel
.
GetMatchingGroupCount
(
c1000711
.
atkfilter
,
c
:
GetControler
(),
LOCATION_GRAVE
+
LOCATION_EXTRA
,
0
,
nil
)
*
150
...
...
expansions/script/c1000712.lua
View file @
aa34c18f
...
@@ -36,13 +36,13 @@ function c1000712.initial_effect(c)
...
@@ -36,13 +36,13 @@ function c1000712.initial_effect(c)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
c1000712
.
sprfilter1
(
c
,
tp
)
function
c1000712
.
sprfilter1
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
5
204
)
and
c
:
IsType
(
TYPE_TUNER
)
and
c
:
IsAbleToRemoveAsCost
()
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
9
204
)
and
c
:
IsType
(
TYPE_TUNER
)
and
c
:
IsAbleToRemoveAsCost
()
end
end
function
c1000712
.
sprfilter2
(
c
)
function
c1000712
.
sprfilter2
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
5
204
)
and
c
:
IsType
(
TYPE_XYZ
)
and
c
:
IsAbleToRemoveAsCost
()
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
9
204
)
and
c
:
IsType
(
TYPE_XYZ
)
and
c
:
IsAbleToRemoveAsCost
()
end
end
function
c1000712
.
sprfilter3
(
c
)
function
c1000712
.
sprfilter3
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
5
204
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsAbleToRemoveAsCost
()
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
9
204
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsAbleToRemoveAsCost
()
end
end
function
c1000712
.
sprcon
(
e
,
c
)
function
c1000712
.
sprcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
...
...
expansions/script/c1000713.lua
View file @
aa34c18f
...
@@ -65,7 +65,7 @@ function c1000713.initial_effect(c)
...
@@ -65,7 +65,7 @@ function c1000713.initial_effect(c)
end
end
c1000713
.
pendulum_level
=
4
c1000713
.
pendulum_level
=
4
function
c1000713
.
pcfilter
(
c
)
function
c1000713
.
pcfilter
(
c
)
return
c
:
IsSetCard
(
0x
5
204
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
not
c
:
IsForbidden
()
return
c
:
IsSetCard
(
0x
9
204
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
not
c
:
IsForbidden
()
end
end
function
c1000713
.
pctg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c1000713
.
pctg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
seq
=
e
:
GetHandler
():
GetSequence
()
local
seq
=
e
:
GetHandler
():
GetSequence
()
...
@@ -83,7 +83,7 @@ function c1000713.pcop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -83,7 +83,7 @@ function c1000713.pcop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c1000713
.
cfilter
(
c
)
function
c1000713
.
cfilter
(
c
)
return
c
:
IsSetCard
(
0x
5
204
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToRemoveAsCost
()
return
c
:
IsSetCard
(
0x
9
204
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToRemoveAsCost
()
end
end
function
c1000713
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c1000713
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c1000713
.
cfilter
,
tp
,
LOCATION_GRAVE
,
0
,
2
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c1000713
.
cfilter
,
tp
,
LOCATION_GRAVE
,
0
,
2
,
nil
)
end
...
@@ -103,7 +103,7 @@ function c1000713.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -103,7 +103,7 @@ function c1000713.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c1000713
.
mfilter
(
c
)
function
c1000713
.
mfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsLevelBelow
(
4
)
and
c
:
IsSetCard
(
0x
5
204
)
and
not
c
:
IsType
(
TYPE_XYZ
)
and
not
c
:
IsType
(
TYPE_TOKEN
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsLevelBelow
(
4
)
and
c
:
IsSetCard
(
0x
9
204
)
and
not
c
:
IsType
(
TYPE_XYZ
)
and
not
c
:
IsType
(
TYPE_TOKEN
)
end
end
function
c1000713
.
xyzfilter1
(
c
,
g
)
function
c1000713
.
xyzfilter1
(
c
,
g
)
return
g
:
IsExists
(
c1000713
.
xyzfilter2
,
1
,
c
,
c
:
GetLevel
())
return
g
:
IsExists
(
c1000713
.
xyzfilter2
,
1
,
c
,
c
:
GetLevel
())
...
@@ -139,7 +139,7 @@ function c1000713.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -139,7 +139,7 @@ function c1000713.cost(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
end
end
function
c1000713
.
filter
(
c
)
function
c1000713
.
filter
(
c
)
return
c
:
IsSetCard
(
0x
5
204
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x
9
204
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsAbleToHand
()
end
end
function
c1000713
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c1000713
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c1000713
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c1000713
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
expansions/script/c1000714.lua
View file @
aa34c18f
...
@@ -77,13 +77,13 @@ function c1000714.sccon(e)
...
@@ -77,13 +77,13 @@ function c1000714.sccon(e)
return
not
Duel
.
IsExistingMatchingCard
(
c1000714
.
cfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
())
return
not
Duel
.
IsExistingMatchingCard
(
c1000714
.
cfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
())
end
end
function
c1000714
.
cfilter
(
c
)
function
c1000714
.
cfilter
(
c
)
return
c
:
IsSetCard
(
0x
5
204
)
return
c
:
IsSetCard
(
0x
9
204
)
end
end
function
c1000714
.
decon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c1000714
.
decon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c1000714
.
cfilter
,
tp
,
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
())
return
Duel
.
IsExistingMatchingCard
(
c1000714
.
cfilter
,
tp
,
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
())
end
end
function
c1000714
.
defilter
(
c
)
function
c1000714
.
defilter
(
c
)
return
c
:
IsSetCard
(
0x
5
204
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x
9
204
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsAbleToHand
()
end
end
function
c1000714
.
detg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c1000714
.
detg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsDestructable
()
if
chk
==
0
then
return
e
:
GetHandler
():
IsDestructable
()
...
@@ -105,7 +105,7 @@ function c1000714.thcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -105,7 +105,7 @@ function c1000714.thcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetTurnPlayer
()
==
tp
return
Duel
.
GetTurnPlayer
()
==
tp
end
end
function
c1000714
.
thfilter
(
c
)
function
c1000714
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x
5
204
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
and
not
c
:
IsCode
(
1000714
)
return
c
:
IsSetCard
(
0x
9
204
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
and
not
c
:
IsCode
(
1000714
)
end
end
function
c1000714
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c1000714
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c1000714
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c1000714
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
@@ -134,7 +134,7 @@ function c1000714.cost(e,tp,eg,ep,ev,re,r,rp)
...
@@ -134,7 +134,7 @@ function c1000714.cost(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
end
end
function
c1000714
.
thfilter1
(
c
)
function
c1000714
.
thfilter1
(
c
)
return
c
:
IsSetCard
(
0x
5
204
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x
9
204
)
and
c
:
IsAbleToHand
()
end
end
function
c1000714
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c1000714
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c1000714
.
thfilter1
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c1000714
.
thfilter1
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
nil
)
end
...
...
expansions/script/c1000715.lua
View file @
aa34c18f
...
@@ -57,7 +57,7 @@ function c1000715.initial_effect(c)
...
@@ -57,7 +57,7 @@ function c1000715.initial_effect(c)
end
end
c1000715
.
pendulum_level
=
6
c1000715
.
pendulum_level
=
6
function
c1000715
.
mfilter
(
c
)
function
c1000715
.
mfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsLevelAbove
(
5
)
and
c
:
IsSetCard
(
0x
5
204
)
and
not
c
:
IsType
(
TYPE_XYZ
)
and
not
c
:
IsType
(
TYPE_TOKEN
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsLevelAbove
(
5
)
and
c
:
IsSetCard
(
0x
9
204
)
and
not
c
:
IsType
(
TYPE_XYZ
)
and
not
c
:
IsType
(
TYPE_TOKEN
)
end
end
function
c1000715
.
xyzfilter1
(
c
,
g
)
function
c1000715
.
xyzfilter1
(
c
,
g
)
return
g
:
IsExists
(
c1000715
.
xyzfilter2
,
1
,
c
,
c
:
GetLevel
())
return
g
:
IsExists
(
c1000715
.
xyzfilter2
,
1
,
c
,
c
:
GetLevel
())
...
@@ -125,7 +125,7 @@ function c1000715.operation(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -125,7 +125,7 @@ function c1000715.operation(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
end
end
function
c1000715
.
thfilter
(
c
)
function
c1000715
.
thfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
5
204
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsAbleToHand
()
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
9
204
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsAbleToHand
()
end
end
function
c1000715
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c1000715
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c1000715
.
thfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c1000715
.
thfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
)
end
...
...
expansions/strings.conf
View file @
aa34c18f
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
#setname 0xc203
#setname 0xc203
!
setname
0
xc204
Madoka
!
setname
0
xc204
Madoka
!
setname
0
x3204
Sayaka
Miki
!
setname
0
x3204
Sayaka
Miki
!
setname
0
x
5
204
四季映姫
!
setname
0
x
9
204
四季映姫
#setname 0x6204
#setname 0x6204
!
setname
0
x20c
纪录
!
setname
0
x20c
纪录
!
setname
0
x520c
物语纪录
!
setname
0
x520c
物语纪录
...
...
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