Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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
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
MyCard
ygopro-scripts
Commits
9ddefd57
Commit
9ddefd57
authored
Apr 08, 2017
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
7e979fc8
Changes
29
Hide whitespace changes
Inline
Side-by-side
Showing
29 changed files
with
51 additions
and
62 deletions
+51
-62
c14920218.lua
c14920218.lua
+1
-2
c15146890.lua
c15146890.lua
+1
-2
c17330916.lua
c17330916.lua
+1
-2
c17979378.lua
c17979378.lua
+1
-2
c20281581.lua
c20281581.lua
+1
-2
c20409757.lua
c20409757.lua
+4
-2
c24019092.lua
c24019092.lua
+1
-2
c24131534.lua
c24131534.lua
+1
-2
c50407691.lua
c50407691.lua
+1
-2
c51391183.lua
c51391183.lua
+2
-2
c51531505.lua
c51531505.lua
+1
-2
c5399521.lua
c5399521.lua
+1
-2
c56675280.lua
c56675280.lua
+4
-2
c59762399.lua
c59762399.lua
+4
-4
c61639289.lua
c61639289.lua
+1
-2
c67273917.lua
c67273917.lua
+1
-2
c69610326.lua
c69610326.lua
+2
-4
c72714461.lua
c72714461.lua
+4
-2
c73130445.lua
c73130445.lua
+5
-2
c81571633.lua
c81571633.lua
+1
-2
c88935103.lua
c88935103.lua
+1
-2
c91420254.lua
c91420254.lua
+1
-2
c92746535.lua
c92746535.lua
+2
-2
c93149655.lua
c93149655.lua
+1
-2
c93662626.lua
c93662626.lua
+1
-2
c94415058.lua
c94415058.lua
+4
-2
c96227613.lua
c96227613.lua
+1
-2
c96802306.lua
c96802306.lua
+1
-2
c97024987.lua
c97024987.lua
+1
-2
No files found.
c14920218.lua
View file @
9ddefd57
...
@@ -29,8 +29,7 @@ function c14920218.initial_effect(c)
...
@@ -29,8 +29,7 @@ function c14920218.initial_effect(c)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
c14920218
.
pcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c14920218
.
pcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_PZONE
,
0
,
e
:
GetHandler
()):
GetFirst
()
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsSetCard
,
tp
,
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
(),
0x98
)
return
tc
and
tc
:
IsSetCard
(
0x98
)
end
end
function
c14920218
.
pfilter
(
c
)
function
c14920218
.
pfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_PENDULUM
)
and
(
c
:
IsSetCard
(
0x98
)
or
c
:
IsSetCard
(
0x99
))
and
not
c
:
IsCode
(
14920218
)
and
c
:
IsAbleToHand
()
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_PENDULUM
)
and
(
c
:
IsSetCard
(
0x98
)
or
c
:
IsSetCard
(
0x99
))
and
not
c
:
IsCode
(
14920218
)
and
c
:
IsAbleToHand
()
...
...
c15146890.lua
View file @
9ddefd57
...
@@ -17,8 +17,7 @@ function c15146890.initial_effect(c)
...
@@ -17,8 +17,7 @@ function c15146890.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c15146890
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c15146890
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_PZONE
,
0
,
e
:
GetHandler
()):
GetFirst
()
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsSetCard
,
tp
,
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
(),
0x98
)
return
tc
and
tc
:
IsSetCard
(
0x98
)
end
end
function
c15146890
.
cfilter
(
c
)
function
c15146890
.
cfilter
(
c
)
return
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsDiscardable
()
return
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsDiscardable
()
...
...
c17330916.lua
View file @
9ddefd57
...
@@ -44,8 +44,7 @@ function c17330916.initial_effect(c)
...
@@ -44,8 +44,7 @@ function c17330916.initial_effect(c)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
end
end
function
c17330916
.
sccon
(
e
)
function
c17330916
.
sccon
(
e
)
local
tc
=
Duel
.
GetMatchingGroup
(
nil
,
e
:
GetHandlerPlayer
(),
LOCATION_PZONE
,
0
,
e
:
GetHandler
()):
GetFirst
()
return
not
Duel
.
IsExistingMatchingCard
(
Card
.
IsSetCard
,
e
:
GetHandlerPlayer
(),
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
(),
0x9f
)
return
not
tc
or
not
tc
:
IsSetCard
(
0x9f
)
end
end
function
c17330916
.
reg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c17330916
.
reg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
...
...
c17979378.lua
View file @
9ddefd57
...
@@ -57,8 +57,7 @@ function c17979378.atkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -57,8 +57,7 @@ function c17979378.atkop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c17979378
.
sccon
(
e
)
function
c17979378
.
sccon
(
e
)
local
tc
=
Duel
.
GetMatchingGroup
(
nil
,
e
:
GetHandlerPlayer
(),
LOCATION_PZONE
,
0
,
e
:
GetHandler
()):
GetFirst
()
return
not
Duel
.
IsExistingMatchingCard
(
Card
.
IsSetCard
,
e
:
GetHandlerPlayer
(),
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
(),
0xaf
)
return
not
tc
or
not
tc
:
IsSetCard
(
0xaf
)
end
end
function
c17979378
.
filter
(
c
)
function
c17979378
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
and
c
:
IsAbleToHand
()
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
and
c
:
IsAbleToHand
()
...
...
c20281581.lua
View file @
9ddefd57
...
@@ -40,8 +40,7 @@ function c20281581.initial_effect(c)
...
@@ -40,8 +40,7 @@ function c20281581.initial_effect(c)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
c20281581
.
descon
(
e
)
function
c20281581
.
descon
(
e
)
local
tc
=
Duel
.
GetMatchingGroup
(
nil
,
e
:
GetHandlerPlayer
(),
LOCATION_PZONE
,
0
,
e
:
GetHandler
()):
GetFirst
()
return
not
Duel
.
IsExistingMatchingCard
(
nil
,
e
:
GetHandlerPlayer
(),
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
())
return
not
tc
end
end
function
c20281581
.
rdcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c20281581
.
rdcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
ep
==
tp
return
ep
==
tp
...
...
c20409757.lua
View file @
9ddefd57
...
@@ -64,9 +64,11 @@ end
...
@@ -64,9 +64,11 @@ end
function
c20409757
.
aclimit
(
e
,
re
,
tp
)
function
c20409757
.
aclimit
(
e
,
re
,
tp
)
return
re
:
IsActiveType
(
TYPE_TRAP
)
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
return
re
:
IsActiveType
(
TYPE_TRAP
)
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
end
end
function
c20409757
.
slfilter
(
c
)
return
c
:
IsSetCard
(
0x98
)
or
c
:
IsSetCard
(
0x99
)
end
function
c20409757
.
slcon
(
e
)
function
c20409757
.
slcon
(
e
)
local
tc
=
Duel
.
GetMatchingGroup
(
nil
,
e
:
GetHandlerPlayer
(),
LOCATION_PZONE
,
0
,
e
:
GetHandler
()):
GetFirst
()
return
not
Duel
.
IsExistingMatchingCard
(
c20409757
.
slfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
())
return
not
tc
or
(
not
tc
:
IsSetCard
(
0x98
)
and
not
tc
:
IsSetCard
(
0x99
))
end
end
function
c20409757
.
filter
(
c
,
tp
)
function
c20409757
.
filter
(
c
,
tp
)
return
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_PZONE
)
return
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_PZONE
)
...
...
c24019092.lua
View file @
9ddefd57
...
@@ -13,8 +13,7 @@ function c24019092.initial_effect(c)
...
@@ -13,8 +13,7 @@ function c24019092.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c24019092
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c24019092
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
pc
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_PZONE
,
0
,
e
:
GetHandler
()):
GetFirst
()
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsSetCard
,
tp
,
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
(),
0xc8
)
return
pc
and
pc
:
IsSetCard
(
0xc8
)
end
end
function
c24019092
.
filter
(
c
)
function
c24019092
.
filter
(
c
)
return
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
c
:
IsAbleToHand
()
return
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
c
:
IsAbleToHand
()
...
...
c24131534.lua
View file @
9ddefd57
...
@@ -13,8 +13,7 @@ function c24131534.initial_effect(c)
...
@@ -13,8 +13,7 @@ function c24131534.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c24131534
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c24131534
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
pc
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_PZONE
,
0
,
e
:
GetHandler
()):
GetFirst
()
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsSetCard
,
tp
,
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
(),
0xc8
)
return
pc
and
pc
:
IsSetCard
(
0xc8
)
end
end
function
c24131534
.
filter
(
c
)
function
c24131534
.
filter
(
c
)
return
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
c
:
IsAbleToHand
()
return
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
c
:
IsAbleToHand
()
...
...
c50407691.lua
View file @
9ddefd57
...
@@ -13,8 +13,7 @@ function c50407691.initial_effect(c)
...
@@ -13,8 +13,7 @@ function c50407691.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c50407691
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c50407691
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
pc
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_PZONE
,
0
,
e
:
GetHandler
()):
GetFirst
()
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsSetCard
,
tp
,
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
(),
0xc8
)
return
pc
and
pc
:
IsSetCard
(
0xc8
)
end
end
function
c50407691
.
filter
(
c
)
function
c50407691
.
filter
(
c
)
return
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
c
:
IsAbleToHand
()
return
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
c
:
IsAbleToHand
()
...
...
c51391183.lua
View file @
9ddefd57
...
@@ -35,8 +35,8 @@ function c51391183.initial_effect(c)
...
@@ -35,8 +35,8 @@ function c51391183.initial_effect(c)
end
end
function
c51391183
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c51391183
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
false
end
if
chkc
then
return
false
end
local
tc
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_PZONE
,
0
,
e
:
GetHandler
()):
GetFirst
()
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsSetCard
,
tp
,
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
(),
0x10ec
)
end
if
chk
==
0
then
return
tc
and
tc
:
IsSetCard
(
0x10ec
)
and
tc
:
IsCanBeEffectTarget
(
e
)
end
local
tc
=
Duel
.
GetFirstMatchingCard
(
Card
.
IsSetCard
,
tp
,
LOCATION_PZONE
,
0
,
e
:
GetHandler
(),
0x10ec
)
Duel
.
SetTargetCard
(
tc
)
Duel
.
SetTargetCard
(
tc
)
end
end
function
c51391183
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c51391183
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c51531505.lua
View file @
9ddefd57
...
@@ -17,8 +17,7 @@ function c51531505.initial_effect(c)
...
@@ -17,8 +17,7 @@ function c51531505.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c51531505
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c51531505
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_PZONE
,
0
,
e
:
GetHandler
()):
GetFirst
()
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsSetCard
,
tp
,
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
(),
0x98
)
return
tc
and
tc
:
IsSetCard
(
0x98
)
end
end
function
c51531505
.
cfilter
(
c
)
function
c51531505
.
cfilter
(
c
)
return
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsDiscardable
()
return
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsDiscardable
()
...
...
c5399521.lua
View file @
9ddefd57
...
@@ -67,8 +67,7 @@ function c5399521.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -67,8 +67,7 @@ function c5399521.thop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c5399521
.
slcon
(
e
)
function
c5399521
.
slcon
(
e
)
local
tc
=
Duel
.
GetMatchingGroup
(
nil
,
e
:
GetHandlerPlayer
(),
LOCATION_PZONE
,
0
,
e
:
GetHandler
()):
GetFirst
()
return
not
Duel
.
IsExistingMatchingCard
(
Card
.
IsSetCard
,
e
:
GetHandlerPlayer
(),
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
(),
0x1066
)
return
not
tc
or
not
tc
:
IsSetCard
(
0x1066
)
end
end
function
c5399521
.
spcon
(
e
,
c
)
function
c5399521
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
...
...
c56675280.lua
View file @
9ddefd57
...
@@ -21,9 +21,11 @@ function c56675280.initial_effect(c)
...
@@ -21,9 +21,11 @@ function c56675280.initial_effect(c)
e2
:
SetOperation
(
c56675280
.
spop
)
e2
:
SetOperation
(
c56675280
.
spop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c56675280
.
scfilter
(
c
)
return
(
c
:
IsSetCard
(
0x98
)
or
c
:
IsSetCard
(
0x99
)
or
c
:
IsSetCard
(
0x9f
))
and
not
c
:
IsCode
(
56675280
)
end
function
c56675280
.
sccon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c56675280
.
sccon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_PZONE
,
0
,
e
:
GetHandler
()):
GetFirst
()
return
Duel
.
IsExistingMatchingCard
(
c56675280
.
scfilter
,
tp
,
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
())
return
tc
and
(
tc
:
IsSetCard
(
0x98
)
or
tc
:
IsSetCard
(
0x99
)
or
tc
:
IsSetCard
(
0x9f
))
and
not
tc
:
IsCode
(
56675280
)
end
end
function
c56675280
.
sctg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c56675280
.
sctg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
GetLeftScale
()
~=
7
end
if
chk
==
0
then
return
e
:
GetHandler
():
GetLeftScale
()
~=
7
end
...
...
c59762399.lua
View file @
9ddefd57
...
@@ -30,12 +30,12 @@ function c59762399.initial_effect(c)
...
@@ -30,12 +30,12 @@ function c59762399.initial_effect(c)
end
end
function
c59762399
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c59762399
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
at
=
Duel
.
GetAttacker
()
local
at
=
Duel
.
GetAttacker
()
local
tc
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_PZONE
,
0
,
e
:
GetHandler
()):
GetFirst
()
return
at
:
GetControler
()
~=
tp
and
Duel
.
GetAttackTarget
()
==
nil
return
at
:
GetControler
()
~=
tp
and
Duel
.
GetAttackTarget
()
==
nil
and
tc
and
Duel
.
IsExistingMatchingCard
(
nil
,
tp
,
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
())
end
end
function
c59762399
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c59762399
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
Get
MatchingGroup
(
nil
,
tp
,
LOCATION_PZONE
,
0
,
c
):
GetFirst
(
)
local
tc
=
Duel
.
Get
FirstMatchingCard
(
nil
,
tp
,
LOCATION_PZONE
,
0
,
c
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
tc
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
tc
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
c
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
c
,
1
,
0
,
0
)
...
@@ -43,7 +43,7 @@ end
...
@@ -43,7 +43,7 @@ end
function
c59762399
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c59762399
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
local
tc
=
Duel
.
Get
MatchingGroup
(
nil
,
tp
,
LOCATION_PZONE
,
0
,
c
):
GetFirst
(
)
local
tc
=
Duel
.
Get
FirstMatchingCard
(
nil
,
tp
,
LOCATION_PZONE
,
0
,
c
)
if
tc
and
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
~=
0
then
if
tc
and
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
~=
0
then
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
...
...
c61639289.lua
View file @
9ddefd57
...
@@ -13,8 +13,7 @@ function c61639289.initial_effect(c)
...
@@ -13,8 +13,7 @@ function c61639289.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c61639289
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c61639289
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
pc
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_PZONE
,
0
,
e
:
GetHandler
()):
GetFirst
()
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsSetCard
,
tp
,
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
(),
0xc8
)
return
pc
and
pc
:
IsSetCard
(
0xc8
)
end
end
function
c61639289
.
filter
(
c
)
function
c61639289
.
filter
(
c
)
return
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
c
:
IsAbleToHand
()
return
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
c
:
IsAbleToHand
()
...
...
c67273917.lua
View file @
9ddefd57
...
@@ -13,8 +13,7 @@ function c67273917.initial_effect(c)
...
@@ -13,8 +13,7 @@ function c67273917.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c67273917
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c67273917
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
pc
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_PZONE
,
0
,
e
:
GetHandler
()):
GetFirst
()
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsSetCard
,
tp
,
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
(),
0xc8
)
return
pc
and
pc
:
IsSetCard
(
0xc8
)
end
end
function
c67273917
.
filter
(
c
)
function
c67273917
.
filter
(
c
)
return
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
c
:
IsAbleToHand
()
return
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
c
:
IsAbleToHand
()
...
...
c69610326.lua
View file @
9ddefd57
...
@@ -44,8 +44,7 @@ function c69610326.pcfilter(c)
...
@@ -44,8 +44,7 @@ function c69610326.pcfilter(c)
return
c
:
IsSetCard
(
0x10f8
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
not
c
:
IsForbidden
()
return
c
:
IsSetCard
(
0x10f8
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
not
c
:
IsForbidden
()
end
end
function
c69610326
.
pctg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c69610326
.
pctg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
seq
=
e
:
GetHandler
():
GetSequence
()
if
chk
==
0
then
return
(
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
0
)
or
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
1
))
if
chk
==
0
then
return
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,({
1
,
0
,
0
,
0
,
0
,
0
,
1
,
0
})[
seq
+
1
])
and
Duel
.
IsExistingMatchingCard
(
c69610326
.
pcfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
and
Duel
.
IsExistingMatchingCard
(
c69610326
.
pcfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
end
end
function
c69610326
.
pcop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c69610326
.
pcop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
@@ -59,8 +58,7 @@ function c69610326.pcop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -59,8 +58,7 @@ function c69610326.pcop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetTarget
(
c69610326
.
splimit
)
e1
:
SetTarget
(
c69610326
.
splimit
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
local
seq
=
c
:
GetSequence
()
if
not
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
0
)
and
not
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
1
)
then
return
end
if
not
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,({
1
,
0
,
0
,
0
,
0
,
0
,
1
,
0
})[
seq
+
1
])
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOFIELD
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOFIELD
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c69610326
.
pcfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c69610326
.
pcfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
...
...
c72714461.lua
View file @
9ddefd57
...
@@ -22,9 +22,11 @@ function c72714461.initial_effect(c)
...
@@ -22,9 +22,11 @@ function c72714461.initial_effect(c)
e3
:
SetOperation
(
c72714461
.
scop
)
e3
:
SetOperation
(
c72714461
.
scop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c72714461
.
cfilter
(
c
)
return
c
:
IsSetCard
(
0x98
)
or
c
:
IsSetCard
(
0x9f
)
end
function
c72714461
.
pencon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c72714461
.
pencon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
sc
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_PZONE
,
0
,
e
:
GetHandler
()):
GetFirst
()
return
Duel
.
IsExistingMatchingCard
(
c72714461
.
cfilter
,
tp
,
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
())
return
sc
and
(
sc
:
IsSetCard
(
0x98
)
or
sc
:
IsSetCard
(
0x9f
))
end
end
function
c72714461
.
penfilter
(
c
)
function
c72714461
.
penfilter
(
c
)
return
c
:
IsSetCard
(
0x98
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
not
c
:
IsCode
(
72714461
)
and
not
c
:
IsForbidden
()
return
c
:
IsSetCard
(
0x98
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
not
c
:
IsCode
(
72714461
)
and
not
c
:
IsForbidden
()
...
...
c73130445.lua
View file @
9ddefd57
...
@@ -24,10 +24,13 @@ function c73130445.initial_effect(c)
...
@@ -24,10 +24,13 @@ function c73130445.initial_effect(c)
e3
:
SetOperation
(
c73130445
.
drop
)
e3
:
SetOperation
(
c73130445
.
drop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c73130445
.
desfilter
(
c
)
return
c
:
IsSetCard
(
0x9f
)
and
not
c
:
IsCode
(
73130445
)
end
function
c73130445
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c73130445
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
tc
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_PZONE
,
0
,
e
:
GetHandler
()):
GetFirst
()
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
and
tc
and
tc
:
IsSetCard
(
0x9f
)
and
not
tc
:
IsCode
(
73130445
)
and
e
:
GetHandler
():
IsDestructable
()
end
and
Duel
.
IsExistingMatchingCard
(
c73130445
.
desfilter
,
tp
,
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
())
and
e
:
GetHandler
():
IsDestructable
()
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
end
function
c73130445
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c73130445
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c81571633.lua
View file @
9ddefd57
...
@@ -61,8 +61,7 @@ function c81571633.atkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -61,8 +61,7 @@ function c81571633.atkop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c81571633
.
sccon
(
e
)
function
c81571633
.
sccon
(
e
)
local
tc
=
Duel
.
GetMatchingGroup
(
nil
,
e
:
GetHandlerPlayer
(),
LOCATION_PZONE
,
0
,
e
:
GetHandler
()):
GetFirst
()
return
not
Duel
.
IsExistingMatchingCard
(
Card
.
IsSetCard
,
e
:
GetHandlerPlayer
(),
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
(),
0xaf
)
return
not
tc
or
not
tc
:
IsSetCard
(
0xaf
)
end
end
function
c81571633
.
filter
(
c
,
e
,
tp
)
function
c81571633
.
filter
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
...
...
c88935103.lua
View file @
9ddefd57
...
@@ -45,8 +45,7 @@ function c88935103.initial_effect(c)
...
@@ -45,8 +45,7 @@ function c88935103.initial_effect(c)
c
:
RegisterEffect
(
e6
)
c
:
RegisterEffect
(
e6
)
end
end
function
c88935103
.
descon
(
e
)
function
c88935103
.
descon
(
e
)
local
tc
=
Duel
.
GetMatchingGroup
(
nil
,
e
:
GetHandlerPlayer
(),
LOCATION_PZONE
,
0
,
e
:
GetHandler
()):
GetFirst
()
return
not
Duel
.
IsExistingMatchingCard
(
Card
.
IsSetCard
,
e
:
GetHandlerPlayer
(),
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
(),
0x98
)
return
not
tc
or
not
tc
:
IsSetCard
(
0x98
)
end
end
function
c88935103
.
synlimit
(
e
,
c
)
function
c88935103
.
synlimit
(
e
,
c
)
if
not
c
then
return
false
end
if
not
c
then
return
false
end
...
...
c91420254.lua
View file @
9ddefd57
...
@@ -30,8 +30,7 @@ function c91420254.initial_effect(c)
...
@@ -30,8 +30,7 @@ function c91420254.initial_effect(c)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
c91420254
.
sccon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c91420254
.
sccon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetMatchingGroup
(
nil
,
e
:
GetHandlerPlayer
(),
LOCATION_PZONE
,
0
,
e
:
GetHandler
()):
GetFirst
()
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsSetCard
,
tp
,
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
(),
0xb3
)
return
tc
and
tc
:
IsSetCard
(
0xb3
)
end
end
function
c91420254
.
scop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c91420254
.
scop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
c92746535.lua
View file @
9ddefd57
...
@@ -27,13 +27,13 @@ function c92746535.initial_effect(c)
...
@@ -27,13 +27,13 @@ function c92746535.initial_effect(c)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
end
end
function
c92746535
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c92746535
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_PZONE
,
0
,
e
:
GetHandler
()):
GetFirst
(
)
return
Duel
.
IsExistingMatchingCard
(
nil
,
tp
,
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
()
)
end
end
function
c92746535
.
thfilter
(
c
,
code
)
function
c92746535
.
thfilter
(
c
,
code
)
return
c
:
IsCode
(
code
)
and
c
:
IsAbleToHand
()
return
c
:
IsCode
(
code
)
and
c
:
IsAbleToHand
()
end
end
function
c92746535
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c92746535
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
sc
=
Duel
.
Get
MatchingGroup
(
nil
,
tp
,
LOCATION_PZONE
,
0
,
e
:
GetHandler
()):
GetFirst
(
)
local
sc
=
Duel
.
Get
FirstMatchingCard
(
nil
,
tp
,
LOCATION_PZONE
,
0
,
e
:
GetHandler
()
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c92746535
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
sc
:
GetOriginalCode
())
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c92746535
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
sc
:
GetOriginalCode
())
end
Duel
.
SetTargetCard
(
sc
)
Duel
.
SetTargetCard
(
sc
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
sc
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
sc
,
1
,
0
,
0
)
...
...
c93149655.lua
View file @
9ddefd57
...
@@ -27,8 +27,7 @@ function c93149655.initial_effect(c)
...
@@ -27,8 +27,7 @@ function c93149655.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c93149655
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c93149655
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_PZONE
,
0
,
e
:
GetHandler
()):
GetFirst
()
if
not
Duel
.
IsExistingMatchingCard
(
Card
.
IsSetCard
,
tp
,
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
(),
0x99
)
then
return
end
if
not
tc
or
not
tc
:
IsSetCard
(
0x99
)
then
return
end
local
a
=
Duel
.
GetAttacker
()
local
a
=
Duel
.
GetAttacker
()
local
d
=
Duel
.
GetAttackTarget
()
local
d
=
Duel
.
GetAttackTarget
()
if
d
and
a
:
GetControler
()
~=
d
:
GetControler
()
then
if
d
and
a
:
GetControler
()
~=
d
:
GetControler
()
then
...
...
c93662626.lua
View file @
9ddefd57
...
@@ -13,8 +13,7 @@ function c93662626.initial_effect(c)
...
@@ -13,8 +13,7 @@ function c93662626.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c93662626
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c93662626
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
pc
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_PZONE
,
0
,
e
:
GetHandler
()):
GetFirst
()
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsSetCard
,
tp
,
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
(),
0xc8
)
return
pc
and
pc
:
IsSetCard
(
0xc8
)
end
end
function
c93662626
.
filter
(
c
)
function
c93662626
.
filter
(
c
)
return
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
c
:
IsAbleToHand
()
return
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
c
:
IsAbleToHand
()
...
...
c94415058.lua
View file @
9ddefd57
...
@@ -56,9 +56,11 @@ end
...
@@ -56,9 +56,11 @@ end
function
c94415058
.
aclimit
(
e
,
re
,
tp
)
function
c94415058
.
aclimit
(
e
,
re
,
tp
)
return
re
:
IsActiveType
(
TYPE_SPELL
)
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
return
re
:
IsActiveType
(
TYPE_SPELL
)
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
end
end
function
c94415058
.
scfilter
(
c
)
return
c
:
IsSetCard
(
0x98
)
or
c
:
IsSetCard
(
0x99
)
end
function
c94415058
.
sccon
(
e
)
function
c94415058
.
sccon
(
e
)
local
tc
=
Duel
.
GetMatchingGroup
(
nil
,
e
:
GetHandlerPlayer
(),
LOCATION_PZONE
,
0
,
e
:
GetHandler
()):
GetFirst
()
return
not
Duel
.
IsExistingMatchingCard
(
c94415058
.
scfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
())
return
not
tc
or
(
not
tc
:
IsSetCard
(
0x98
)
and
not
tc
:
IsSetCard
(
0x99
))
end
end
function
c94415058
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c94415058
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
eg
:
GetFirst
()
local
tc
=
eg
:
GetFirst
()
...
...
c96227613.lua
View file @
9ddefd57
...
@@ -54,8 +54,7 @@ function c96227613.ndcon(e)
...
@@ -54,8 +54,7 @@ function c96227613.ndcon(e)
return
Duel
.
IsExistingMatchingCard
(
c96227613
.
ndcfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_ONFIELD
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
c96227613
.
ndcfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
end
function
c96227613
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c96227613
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
pc
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_PZONE
,
0
,
e
:
GetHandler
()):
GetFirst
()
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsCode
,
tp
,
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
(),
22211622
)
return
pc
and
pc
:
IsCode
(
22211622
)
end
end
function
c96227613
.
thfilter
(
c
)
function
c96227613
.
thfilter
(
c
)
return
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsSetCard
(
0x46
)
and
c
:
IsAbleToHand
()
return
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsSetCard
(
0x46
)
and
c
:
IsAbleToHand
()
...
...
c96802306.lua
View file @
9ddefd57
...
@@ -13,8 +13,7 @@ function c96802306.initial_effect(c)
...
@@ -13,8 +13,7 @@ function c96802306.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c96802306
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c96802306
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
pc
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_PZONE
,
0
,
e
:
GetHandler
()):
GetFirst
()
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsSetCard
,
tp
,
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
(),
0xc8
)
return
pc
and
pc
:
IsSetCard
(
0xc8
)
end
end
function
c96802306
.
filter
(
c
)
function
c96802306
.
filter
(
c
)
return
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
c
:
IsAbleToHand
()
return
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
c
:
IsAbleToHand
()
...
...
c97024987.lua
View file @
9ddefd57
...
@@ -13,8 +13,7 @@ function c97024987.initial_effect(c)
...
@@ -13,8 +13,7 @@ function c97024987.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c97024987
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c97024987
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
pc
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_PZONE
,
0
,
e
:
GetHandler
()):
GetFirst
()
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsSetCard
,
tp
,
LOCATION_PZONE
,
0
,
1
,
e
:
GetHandler
(),
0xc8
)
return
pc
and
pc
:
IsSetCard
(
0xc8
)
end
end
function
c97024987
.
filter
(
c
)
function
c97024987
.
filter
(
c
)
return
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
c
:
IsAbleToHand
()
return
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
c
:
IsAbleToHand
()
...
...
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