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
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
八宫一月
ygopro-scripts
Commits
2788e532
Commit
2788e532
authored
Mar 31, 2016
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
009fc611
Changes
37
Hide whitespace changes
Inline
Side-by-side
Showing
37 changed files
with
46 additions
and
43 deletions
+46
-43
c10759529.lua
c10759529.lua
+1
-1
c12644061.lua
c12644061.lua
+1
-1
c1315120.lua
c1315120.lua
+2
-2
c16480084.lua
c16480084.lua
+1
-1
c22061412.lua
c22061412.lua
+1
-1
c23649496.lua
c23649496.lua
+1
-1
c2407147.lua
c2407147.lua
+1
-1
c28201945.lua
c28201945.lua
+1
-1
c293542.lua
c293542.lua
+1
-1
c31383545.lua
c31383545.lua
+1
-1
c31533704.lua
c31533704.lua
+1
-1
c36687247.lua
c36687247.lua
+1
-1
c36734924.lua
c36734924.lua
+1
-1
c38331564.lua
c38331564.lua
+1
-1
c39477584.lua
c39477584.lua
+1
-1
c49919798.lua
c49919798.lua
+1
-1
c51916032.lua
c51916032.lua
+1
-1
c5399521.lua
c5399521.lua
+1
-1
c60316373.lua
c60316373.lua
+1
-1
c61965407.lua
c61965407.lua
+2
-2
c64910482.lua
c64910482.lua
+1
-1
c67328336.lua
c67328336.lua
+1
-1
c75141056.lua
c75141056.lua
+1
-1
c80651316.lua
c80651316.lua
+1
-1
c8611007.lua
c8611007.lua
+5
-2
c86943389.lua
c86943389.lua
+1
-1
c89893715.lua
c89893715.lua
+1
-1
c90361010.lua
c90361010.lua
+1
-1
c90616316.lua
c90616316.lua
+2
-2
c91188343.lua
c91188343.lua
+2
-2
c91903221.lua
c91903221.lua
+1
-1
c923596.lua
c923596.lua
+1
-1
c94432298.lua
c94432298.lua
+1
-1
c95027497.lua
c95027497.lua
+1
-1
c97567736.lua
c97567736.lua
+2
-2
c97750534.lua
c97750534.lua
+1
-1
c98287529.lua
c98287529.lua
+1
-1
No files found.
c10759529.lua
View file @
2788e532
...
...
@@ -19,7 +19,7 @@ function c10759529.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Release
(
g
,
REASON_COST
)
end
function
c10759529
.
filter
(
c
)
return
c
:
IsSetCard
(
0x3008
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x3008
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToHand
()
end
function
c10759529
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c10759529
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
c12644061.lua
View file @
2788e532
...
...
@@ -58,7 +58,7 @@ function c12644061.damcon(e,tp,eg,ep,ev,re,r,rp)
and
((
a
:
IsControler
(
tp
)
and
a
:
IsSetCard
(
0x1034
))
or
(
at
and
at
:
IsControler
(
tp
)
and
at
:
IsSetCard
(
0x1034
)))
end
function
c12644061
.
dfilter
(
c
)
return
c
:
IsSetCard
(
0x1034
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsSetCard
(
0x1034
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToGraveAsCost
()
end
function
c12644061
.
damcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c12644061
.
dfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
c1315120.lua
View file @
2788e532
...
...
@@ -18,7 +18,7 @@ end
function
c1315120
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
return
Duel
.
GetFieldGroupCount
(
c
:
GetControler
(),
LOCATION_MZONE
,
0
)
==
0
and
Duel
.
GetFieldGroupCount
(
c
:
GetControler
(),
0
,
LOCATION_MZONE
)
>
0
and
Duel
.
GetFieldGroupCount
(
c
:
GetControler
(),
0
,
LOCATION_MZONE
)
>
0
and
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>
0
end
function
c1315120
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
@@ -38,7 +38,7 @@ function c1315120.regop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c1315120
.
filter
(
c
)
return
c
:
IsSetCard
(
0x27
)
and
c
:
GetCode
()
~=
1315120
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x27
)
and
c
:
GetCode
()
~=
1315120
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToHand
()
end
function
c1315120
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c1315120
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
c16480084.lua
View file @
2788e532
...
...
@@ -25,7 +25,7 @@ function c16480084.schcon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_GRAVE
)
and
e
:
GetHandler
():
IsReason
(
REASON_BATTLE
)
end
function
c16480084
.
sfilter
(
c
)
return
c
:
IsSetCard
(
0x304e
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x304e
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToHand
()
end
function
c16480084
.
schtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c16480084
.
sfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
c22061412.lua
View file @
2788e532
...
...
@@ -40,7 +40,7 @@ function c22061412.thcon(e,tp,eg,ep,ev,re,r,rp)
return
bit
.
band
(
e
:
GetHandler
():
GetPreviousLocation
(),
LOCATION_ONFIELD
)
>
0
end
function
c22061412
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x3008
)
and
c
:
IsAbleToHand
()
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x3008
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToHand
()
end
function
c22061412
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
GetControler
()
==
tp
and
chkc
:
IsLocation
(
LOCATION_REMOVED
)
and
c22061412
.
filter
(
chkc
)
end
...
...
c23649496.lua
View file @
2788e532
...
...
@@ -74,7 +74,7 @@ function c23649496.splimit(e,c,sump,sumtype,sumpos,targetp,se)
return
c
:
IsCode
(
e
:
GetLabel
())
end
function
c23649496
.
tgfilter
(
c
)
return
c
:
IsSetCard
(
0x76
)
and
c
:
IsAbleToGrave
()
return
c
:
IsSetCard
(
0x76
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToGrave
()
end
function
c23649496
.
tgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c23649496
.
tgfilter
,
tp
,
LOCATION_DECK
,
0
,
2
,
nil
)
end
...
...
c2407147.lua
View file @
2788e532
...
...
@@ -19,7 +19,7 @@ function c2407147.condition(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
IsExistingMatchingCard
(
c2407147
.
cfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
function
c2407147
.
filter
(
c
)
return
c
:
IsSetCard
(
0x39
)
and
c
:
IsAbleToGrave
()
return
c
:
IsSetCard
(
0x39
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToGrave
()
end
function
c2407147
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c2407147
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
c28201945.lua
View file @
2788e532
...
...
@@ -38,7 +38,7 @@ function c28201945.spcon(e,tp,eg,ep,ev,re,r,rp)
return
rp
==
tp
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
c
:
GetType
()
==
TYPE_TRAP
and
(
c
:
IsSetCard
(
0x4c
)
or
c
:
IsSetCard
(
0x89
))
and
e
:
GetHandler
():
GetFlagEffect
(
1
)
>
0
end
function
c28201945
.
filter
(
c
,
e
,
tp
,
ft
)
return
c
:
IsSetCard
(
0x108a
)
and
c
:
GetCode
()
~=
28201945
and
(
c
:
IsAbleToHand
()
or
(
ft
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)))
return
c
:
IsSetCard
(
0x108a
)
and
c
:
GetCode
()
~=
28201945
and
c
:
IsType
(
TYPE_MONSTER
)
and
(
c
:
IsAbleToHand
()
or
(
ft
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)))
end
function
c28201945
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
...
...
c293542.lua
View file @
2788e532
...
...
@@ -54,7 +54,7 @@ function c293542.regop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c293542
.
filter
(
c
)
return
c
:
IsSetCard
(
0x27
)
and
c
:
GetCode
()
~=
293542
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x27
)
and
not
c
:
IsCode
(
293542
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
end
function
c293542
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c293542
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
c31383545.lua
View file @
2788e532
...
...
@@ -24,7 +24,7 @@ function c31383545.regop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c31383545
.
filter
(
c
)
return
c
:
IsSetCard
(
0x100d
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x100d
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToHand
()
end
function
c31383545
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c31383545
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
c31533704.lua
View file @
2788e532
...
...
@@ -80,7 +80,7 @@ function c31533704.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Release
(
g
,
REASON_COST
)
end
function
c31533704
.
filter
(
c
)
return
c
:
IsSetCard
(
0x101b
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x101b
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToHand
()
end
function
c31533704
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c31533704
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
c36687247.lua
View file @
2788e532
...
...
@@ -37,7 +37,7 @@ function c36687247.regop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c36687247
.
filter
(
c
)
return
c
:
IsSetCard
(
0x27
)
and
c
:
GetCode
()
~=
36687247
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x27
)
and
c
:
GetCode
()
~=
36687247
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToHand
()
end
function
c36687247
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c36687247
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
c36734924.lua
View file @
2788e532
...
...
@@ -31,7 +31,7 @@ function c36734924.tgfilter(c)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_EFFECT
)
and
c
:
IsAbleToGrave
()
end
function
c36734924
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0xdd
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0xdd
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToHand
()
end
function
c36734924
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c36734924
.
tgfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
...
...
c38331564.lua
View file @
2788e532
...
...
@@ -22,7 +22,7 @@ function c38331564.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
c38331564
.
filter
(
c
)
return
c
:
IsSetCard
(
0x86
)
and
not
c
:
IsCode
(
38331564
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x86
)
and
not
c
:
IsCode
(
38331564
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToHand
()
end
function
c38331564
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c38331564
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
c39477584.lua
View file @
2788e532
...
...
@@ -19,7 +19,7 @@ function c39477584.con(e,tp,eg,ep,ev,re,r,rp)
return
bit
.
band
(
r
,
REASON_DESTROY
)
~=
0
and
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
end
function
c39477584
.
filter
(
c
)
return
c
:
IsSetCard
(
0x35
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x35
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToHand
()
end
function
c39477584
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c39477584
.
filter
(
chkc
)
end
...
...
c49919798.lua
View file @
2788e532
...
...
@@ -33,7 +33,7 @@ function c49919798.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
c49919798
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x1066
)
and
not
c
:
IsCode
(
49919798
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x1066
)
and
not
c
:
IsCode
(
49919798
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToHand
()
end
function
c49919798
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c49919798
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
c51916032.lua
View file @
2788e532
...
...
@@ -25,7 +25,7 @@ function c51916032.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Release
(
e
:
GetHandler
(),
REASON_COST
)
end
function
c51916032
.
filter
(
c
)
return
c
:
IsSetCard
(
0xbc
)
and
not
c
:
IsCode
(
51916032
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0xbc
)
and
not
c
:
IsCode
(
51916032
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToHand
()
end
function
c51916032
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c51916032
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
c5399521.lua
View file @
2788e532
...
...
@@ -49,7 +49,7 @@ function c5399521.thcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetTurnPlayer
()
==
tp
end
function
c5399521
.
thfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1066
)
and
c
:
IsAbleToHand
()
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x1066
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToHand
()
end
function
c5399521
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_REMOVED
)
and
c5399521
.
thfilter
(
chkc
)
end
...
...
c60316373.lua
View file @
2788e532
...
...
@@ -23,7 +23,7 @@ function c60316373.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_COST
)
end
function
c60316373
.
filter
(
c
)
return
c
:
IsSetCard
(
0x76
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x76
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToHand
()
end
function
c60316373
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c60316373
.
filter
(
chkc
)
end
...
...
c61965407.lua
View file @
2788e532
...
...
@@ -87,7 +87,7 @@ function c61965407.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
RegisterFlagEffect
(
tp
,
61965407
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
function
c61965407
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0xbb
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0xbb
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToHand
()
end
function
c61965407
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c61965407
.
thfilter
(
chkc
)
end
...
...
@@ -104,7 +104,7 @@ function c61965407.tgcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
RegisterFlagEffect
(
tp
,
61965408
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
function
c61965407
.
tgfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xbb
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xbb
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
function
c61965407
.
tgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_REMOVED
)
and
chkc
:
IsControler
(
tp
)
and
c61965407
.
tgfilter
(
chkc
)
end
...
...
c64910482.lua
View file @
2788e532
...
...
@@ -62,7 +62,7 @@ function c64910482.regop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c64910482
.
filter
(
c
)
return
c
:
IsSetCard
(
0x27
)
and
c
:
GetCode
()
~=
64910482
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x27
)
and
c
:
GetCode
()
~=
64910482
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToHand
()
end
function
c64910482
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c64910482
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
c67328336.lua
View file @
2788e532
...
...
@@ -34,7 +34,7 @@ function c67328336.thcon(e,tp,eg,ep,ev,re,r,rp)
return
c
:
IsReason
(
REASON_DESTROY
)
and
bit
.
band
(
c
:
GetPreviousLocation
(),
LOCATION_ONFIELD
)
~=
0
end
function
c67328336
.
filter
(
c
)
return
c
:
IsSetCard
(
0x3013
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x3013
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToHand
()
end
function
c67328336
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c67328336
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
c75141056.lua
View file @
2788e532
...
...
@@ -13,7 +13,7 @@ function c75141056.tgfilter(c)
return
c
:
IsFaceup
()
and
Duel
.
IsExistingMatchingCard
(
c75141056
.
cfilter
,
c
:
GetControler
(),
LOCATION_DECK
,
0
,
1
,
nil
,
c
)
end
function
c75141056
.
cfilter
(
c
,
tc
)
return
c
:
IsSetCard
(
0x3008
)
and
not
c
:
IsCode
(
tc
:
GetCode
())
and
c
:
IsAbleToGrave
()
return
c
:
IsSetCard
(
0x3008
)
and
not
c
:
IsCode
(
tc
:
GetCode
())
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToGrave
()
end
function
c75141056
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c75141056
.
tgfilter
(
chkc
)
end
...
...
c80651316.lua
View file @
2788e532
...
...
@@ -35,7 +35,7 @@ function c80651316.atkop(e,tp,eg,ep,ev,re,r,rp)
c
:
RegisterEffect
(
e2
)
end
function
c80651316
.
sfilter
(
c
)
return
c
:
IsSetCard
(
0x304e
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x304e
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToHand
()
end
function
c80651316
.
schtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c80651316
.
sfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
c8611007.lua
View file @
2788e532
...
...
@@ -15,13 +15,16 @@ function c8611007.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c8611007
.
filter
(
c
)
return
c
:
IsSetCard
(
0x39
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x39
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToHand
()
end
function
c8611007
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c8611007
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
nil
,
1
,
tp
,
LOCATION_HAND
)
end
function
c8611007
.
tgfilter
(
c
)
return
c
:
IsSetCard
(
0x39
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
function
c8611007
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c8611007
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
...
...
@@ -31,6 +34,6 @@ function c8611007.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ShuffleHand
(
tp
)
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
dg
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsSetCard
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
0x39
)
local
dg
=
Duel
.
SelectMatchingCard
(
tp
,
c8611007
.
tgfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
Duel
.
SendtoGrave
(
dg
,
REASON_EFFECT
)
end
c86943389.lua
View file @
2788e532
...
...
@@ -60,7 +60,7 @@ function c86943389.thcon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
GetFlagEffect
(
86943389
)
>
0
end
function
c86943389
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x2016
)
and
not
c
:
IsCode
(
86943389
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x2016
)
and
not
c
:
IsCode
(
86943389
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToHand
()
end
function
c86943389
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c86943389
.
thfilter
(
chkc
)
end
...
...
c89893715.lua
View file @
2788e532
...
...
@@ -15,7 +15,7 @@ function c89893715.condition(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_GRAVE
)
and
e
:
GetHandler
():
IsReason
(
REASON_BATTLE
)
end
function
c89893715
.
filter
(
c
)
return
c
:
IsSetCard
(
0x39
)
and
c
:
IsAbleToGrave
()
return
c
:
IsSetCard
(
0x39
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToGrave
()
end
function
c89893715
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c89893715
.
filter
,
tp
,
LOCATION_DECK
,
0
,
2
,
nil
)
end
...
...
c90361010.lua
View file @
2788e532
...
...
@@ -61,7 +61,7 @@ function c90361010.thcon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
end
function
c90361010
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x9a
)
and
not
c
:
IsCode
(
90361010
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x9a
)
and
not
c
:
IsCode
(
90361010
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToHand
()
end
function
c90361010
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c90361010
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
c90616316.lua
View file @
2788e532
...
...
@@ -38,7 +38,7 @@ function c90616316.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c90616316
.
cfilter
(
c
)
return
c
:
IsSetCard
(
0x35
)
and
not
c
:
IsPublic
()
return
c
:
IsSetCard
(
0x35
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsPublic
()
end
function
c90616316
.
cost2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c90616316
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
...
...
@@ -48,7 +48,7 @@ function c90616316.cost2(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
ShuffleHand
(
tp
)
end
function
c90616316
.
filter2
(
c
)
return
c
:
IsSetCard
(
0x35
)
and
c
:
IsAbleToGrave
()
return
c
:
IsSetCard
(
0x35
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToGrave
()
end
function
c90616316
.
tg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c90616316
.
filter2
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
c91188343.lua
View file @
2788e532
...
...
@@ -11,10 +11,10 @@ function c91188343.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c91188343
.
filter1
(
c
)
return
c
:
IsSetCard
(
0x44
)
and
c
:
GetCode
()
~=
91188343
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x44
)
and
c
:
GetCode
()
~=
91188343
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToHand
()
end
function
c91188343
.
filter2
(
c
)
return
((
c
:
IsSetCard
(
0x44
)
and
c
:
GetCode
()
~=
91188343
)
or
c
:
IsCode
(
55794644
))
and
c
:
IsAbleToHand
()
return
((
c
:
IsSetCard
(
0x44
)
and
c
:
GetCode
()
~=
91188343
and
c
:
IsType
(
TYPE_MONSTER
)
)
or
c
:
IsCode
(
55794644
))
and
c
:
IsAbleToHand
()
end
function
c91188343
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
...
...
c91903221.lua
View file @
2788e532
...
...
@@ -18,7 +18,7 @@ function c91903221.filter1(c)
return
c
:
IsRace
(
RACE_DINOSAUR
)
and
c
:
IsAbleToDeck
()
end
function
c91903221
.
filter2
(
c
)
return
c
:
IsSetCard
(
0x304e
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x304e
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToHand
()
end
function
c91903221
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
c923596.lua
View file @
2788e532
...
...
@@ -33,7 +33,7 @@ function c923596.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c923596
.
filter
(
c
)
return
c
:
IsSetCard
(
0x72
)
and
c
:
GetCode
()
~=
923596
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x72
)
and
not
c
:
IsCode
(
923596
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
end
function
c923596
.
shtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c923596
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
c94432298.lua
View file @
2788e532
...
...
@@ -51,7 +51,7 @@ function c94432298.tgcost(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
GetHandler
():
RegisterFlagEffect
(
94432298
,
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
function
c94432298
.
filter
(
c
)
return
c
:
IsSetCard
(
0xbb
)
and
c
:
IsAbleToGrave
()
return
c
:
IsSetCard
(
0xbb
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToGrave
()
end
function
c94432298
.
tgtg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c94432298
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
c95027497.lua
View file @
2788e532
...
...
@@ -25,7 +25,7 @@ function c95027497.filter1(c)
return
c
:
IsSetCard
(
0x61
)
and
c
:
IsAbleToHand
()
end
function
c95027497
.
filter2
(
c
)
return
c
:
IsSetCard
(
0x2b
)
and
c
:
GetCode
()
~=
95027497
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x2b
)
and
c
:
GetCode
()
~=
95027497
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToHand
()
end
function
c95027497
.
tg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c95027497
.
filter1
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
c97567736.lua
View file @
2788e532
...
...
@@ -23,7 +23,7 @@ function c97567736.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c97567736
.
cfilter
(
c
)
return
c
:
IsSetCard
(
0xc3
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsSetCard
(
0xc3
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToGraveAsCost
()
end
function
c97567736
.
damcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c97567736
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
...
...
@@ -40,7 +40,7 @@ function c97567736.damop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Damage
(
p
,
d
,
REASON_EFFECT
)
end
function
c97567736
.
tgfilter
(
c
)
return
c
:
IsSetCard
(
0xc3
)
and
not
c
:
IsCode
(
97567736
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsSetCard
(
0xc3
)
and
not
c
:
IsCode
(
97567736
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToGraveAsCost
()
end
function
c97567736
.
tgcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c97567736
.
tgfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
c97750534.lua
View file @
2788e532
...
...
@@ -24,7 +24,7 @@ function c97750534.spcon(e,c)
return
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>
0
end
function
c97750534
.
filter
(
c
)
return
c
:
IsSetCard
(
0x44
)
and
c
:
IsAbleToGrave
()
return
c
:
IsSetCard
(
0x44
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToGrave
()
end
function
c97750534
.
tgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c97750534
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
c98287529.lua
View file @
2788e532
...
...
@@ -46,7 +46,7 @@ function c98287529.condition(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
end
function
c98287529
.
filter
(
c
)
return
c
:
IsSetCard
(
0xda
)
and
not
c
:
IsCode
(
98287529
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0xda
)
and
not
c
:
IsCode
(
98287529
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToHand
()
end
function
c98287529
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c98287529
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
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