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
6c91b505
Commit
6c91b505
authored
Apr 27, 2018
by
Aephiex
Committed by
nanahira
Apr 27, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix "except this card" (#1031)
parent
17b2fe52
Changes
45
Show whitespace changes
Inline
Side-by-side
Showing
45 changed files
with
145 additions
and
59 deletions
+145
-59
c10485110.lua
c10485110.lua
+3
-1
c14799437.lua
c14799437.lua
+3
-1
c15939229.lua
c15939229.lua
+4
-2
c16172067.lua
c16172067.lua
+3
-1
c16306932.lua
c16306932.lua
+3
-1
c19684740.lua
c19684740.lua
+3
-1
c20073910.lua
c20073910.lua
+3
-1
c21105106.lua
c21105106.lua
+3
-1
c23015896.lua
c23015896.lua
+3
-1
c2407234.lua
c2407234.lua
+3
-1
c29146185.lua
c29146185.lua
+3
-1
c36956512.lua
c36956512.lua
+3
-1
c37721209.lua
c37721209.lua
+3
-1
c39272762.lua
c39272762.lua
+3
-1
c39765958.lua
c39765958.lua
+3
-1
c41753322.lua
c41753322.lua
+3
-1
c42589641.lua
c42589641.lua
+3
-1
c4335427.lua
c4335427.lua
+3
-1
c45960523.lua
c45960523.lua
+4
-2
c46772449.lua
c46772449.lua
+3
-1
c4779091.lua
c4779091.lua
+3
-1
c52512994.lua
c52512994.lua
+4
-2
c57774843.lua
c57774843.lua
+3
-1
c58330108.lua
c58330108.lua
+4
-3
c58760121.lua
c58760121.lua
+3
-1
c60258960.lua
c60258960.lua
+3
-1
c64599569.lua
c64599569.lua
+3
-1
c64681432.lua
c64681432.lua
+4
-2
c68299524.lua
c68299524.lua
+5
-2
c68396121.lua
c68396121.lua
+3
-1
c698785.lua
c698785.lua
+3
-1
c71525232.lua
c71525232.lua
+3
-1
c74530899.lua
c74530899.lua
+3
-1
c75433814.lua
c75433814.lua
+3
-1
c77336644.lua
c77336644.lua
+3
-1
c77428945.lua
c77428945.lua
+3
-1
c82308875.lua
c82308875.lua
+3
-1
c82697249.lua
c82697249.lua
+3
-1
c84417082.lua
c84417082.lua
+3
-1
c84488827.lua
c84488827.lua
+3
-1
c86099788.lua
c86099788.lua
+3
-1
c88177324.lua
c88177324.lua
+4
-2
c89111398.lua
c89111398.lua
+4
-4
c92970404.lua
c92970404.lua
+4
-4
c94092230.lua
c94092230.lua
+3
-1
No files found.
c10485110.lua
View file @
6c91b505
...
@@ -51,6 +51,8 @@ function c10485110.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -51,6 +51,8 @@ function c10485110.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
g
,
g
:
GetCount
(),
0
,
0
)
end
end
function
c10485110
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c10485110
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
0xe
,
0xe
,
e
:
GetHandler
())
local
exc
=
e
:
GetHandler
()
if
not
exc
:
IsRelateToEffect
(
e
)
then
exc
=
nil
end
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
0xe
,
0xe
,
exc
)
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
end
end
c14799437.lua
View file @
6c91b505
...
@@ -98,7 +98,9 @@ function c14799437.destg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -98,7 +98,9 @@ function c14799437.destg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
end
end
function
c14799437
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c14799437
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
e
:
GetHandler
())
local
exc
=
e
:
GetHandler
()
if
not
exc
:
IsRelateToEffect
(
e
)
then
exc
=
nil
end
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
exc
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
end
...
...
c15939229.lua
View file @
6c91b505
...
@@ -42,6 +42,7 @@ function c15939229.sumsuc(e,tp,eg,ep,ev,re,r,rp)
...
@@ -42,6 +42,7 @@ function c15939229.sumsuc(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetTargetRange
(
1
,
1
)
e1
:
SetTargetRange
(
1
,
1
)
e1
:
SetValue
(
c15939229
.
aclimit
)
e1
:
SetValue
(
c15939229
.
aclimit
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e1
:
SetLabel
(
c
:
GetFieldID
())
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
...
@@ -49,13 +50,14 @@ function c15939229.sumsuc(e,tp,eg,ep,ev,re,r,rp)
...
@@ -49,13 +50,14 @@ function c15939229.sumsuc(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetTargetRange
(
LOCATION_ONFIELD
,
LOCATION_ONFIELD
)
e2
:
SetTargetRange
(
LOCATION_ONFIELD
,
LOCATION_ONFIELD
)
e2
:
SetTarget
(
c15939229
.
disable
)
e2
:
SetTarget
(
c15939229
.
disable
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e2
:
SetLabel
(
c
:
GetFieldID
())
Duel
.
RegisterEffect
(
e2
,
tp
)
Duel
.
RegisterEffect
(
e2
,
tp
)
end
end
function
c15939229
.
aclimit
(
e
,
re
,
tp
)
function
c15939229
.
aclimit
(
e
,
re
,
tp
)
return
re
:
GetHandler
():
IsOnField
()
and
e
:
GetHandler
()
~=
re
:
GetHandler
()
return
re
:
GetHandler
():
IsOnField
()
and
re
:
GetHandler
():
GetFieldID
()
~=
e
:
GetLabel
()
end
end
function
c15939229
.
disable
(
e
,
c
)
function
c15939229
.
disable
(
e
,
c
)
return
c
~=
e
:
GetHandler
()
and
(
not
c
:
IsType
(
TYPE_MONSTER
)
or
(
c
:
IsType
(
TYPE_EFFECT
)
or
bit
.
band
(
c
:
GetOriginalType
(),
TYPE_EFFECT
)
==
TYPE_EFFECT
))
return
c
:
GetFieldID
()
~=
e
:
GetLabel
()
and
(
not
c
:
IsType
(
TYPE_MONSTER
)
or
(
c
:
IsType
(
TYPE_EFFECT
)
or
bit
.
band
(
c
:
GetOriginalType
(),
TYPE_EFFECT
)
==
TYPE_EFFECT
))
end
end
function
c15939229
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c15939229
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
...
...
c16172067.lua
View file @
6c91b505
...
@@ -48,7 +48,9 @@ function c16172067.destg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -48,7 +48,9 @@ function c16172067.destg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
end
end
function
c16172067
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c16172067
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
e
:
GetHandler
())
local
exc
=
e
:
GetHandler
()
if
not
exc
:
IsRelateToEffect
(
e
)
then
exc
=
nil
end
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
exc
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
end
...
...
c16306932.lua
View file @
6c91b505
...
@@ -163,7 +163,9 @@ function c16306932.tdtg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -163,7 +163,9 @@ function c16306932.tdtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
g
:
GetCount
(),
0
,
0
)
end
end
function
c16306932
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c16306932
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToDeck
,
tp
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
e
:
GetHandler
())
local
exc
=
e
:
GetHandler
()
if
not
exc
:
IsRelateToEffect
(
e
)
then
exc
=
nil
end
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToDeck
,
tp
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
exc
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_EFFECT
)
end
end
...
...
c19684740.lua
View file @
6c91b505
...
@@ -29,6 +29,8 @@ function c19684740.chlimit(e,ep,tp)
...
@@ -29,6 +29,8 @@ function c19684740.chlimit(e,ep,tp)
return
tp
==
ep
return
tp
==
ep
end
end
function
c19684740
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c19684740
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToHand
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
e
:
GetHandler
())
local
exc
=
e
:
GetHandler
()
if
not
exc
:
IsRelateToEffect
(
e
)
then
exc
=
nil
end
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToHand
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
exc
)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
end
end
c20073910.lua
View file @
6c91b505
...
@@ -61,6 +61,8 @@ function c20073910.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -61,6 +61,8 @@ function c20073910.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g
,
g
:
GetCount
(),
0
,
0
)
end
end
function
c20073910
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c20073910
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToRemove
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
e
:
GetHandler
())
local
exc
=
e
:
GetHandler
()
if
not
exc
:
IsRelateToEffect
(
e
)
then
exc
=
nil
end
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToRemove
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
exc
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
end
end
c21105106.lua
View file @
6c91b505
...
@@ -87,7 +87,9 @@ function c21105106.rmtg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -87,7 +87,9 @@ function c21105106.rmtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g
,
g
:
GetCount
(),
0
,
0
)
end
end
function
c21105106
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c21105106
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToRemove
,
tp
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
e
:
GetHandler
())
local
exc
=
e
:
GetHandler
()
if
not
exc
:
IsRelateToEffect
(
e
)
then
exc
=
nil
end
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToRemove
,
tp
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
exc
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
end
end
function
c21105106
.
filter
(
c
,
tp
)
function
c21105106
.
filter
(
c
,
tp
)
...
...
c23015896.lua
View file @
6c91b505
...
@@ -74,7 +74,9 @@ function c23015896.destg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -74,7 +74,9 @@ function c23015896.destg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
end
end
function
c23015896
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c23015896
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
e
:
GetHandler
())
local
exc
=
e
:
GetHandler
()
if
not
exc
:
IsRelateToEffect
(
e
)
then
exc
=
nil
end
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
exc
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
end
function
c23015896
.
spcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c23015896
.
spcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c2407234.lua
View file @
6c91b505
...
@@ -27,7 +27,9 @@ function c2407234.negfilter(c)
...
@@ -27,7 +27,9 @@ function c2407234.negfilter(c)
end
end
function
c2407234
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c2407234
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
g
=
Duel
.
GetMatchingGroup
(
c2407234
.
negfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
c
)
local
exc
=
c
if
not
exc
:
IsRelateToEffect
(
e
)
then
exc
=
nil
end
local
g
=
Duel
.
GetMatchingGroup
(
c2407234
.
negfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
exc
)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
while
tc
do
while
tc
do
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
c29146185.lua
View file @
6c91b505
...
@@ -80,6 +80,8 @@ function c29146185.destg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -80,6 +80,8 @@ function c29146185.destg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
end
end
function
c29146185
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c29146185
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
e
:
GetHandler
())
local
exc
=
e
:
GetHandler
()
if
not
exc
:
IsRelateToEffect
(
e
)
then
exc
=
nil
end
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
exc
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
end
c36956512.lua
View file @
6c91b505
...
@@ -71,7 +71,9 @@ function c36956512.atktg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -71,7 +71,9 @@ function c36956512.atktg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c36956512
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c36956512
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
tg
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
c
)
local
exc
=
c
if
not
exc
:
IsRelateToEffect
(
e
)
then
exc
=
nil
end
local
tg
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
exc
)
local
tc
=
tg
:
GetFirst
()
local
tc
=
tg
:
GetFirst
()
while
tc
do
while
tc
do
local
atk
=
tc
:
GetAttack
()
local
atk
=
tc
:
GetAttack
()
...
...
c37721209.lua
View file @
6c91b505
...
@@ -26,6 +26,8 @@ function c37721209.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -26,6 +26,8 @@ function c37721209.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
end
end
function
c37721209
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c37721209
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
e
:
GetHandler
())
local
exc
=
e
:
GetHandler
()
if
not
exc
:
IsRelateToEffect
(
e
)
then
exc
=
nil
end
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
exc
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
end
c39272762.lua
View file @
6c91b505
...
@@ -42,7 +42,9 @@ function c39272762.negcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -42,7 +42,9 @@ function c39272762.negcon(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c39272762
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c39272762
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
c
)
local
exc
=
c
if
not
exc
:
IsRelateToEffect
(
e
)
then
exc
=
nil
end
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
exc
)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
while
tc
do
while
tc
do
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
c39765958.lua
View file @
6c91b505
...
@@ -43,6 +43,8 @@ function c39765958.destg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -43,6 +43,8 @@ function c39765958.destg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
sg
,
sg
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
sg
,
sg
:
GetCount
(),
0
,
0
)
end
end
function
c39765958
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c39765958
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
sg
=
Duel
.
GetMatchingGroup
(
c39765958
.
dfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
e
:
GetHandler
())
local
exc
=
e
:
GetHandler
()
if
not
exc
:
IsRelateToEffect
(
e
)
then
exc
=
nil
end
local
sg
=
Duel
.
GetMatchingGroup
(
c39765958
.
dfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
exc
)
Duel
.
Destroy
(
sg
,
REASON_EFFECT
)
Duel
.
Destroy
(
sg
,
REASON_EFFECT
)
end
end
c41753322.lua
View file @
6c91b505
...
@@ -77,7 +77,9 @@ function c41753322.postg2(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -77,7 +77,9 @@ function c41753322.postg2(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_POSITION
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_POSITION
,
g
,
g
:
GetCount
(),
0
,
0
)
end
end
function
c41753322
.
posop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c41753322
.
posop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsCanTurnSet
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
e
:
GetHandler
())
local
exc
=
e
:
GetHandler
()
if
not
exc
:
IsRelateToEffect
(
e
)
then
exc
=
nil
end
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsCanTurnSet
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
exc
)
Duel
.
ChangePosition
(
g
,
POS_FACEDOWN_DEFENSE
)
Duel
.
ChangePosition
(
g
,
POS_FACEDOWN_DEFENSE
)
end
end
function
c41753322
.
dcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c41753322
.
dcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c42589641.lua
View file @
6c91b505
...
@@ -103,7 +103,9 @@ function c42589641.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -103,7 +103,9 @@ function c42589641.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
g
,
g
:
GetCount
(),
0
,
0
)
end
end
function
c42589641
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c42589641
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToHand
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
e
:
GetHandler
())
local
exc
=
e
:
GetHandler
()
if
not
exc
:
IsRelateToEffect
(
e
)
then
exc
=
nil
end
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToHand
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
exc
)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
end
end
function
c42589641
.
hdcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c42589641
.
hdcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
c4335427.lua
View file @
6c91b505
...
@@ -63,6 +63,8 @@ function c4335427.rmtg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -63,6 +63,8 @@ function c4335427.rmtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetChainLimit
(
aux
.
FALSE
)
Duel
.
SetChainLimit
(
aux
.
FALSE
)
end
end
function
c4335427
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c4335427
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToRemove
,
tp
,
0x1e
,
0x1e
,
e
:
GetHandler
())
local
exc
=
e
:
GetHandler
()
if
not
exc
:
IsRelateToEffect
(
e
)
then
exc
=
nil
end
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToRemove
,
tp
,
0x1e
,
0x1e
,
exc
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
end
end
c45960523.lua
View file @
6c91b505
...
@@ -26,7 +26,7 @@ function c45960523.initial_effect(c)
...
@@ -26,7 +26,7 @@ function c45960523.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c45960523
.
rmcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c45960523
.
rmcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
re
:
GetHandler
():
IsSetCard
(
0x105
)
return
re
and
re
:
IsActiveType
(
TYPE_MONSTER
+
TYPE_PENDULUM
)
and
re
:
GetHandler
():
IsSetCard
(
0x105
)
end
end
function
c45960523
.
rmfilter
(
c
)
function
c45960523
.
rmfilter
(
c
)
return
c
:
IsSummonType
(
SUMMON_TYPE_SPECIAL
)
and
c
:
IsAbleToRemove
()
and
c
:
IsFaceup
()
return
c
:
IsSummonType
(
SUMMON_TYPE_SPECIAL
)
and
c
:
IsAbleToRemove
()
and
c
:
IsFaceup
()
...
@@ -37,7 +37,9 @@ function c45960523.rmtg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -37,7 +37,9 @@ function c45960523.rmtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g
,
g
:
GetCount
(),
0
,
0
)
end
end
function
c45960523
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c45960523
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
c45960523
.
rmfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
e
:
GetHandler
())
local
exc
=
e
:
GetHandler
()
if
not
exc
:
IsRelateToEffect
(
e
)
then
exc
=
nil
end
local
g
=
Duel
.
GetMatchingGroup
(
c45960523
.
rmfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
exc
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
end
end
...
...
c46772449.lua
View file @
6c91b505
...
@@ -52,6 +52,8 @@ function c46772449.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -52,6 +52,8 @@ function c46772449.operation(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_NO_EFFECT_DAMAGE
)
e2
:
SetCode
(
EFFECT_NO_EFFECT_DAMAGE
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e2
,
tp
)
Duel
.
RegisterEffect
(
e2
,
tp
)
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
e
:
GetHandler
())
local
exc
=
e
:
GetHandler
()
if
not
exc
:
IsRelateToEffect
(
e
)
then
exc
=
nil
end
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
exc
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
end
c4779091.lua
View file @
6c91b505
...
@@ -76,7 +76,9 @@ function c4779091.destg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -76,7 +76,9 @@ function c4779091.destg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
end
end
function
c4779091
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c4779091
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
e
:
GetHandler
())
local
exc
=
e
:
GetHandler
()
if
not
exc
:
IsRelateToEffect
(
e
)
then
exc
=
nil
end
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
exc
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
end
function
c4779091
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c4779091
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c52512994.lua
View file @
6c91b505
...
@@ -43,9 +43,11 @@ function c52512994.rfilter(c)
...
@@ -43,9 +43,11 @@ function c52512994.rfilter(c)
return
c
:
IsLocation
(
LOCATION_DECK
+
LOCATION_EXTRA
)
and
c
:
IsRace
(
RACE_ZOMBIE
)
and
bit
.
band
(
c
:
GetPreviousPosition
(),
POS_FACEUP
)
~=
0
return
c
:
IsLocation
(
LOCATION_DECK
+
LOCATION_EXTRA
)
and
c
:
IsRace
(
RACE_ZOMBIE
)
and
bit
.
band
(
c
:
GetPreviousPosition
(),
POS_FACEUP
)
~=
0
end
end
function
c52512994
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c52512994
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToDeck
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
e
:
GetHandler
())
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_EFFECT
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
exc
=
c
if
not
exc
:
IsRelateToEffect
(
e
)
then
exc
=
nil
end
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToDeck
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
exc
)
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_EFFECT
)
local
rt
=
Duel
.
GetOperatedGroup
():
FilterCount
(
c52512994
.
rfilter
,
nil
)
local
rt
=
Duel
.
GetOperatedGroup
():
FilterCount
(
c52512994
.
rfilter
,
nil
)
if
rt
>
0
and
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
then
if
rt
>
0
and
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
c57774843.lua
View file @
6c91b505
...
@@ -60,7 +60,9 @@ function c57774843.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -60,7 +60,9 @@ function c57774843.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
sg
,
sg
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
sg
,
sg
:
GetCount
(),
0
,
0
)
end
end
function
c57774843
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c57774843
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
sg
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
e
:
GetHandler
())
local
exc
=
e
:
GetHandler
()
if
not
exc
:
IsRelateToEffect
(
e
)
then
exc
=
nil
end
local
sg
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
exc
)
Duel
.
Destroy
(
sg
,
REASON_EFFECT
)
Duel
.
Destroy
(
sg
,
REASON_EFFECT
)
end
end
function
c57774843
.
condition2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c57774843
.
condition2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c58330108.lua
View file @
6c91b505
...
@@ -91,15 +91,16 @@ function c58330108.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -91,15 +91,16 @@ function c58330108.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
end
end
function
c58330108
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c58330108
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
exc
=
e
:
GetHandler
()
if
not
exc
:
IsRelateToEffect
(
e
)
then
exc
=
nil
end
local
gc
=
Duel
.
GetMatchingGroup
(
c58330108
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
nil
):
GetClassCount
(
Card
.
GetCode
)
local
gc
=
Duel
.
GetMatchingGroup
(
c58330108
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
nil
):
GetClassCount
(
Card
.
GetCode
)
if
gc
==
1
then
if
gc
==
1
then
local
g
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
c
)
local
g
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
ex
c
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
else
else
local
loc
=
LOCATION_ONFIELD
local
loc
=
LOCATION_ONFIELD
if
gc
>
2
then
loc
=
LOCATION_ONFIELD
+
LOCATION_GRAVE
end
if
gc
>
2
then
loc
=
LOCATION_ONFIELD
+
LOCATION_GRAVE
end
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToRemove
,
tp
,
loc
,
loc
,
c
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToRemove
,
tp
,
loc
,
loc
,
ex
c
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
end
end
end
end
c58760121.lua
View file @
6c91b505
...
@@ -17,6 +17,8 @@ function c58760121.postg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -17,6 +17,8 @@ function c58760121.postg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_POSITION
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_POSITION
,
g
,
g
:
GetCount
(),
0
,
0
)
end
end
function
c58760121
.
posop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c58760121
.
posop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
c58760121
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
e
:
GetHandler
())
local
exc
=
e
:
GetHandler
()
if
not
exc
:
IsRelateToEffect
(
e
)
then
exc
=
nil
end
local
g
=
Duel
.
GetMatchingGroup
(
c58760121
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
exc
)
Duel
.
ChangePosition
(
g
,
POS_FACEDOWN_DEFENSE
,
0
,
POS_FACEDOWN_DEFENSE
,
0
)
Duel
.
ChangePosition
(
g
,
POS_FACEDOWN_DEFENSE
,
0
,
POS_FACEDOWN_DEFENSE
,
0
)
end
end
c60258960.lua
View file @
6c91b505
...
@@ -43,6 +43,8 @@ function c60258960.destg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -43,6 +43,8 @@ function c60258960.destg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
end
end
function
c60258960
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c60258960
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
e
:
GetHandler
())
local
exc
=
e
:
GetHandler
()
if
not
exc
:
IsRelateToEffect
(
e
)
then
exc
=
nil
end
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
exc
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
end
c64599569.lua
View file @
6c91b505
...
@@ -39,6 +39,8 @@ function c64599569.sucop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -39,6 +39,8 @@ function c64599569.sucop(e,tp,eg,ep,ev,re,r,rp)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c64599569
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c64599569
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_ONFIELD
,
0
,
e
:
GetHandler
())
local
exc
=
e
:
GetHandler
()
if
not
exc
:
IsRelateToEffect
(
e
)
then
exc
=
nil
end
local
g
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_ONFIELD
,
0
,
exc
)
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
end
end
c64681432.lua
View file @
6c91b505
...
@@ -52,9 +52,11 @@ function c64681432.destg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -52,9 +52,11 @@ function c64681432.destg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c64681432
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c64681432
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
sg
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
c
)
local
exc
=
c
if
not
exc
:
IsRelateToEffect
(
e
)
then
exc
=
nil
end
local
sg
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
exc
)
local
ct
=
Duel
.
Destroy
(
sg
,
REASON_EFFECT
,
LOCATION_REMOVED
)
local
ct
=
Duel
.
Destroy
(
sg
,
REASON_EFFECT
,
LOCATION_REMOVED
)
if
ct
>
0
and
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
then
if
ct
>
0
and
c
:
IsFaceup
()
and
exc
~=
nil
then
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
...
...
c68299524.lua
View file @
6c91b505
...
@@ -50,11 +50,14 @@ function c68299524.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -50,11 +50,14 @@ function c68299524.cost(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
SetLabel
(
cost
)
e
:
SetLabel
(
cost
)
end
end
function
c68299524
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c68299524
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
c68299524
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
e
:
GetHandler
())
local
c
=
e
:
GetHandler
()
local
exc
=
c
if
not
exc
:
IsRelateToEffect
(
e
)
then
exc
=
nil
end
local
g
=
Duel
.
GetMatchingGroup
(
c68299524
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
exc
)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
local
val
=
e
:
GetLabel
()
local
val
=
e
:
GetLabel
()
while
tc
do
while
tc
do
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
()
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetValue
(
-
val
)
e1
:
SetValue
(
-
val
)
...
...
c68396121.lua
View file @
6c91b505
...
@@ -33,7 +33,9 @@ function c68396121.filter(c)
...
@@ -33,7 +33,9 @@ function c68396121.filter(c)
end
end
function
c68396121
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c68396121
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
g
=
Duel
.
GetMatchingGroup
(
c68396121
.
filter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
c
)
local
exc
=
c
if
not
exc
:
IsRelateToEffect
(
e
)
then
exc
=
nil
end
local
g
=
Duel
.
GetMatchingGroup
(
c68396121
.
filter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
exc
)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
while
tc
do
while
tc
do
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
c698785.lua
View file @
6c91b505
...
@@ -25,6 +25,8 @@ function c698785.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -25,6 +25,8 @@ function c698785.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
end
end
function
c698785
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c698785
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
e
:
GetHandler
())
local
exc
=
e
:
GetHandler
()
if
not
exc
:
IsRelateToEffect
(
e
)
then
exc
=
nil
end
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
exc
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
end
c71525232.lua
View file @
6c91b505
...
@@ -41,7 +41,9 @@ function c71525232.filter(c)
...
@@ -41,7 +41,9 @@ function c71525232.filter(c)
end
end
function
c71525232
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c71525232
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
c
)
local
exc
=
c
if
not
exc
:
IsRelateToEffect
(
e
)
then
exc
=
nil
end
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
exc
)
if
g
:
GetCount
()
>
0
and
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
~=
0
then
if
g
:
GetCount
()
>
0
and
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
~=
0
then
local
og
=
Duel
.
GetOperatedGroup
()
local
og
=
Duel
.
GetOperatedGroup
()
local
mg
,
atk
=
og
:
GetMaxGroup
(
c71525232
.
filter
)
local
mg
,
atk
=
og
:
GetMaxGroup
(
c71525232
.
filter
)
...
...
c74530899.lua
View file @
6c91b505
...
@@ -74,7 +74,9 @@ function c74530899.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -74,7 +74,9 @@ function c74530899.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
1
-
tp
,
g
:
GetCount
()
*
300
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
1
-
tp
,
g
:
GetCount
()
*
300
)
end
end
function
c74530899
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c74530899
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToHand
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
e
:
GetHandler
())
local
exc
=
e
:
GetHandler
()
if
not
exc
:
IsRelateToEffect
(
e
)
then
exc
=
nil
end
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToHand
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
exc
)
if
g
:
GetCount
()
==
0
then
return
end
if
g
:
GetCount
()
==
0
then
return
end
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
local
og
=
Duel
.
GetOperatedGroup
()
local
og
=
Duel
.
GetOperatedGroup
()
...
...
c75433814.lua
View file @
6c91b505
...
@@ -34,7 +34,9 @@ function c75433814.cttg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -34,7 +34,9 @@ function c75433814.cttg(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
e
:
GetHandler
())
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
e
:
GetHandler
())
end
end
end
function
c75433814
.
ctop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c75433814
.
ctop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
e
:
GetHandler
())
local
exc
=
e
:
GetHandler
()
if
not
exc
:
IsRelateToEffect
(
e
)
then
exc
=
nil
end
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
exc
)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
while
tc
do
while
tc
do
tc
:
AddCounter
(
0x1024
,
1
)
tc
:
AddCounter
(
0x1024
,
1
)
...
...
c77336644.lua
View file @
6c91b505
...
@@ -39,7 +39,9 @@ function c77336644.destg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -39,7 +39,9 @@ function c77336644.destg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
end
end
function
c77336644
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c77336644
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
e
:
GetHandler
())
local
exc
=
e
:
GetHandler
()
if
not
exc
:
IsRelateToEffect
(
e
)
then
exc
=
nil
end
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
exc
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
end
function
c77336644
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c77336644
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c77428945.lua
View file @
6c91b505
...
@@ -20,6 +20,8 @@ function c77428945.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -20,6 +20,8 @@ function c77428945.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_POSITION
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_POSITION
,
g
,
g
:
GetCount
(),
0
,
0
)
end
end
function
c77428945
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c77428945
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
c77428945
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
e
:
GetHandler
())
local
exc
=
e
:
GetHandler
()
if
not
exc
:
IsRelateToEffect
(
e
)
then
exc
=
nil
end
local
g
=
Duel
.
GetMatchingGroup
(
c77428945
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
exc
)
Duel
.
ChangePosition
(
g
,
POS_FACEDOWN_DEFENSE
)
Duel
.
ChangePosition
(
g
,
POS_FACEDOWN_DEFENSE
)
end
end
c82308875.lua
View file @
6c91b505
...
@@ -51,7 +51,9 @@ function c82308875.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -51,7 +51,9 @@ function c82308875.operation(e,tp,eg,ep,ev,re,r,rp)
elseif
not
b1
and
b2
and
b3
then
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
82308875
,
2
),
aux
.
Stringid
(
82308875
,
3
))
+
1
elseif
not
b1
and
b2
and
b3
then
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
82308875
,
2
),
aux
.
Stringid
(
82308875
,
3
))
+
1
else
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
82308875
,
1
),
aux
.
Stringid
(
82308875
,
2
),
aux
.
Stringid
(
82308875
,
3
))
end
else
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
82308875
,
1
),
aux
.
Stringid
(
82308875
,
2
),
aux
.
Stringid
(
82308875
,
3
))
end
if
op
==
0
then
if
op
==
0
then
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
e
:
GetHandler
())
local
exc
=
c
if
not
exc
:
IsRelateToEffect
(
e
)
then
exc
=
nil
end
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
exc
)
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
elseif
op
==
1
then
elseif
op
==
1
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
...
...
c82697249.lua
View file @
6c91b505
...
@@ -46,7 +46,9 @@ function c82697249.ctfilter(c)
...
@@ -46,7 +46,9 @@ function c82697249.ctfilter(c)
end
end
function
c82697249
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c82697249
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
0
,
c
)
local
exc
=
e
:
GetHandler
()
if
not
exc
:
IsRelateToEffect
(
e
)
then
exc
=
nil
end
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
0
,
exc
)
if
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
~=
0
then
if
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
~=
0
then
local
ct
=
Duel
.
GetOperatedGroup
():
FilterCount
(
c82697249
.
ctfilter
,
nil
)
local
ct
=
Duel
.
GetOperatedGroup
():
FilterCount
(
c82697249
.
ctfilter
,
nil
)
if
ct
>
0
and
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
then
if
ct
>
0
and
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
then
...
...
c84417082.lua
View file @
6c91b505
...
@@ -41,7 +41,9 @@ function c84417082.target1(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -41,7 +41,9 @@ function c84417082.target1(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
end
end
function
c84417082
.
operation1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c84417082
.
operation1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
c84417082
.
filter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
e
:
GetHandler
())
local
exc
=
e
:
GetHandler
()
if
not
exc
:
IsRelateToEffect
(
e
)
then
exc
=
nil
end
local
g
=
Duel
.
GetMatchingGroup
(
c84417082
.
filter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
exc
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
end
function
c84417082
.
cost2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c84417082
.
cost2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
c84488827.lua
View file @
6c91b505
...
@@ -54,7 +54,9 @@ function c84488827.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -54,7 +54,9 @@ function c84488827.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c84488827
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c84488827
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetLabel
()
==
1
then
if
e
:
GetLabel
()
==
1
then
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
e
:
GetHandler
())
local
exc
=
e
:
GetHandler
()
if
not
exc
:
IsRelateToEffect
(
e
)
then
exc
=
nil
end
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
exc
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
elseif
e
:
GetLabel
()
==
2
then
elseif
e
:
GetLabel
()
==
2
then
local
g
=
Duel
.
GetMatchingGroup
(
c84488827
.
sfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
c84488827
.
sfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
)
...
...
c86099788.lua
View file @
6c91b505
...
@@ -33,6 +33,8 @@ function c86099788.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -33,6 +33,8 @@ function c86099788.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
end
end
function
c86099788
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c86099788
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_MZONE
,
0
,
e
:
GetHandler
())
local
exc
=
e
:
GetHandler
()
if
not
exc
:
IsRelateToEffect
(
e
)
then
exc
=
nil
end
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_MZONE
,
0
,
exc
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
end
c88177324.lua
View file @
6c91b505
...
@@ -49,7 +49,9 @@ function c88177324.negtg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -49,7 +49,9 @@ function c88177324.negtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c88177324
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c88177324
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
g
=
Duel
.
GetMatchingGroup
(
c88177324
.
filter3
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
c
)
local
exc
=
c
if
not
exc
:
IsRelateToEffect
(
e
)
then
exc
=
nil
end
local
g
=
Duel
.
GetMatchingGroup
(
c88177324
.
filter3
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
exc
)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
while
tc
do
while
tc
do
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
@@ -64,7 +66,7 @@ function c88177324.negop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -64,7 +66,7 @@ function c88177324.negop(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterEffect
(
e2
)
tc
:
RegisterEffect
(
e2
)
tc
=
g
:
GetNext
()
tc
=
g
:
GetNext
()
end
end
g
=
Duel
.
GetMatchingGroup
(
c88177324
.
filter2
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
c
)
g
=
Duel
.
GetMatchingGroup
(
c88177324
.
filter2
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
ex
c
)
tc
=
g
:
GetFirst
()
tc
=
g
:
GetFirst
()
while
tc
do
while
tc
do
if
tc
:
GetAttack
()
~=
tc
:
GetBaseAttack
()
then
if
tc
:
GetAttack
()
~=
tc
:
GetBaseAttack
()
then
...
...
c89111398.lua
View file @
6c91b505
...
@@ -31,8 +31,8 @@ function c89111398.destg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -31,8 +31,8 @@ function c89111398.destg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
end
end
function
c89111398
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c89111398
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
c89111398
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
e
:
GetHandler
())
local
exc
=
e
:
GetHandler
()
if
g
:
GetCount
()
>
0
then
if
not
exc
:
IsRelateToEffect
(
e
)
then
exc
=
nil
end
local
g
=
Duel
.
GetMatchingGroup
(
c89111398
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
exc
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
end
end
c92970404.lua
View file @
6c91b505
...
@@ -37,10 +37,10 @@ function c92970404.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -37,10 +37,10 @@ function c92970404.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_POSITION
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_POSITION
,
g
,
g
:
GetCount
(),
0
,
0
)
end
end
function
c92970404
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c92970404
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsCanTurnSet
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
e
:
GetHandler
())
local
exc
=
e
:
GetHandler
()
if
g
:
GetCount
()
>
0
then
if
not
exc
:
IsRelateToEffect
(
e
)
then
exc
=
nil
end
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsCanTurnSet
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
exc
)
Duel
.
ChangePosition
(
g
,
POS_FACEDOWN_DEFENSE
)
Duel
.
ChangePosition
(
g
,
POS_FACEDOWN_DEFENSE
)
end
end
end
function
c92970404
.
cfilter
(
c
,
tp
)
function
c92970404
.
cfilter
(
c
,
tp
)
return
c
:
IsPreviousPosition
(
POS_FACEUP
)
and
c
:
IsFacedown
()
and
c
:
IsControler
(
tp
)
return
c
:
IsPreviousPosition
(
POS_FACEUP
)
and
c
:
IsFacedown
()
and
c
:
IsControler
(
tp
)
...
...
c94092230.lua
View file @
6c91b505
...
@@ -59,6 +59,8 @@ function c94092230.destg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -59,6 +59,8 @@ function c94092230.destg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
end
end
function
c94092230
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c94092230
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
e
:
GetHandler
())
local
exc
=
e
:
GetHandler
()
if
not
exc
:
IsRelateToEffect
(
e
)
then
exc
=
nil
end
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
exc
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
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