Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
5
Merge Requests
5
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
MyCard
ygopro-scripts-888
Commits
c96a7604
Commit
c96a7604
authored
Dec 29, 2016
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
for Duel.NegateActivation
parent
5bb5485e
Changes
181
Show whitespace changes
Inline
Side-by-side
Showing
181 changed files
with
191 additions
and
363 deletions
+191
-363
c10069180.lua
c10069180.lua
+1
-2
c10443957.lua
c10443957.lua
+1
-2
c10651797.lua
c10651797.lua
+1
-2
c11819616.lua
c11819616.lua
+1
-2
c12298909.lua
c12298909.lua
+1
-2
c12408276.lua
c12408276.lua
+1
-2
c1287123.lua
c1287123.lua
+1
-2
c13026402.lua
c13026402.lua
+1
-2
c14152862.lua
c14152862.lua
+1
-2
c14799437.lua
c14799437.lua
+1
-2
c15180041.lua
c15180041.lua
+1
-2
c16172067.lua
c16172067.lua
+1
-2
c16940215.lua
c16940215.lua
+1
-2
c1697104.lua
c1697104.lua
+1
-2
c17266660.lua
c17266660.lua
+1
-2
c19252988.lua
c19252988.lua
+1
-2
c19502505.lua
c19502505.lua
+3
-1
c20140382.lua
c20140382.lua
+1
-2
c20374351.lua
c20374351.lua
+1
-2
c21074344.lua
c21074344.lua
+1
-2
c22747316.lua
c22747316.lua
+1
-2
c23440231.lua
c23440231.lua
+1
-2
c2371506.lua
c2371506.lua
+1
-2
c24838456.lua
c24838456.lua
+1
-2
c2572890.lua
c2572890.lua
+1
-2
c26084285.lua
c26084285.lua
+1
-2
c26834022.lua
c26834022.lua
+1
-2
c27346636.lua
c27346636.lua
+1
-2
c27978707.lua
c27978707.lua
+1
-2
c2924048.lua
c2924048.lua
+1
-2
c2926176.lua
c2926176.lua
+1
-2
c2956282.lua
c2956282.lua
+1
-2
c29587993.lua
c29587993.lua
+1
-2
c29735721.lua
c29735721.lua
+1
-2
c29934351.lua
c29934351.lua
+1
-2
c29981921.lua
c29981921.lua
+1
-2
c3064425.lua
c3064425.lua
+1
-2
c3149764.lua
c3149764.lua
+1
-2
c33198837.lua
c33198837.lua
+1
-2
c34079868.lua
c34079868.lua
+1
-2
c34487429.lua
c34487429.lua
+1
-2
c34507039.lua
c34507039.lua
+1
-2
c34545235.lua
c34545235.lua
+1
-2
c34717238.lua
c34717238.lua
+1
-2
c35011819.lua
c35011819.lua
+1
-1
c35561352.lua
c35561352.lua
+1
-2
c35952884.lua
c35952884.lua
+1
-2
c37241623.lua
c37241623.lua
+1
-2
c3790062.lua
c3790062.lua
+3
-2
c3819470.lua
c3819470.lua
+1
-2
c38275183.lua
c38275183.lua
+1
-2
c38491199.lua
c38491199.lua
+1
-2
c38814750.lua
c38814750.lua
+1
-2
c39276790.lua
c39276790.lua
+1
-2
c39711336.lua
c39711336.lua
+1
-2
c40605147.lua
c40605147.lua
+1
-2
c41175645.lua
c41175645.lua
+1
-2
c41420027.lua
c41420027.lua
+1
-2
c41458579.lua
c41458579.lua
+1
-2
c42309337.lua
c42309337.lua
+1
-2
c42752141.lua
c42752141.lua
+1
-2
c43932460.lua
c43932460.lua
+1
-2
c44487250.lua
c44487250.lua
+1
-2
c44508094.lua
c44508094.lua
+1
-2
c44665365.lua
c44665365.lua
+1
-2
c45037489.lua
c45037489.lua
+1
-2
c45041488.lua
c45041488.lua
+1
-2
c46031686.lua
c46031686.lua
+1
-2
c4628897.lua
c4628897.lua
+1
-2
c46848859.lua
c46848859.lua
+1
-2
c4722253.lua
c4722253.lua
+1
-2
c47360060.lua
c47360060.lua
+1
-2
c48229808.lua
c48229808.lua
+1
-2
c48546368.lua
c48546368.lua
+1
-2
c49010598.lua
c49010598.lua
+1
-2
c49680980.lua
c49680980.lua
+1
-2
c50954680.lua
c50954680.lua
+1
-2
c51543904.lua
c51543904.lua
+1
-2
c51852507.lua
c51852507.lua
+1
-2
c52068432.lua
c52068432.lua
+1
-2
c52228131.lua
c52228131.lua
+1
-2
c53112492.lua
c53112492.lua
+1
-2
c53262004.lua
c53262004.lua
+1
-2
c54903668.lua
c54903668.lua
+1
-2
c55063751.lua
c55063751.lua
+1
-2
c55117418.lua
c55117418.lua
+1
-2
c55256016.lua
c55256016.lua
+1
-2
c5562461.lua
c5562461.lua
+1
-2
c56058888.lua
c56058888.lua
+1
-2
c56532353.lua
c56532353.lua
+1
-2
c56532632.lua
c56532632.lua
+1
-2
c56655675.lua
c56655675.lua
+1
-2
c57355219.lua
c57355219.lua
+1
-2
c57831349.lua
c57831349.lua
+1
-2
c58851034.lua
c58851034.lua
+1
-2
c59344077.lua
c59344077.lua
+1
-2
c59718521.lua
c59718521.lua
+1
-2
c59905358.lua
c59905358.lua
+1
-2
c59957503.lua
c59957503.lua
+1
-2
c60718396.lua
c60718396.lua
+1
-2
c61257789.lua
c61257789.lua
+1
-2
c6137095.lua
c6137095.lua
+1
-2
c6260554.lua
c6260554.lua
+1
-2
c65240384.lua
c65240384.lua
+1
-2
c65703851.lua
c65703851.lua
+1
-2
c66547759.lua
c66547759.lua
+1
-2
c66816282.lua
c66816282.lua
+1
-2
c66994718.lua
c66994718.lua
+1
-2
c67098114.lua
c67098114.lua
+1
-2
c67688478.lua
c67688478.lua
+1
-2
c68140974.lua
c68140974.lua
+1
-2
c68456353.lua
c68456353.lua
+1
-2
c68819554.lua
c68819554.lua
+1
-2
c69279219.lua
c69279219.lua
+1
-2
c69488544.lua
c69488544.lua
+1
-2
c69632396.lua
c69632396.lua
+1
-2
c70344351.lua
c70344351.lua
+1
-2
c70780151.lua
c70780151.lua
+1
-2
c71060915.lua
c71060915.lua
+1
-2
c71466592.lua
c71466592.lua
+1
-2
c72648810.lua
c72648810.lua
+1
-2
c73026394.lua
c73026394.lua
+1
-2
c74203495.lua
c74203495.lua
+1
-2
c74294676.lua
c74294676.lua
+1
-2
c74416026.lua
c74416026.lua
+1
-2
c74593218.lua
c74593218.lua
+1
-2
c7478431.lua
c7478431.lua
+1
-2
c74822425.lua
c74822425.lua
+1
-2
c75286621.lua
c75286621.lua
+1
-2
c75487237.lua
c75487237.lua
+1
-2
c75833426.lua
c75833426.lua
+1
-2
c76214441.lua
c76214441.lua
+1
-2
c76407432.lua
c76407432.lua
+1
-2
c77229910.lua
c77229910.lua
+1
-2
c77414722.lua
c77414722.lua
+1
-2
c77538567.lua
c77538567.lua
+1
-2
c78316184.lua
c78316184.lua
+1
-2
c7841112.lua
c7841112.lua
+1
-2
c79606837.lua
c79606837.lua
+1
-2
c79649195.lua
c79649195.lua
+1
-2
c79759367.lua
c79759367.lua
+1
-2
c799183.lua
c799183.lua
+1
-2
c8038143.lua
c8038143.lua
+1
-2
c80678380.lua
c80678380.lua
+1
-2
c81020646.lua
c81020646.lua
+1
-2
c81066751.lua
c81066751.lua
+1
-2
c81601517.lua
c81601517.lua
+1
-2
c82044279.lua
c82044279.lua
+2
-4
c82382815.lua
c82382815.lua
+1
-2
c82419869.lua
c82419869.lua
+1
-2
c82744076.lua
c82744076.lua
+1
-2
c8316565.lua
c8316565.lua
+1
-2
c84442536.lua
c84442536.lua
+1
-2
c84749824.lua
c84749824.lua
+1
-2
c85854214.lua
c85854214.lua
+1
-2
c85991529.lua
c85991529.lua
+1
-2
c86474024.lua
c86474024.lua
+1
-2
c86690572.lua
c86690572.lua
+1
-2
c87313164.lua
c87313164.lua
+1
-2
c87460579.lua
c87460579.lua
+1
-2
c88307361.lua
c88307361.lua
+1
-2
c88619463.lua
c88619463.lua
+1
-2
c88928798.lua
c88928798.lua
+1
-2
c88989706.lua
c88989706.lua
+1
-2
c89563150.lua
c89563150.lua
+6
-3
c90434657.lua
c90434657.lua
+1
-2
c90555947.lua
c90555947.lua
+1
-2
c9059700.lua
c9059700.lua
+1
-2
c91078716.lua
c91078716.lua
+1
-2
c92512625.lua
c92512625.lua
+1
-2
c9272381.lua
c9272381.lua
+1
-2
c93157004.lua
c93157004.lua
+1
-2
c93396832.lua
c93396832.lua
+1
-2
c94662235.lua
c94662235.lua
+1
-2
c94689635.lua
c94689635.lua
+1
-2
c96216229.lua
c96216229.lua
+1
-2
c98502113.lua
c98502113.lua
+1
-2
c98956134.lua
c98956134.lua
+1
-2
c99188141.lua
c99188141.lua
+1
-2
c99902789.lua
c99902789.lua
+1
-2
c99916754.lua
c99916754.lua
+1
-2
No files found.
c10069180.lua
View file @
c96a7604
...
...
@@ -21,8 +21,7 @@ function c10069180.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c10069180
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c10443957.lua
View file @
c96a7604
...
...
@@ -84,8 +84,7 @@ function c10443957.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c10443957
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c10651797.lua
View file @
c96a7604
...
...
@@ -21,8 +21,7 @@ function c10651797.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c10651797
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c11819616.lua
View file @
c96a7604
...
...
@@ -36,8 +36,7 @@ function c11819616.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c11819616
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c12298909.lua
View file @
c96a7604
...
...
@@ -46,8 +46,7 @@ function c12298909.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c12298909
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c12408276.lua
View file @
c96a7604
...
...
@@ -63,8 +63,7 @@ function c12408276.negtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c12408276
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c1287123.lua
View file @
c96a7604
...
...
@@ -35,8 +35,7 @@ function c1287123.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c1287123
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c13026402.lua
View file @
c96a7604
...
...
@@ -29,8 +29,7 @@ function c13026402.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c13026402
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c14152862.lua
View file @
c96a7604
...
...
@@ -34,8 +34,7 @@ function c14152862.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c14152862
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c14799437.lua
View file @
c96a7604
...
...
@@ -123,8 +123,7 @@ function c14799437.negtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c14799437
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Remove
(
eg
,
POS_FACEUP
,
REASON_EFFECT
)
end
end
c15180041.lua
View file @
c96a7604
...
...
@@ -79,8 +79,7 @@ function c15180041.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_NEGATE
,
eg
,
1
,
0
,
0
)
end
function
c15180041
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
SendtoGrave
(
eg
,
REASON_EFFECT
)
end
end
...
...
c16172067.lua
View file @
c96a7604
...
...
@@ -253,8 +253,7 @@ function c16172067.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c16172067
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
if
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsFacedown
()
then
return
end
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
c16940215.lua
View file @
c96a7604
...
...
@@ -35,8 +35,7 @@ function c16940215.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c16940215
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c1697104.lua
View file @
c96a7604
...
...
@@ -68,8 +68,7 @@ function c1697104.operation(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetCondition
(
c1697104
.
rmcon
)
e1
:
SetOperation
(
c1697104
.
rmop
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
...
...
c17266660.lua
View file @
c96a7604
...
...
@@ -37,8 +37,7 @@ function c17266660.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c17266660
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c19252988.lua
View file @
c96a7604
...
...
@@ -23,8 +23,7 @@ function c19252988.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c19252988
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c19502505.lua
View file @
c96a7604
...
...
@@ -61,7 +61,9 @@ function c19502505.negtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_NEGATE
,
eg
,
1
,
0
,
0
)
end
function
c19502505
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
Duel
.
NegateActivation
(
ev
)
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
SendtoGrave
(
eg
,
REASON_EFFECT
)
end
end
function
c19502505
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
c20140382.lua
View file @
c96a7604
...
...
@@ -26,8 +26,7 @@ function c20140382.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c20140382
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c20374351.lua
View file @
c96a7604
...
...
@@ -63,8 +63,7 @@ function c20374351.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c20374351
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c21074344.lua
View file @
c96a7604
...
...
@@ -38,8 +38,7 @@ function c21074344.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c21074344
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c22747316.lua
View file @
c96a7604
...
...
@@ -26,8 +26,7 @@ function c22747316.filter(c,code)
end
function
c22747316
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
code
=
re
:
GetHandler
():
GetCode
()
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
NecroValleyFilter
(
c22747316
.
filter
),
tp
,
LOCATION_GRAVE
,
0
,
nil
,
code
)
...
...
c23440231.lua
View file @
c96a7604
...
...
@@ -124,8 +124,7 @@ function c23440231.negtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c23440231
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Remove
(
eg
,
POS_FACEUP
,
REASON_EFFECT
)
end
end
c2371506.lua
View file @
c96a7604
...
...
@@ -28,8 +28,7 @@ function c2371506.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
1
-
tp
,
800
)
end
function
c2371506
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
Duel
.
BreakEffect
()
...
...
c24838456.lua
View file @
c96a7604
...
...
@@ -37,10 +37,9 @@ end
function
c24838456
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
dg
=
Group
.
CreateGroup
()
for
i
=
1
,
ev
do
Duel
.
NegateActivation
(
i
)
local
te
=
Duel
.
GetChainInfo
(
i
,
CHAININFO_TRIGGERING_EFFECT
)
local
tc
=
te
:
GetHandler
()
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
te
)
then
if
Duel
.
NegateActivation
(
i
)
and
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
te
)
then
dg
:
AddCard
(
tc
)
end
end
...
...
c2572890.lua
View file @
c96a7604
...
...
@@ -54,8 +54,7 @@ function c2572890.target2(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c2572890
.
activate2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c26084285.lua
View file @
c96a7604
...
...
@@ -32,8 +32,7 @@ function c26084285.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c26084285
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c26834022.lua
View file @
c96a7604
...
...
@@ -29,8 +29,7 @@ function c26834022.activate(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
==
0
then
return
end
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_EFFECT
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c27346636.lua
View file @
c96a7604
...
...
@@ -81,8 +81,7 @@ end
function
c27346636
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsFaceup
()
or
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c27978707.lua
View file @
c96a7604
...
...
@@ -66,8 +66,7 @@ function c27978707.negtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c27978707
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c2924048.lua
View file @
c96a7604
...
...
@@ -25,8 +25,7 @@ function c2924048.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c2924048
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c2926176.lua
View file @
c96a7604
...
...
@@ -26,8 +26,7 @@ function c2926176.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c2926176
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c2956282.lua
View file @
c96a7604
...
...
@@ -40,8 +40,7 @@ end
function
c2956282
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsFaceup
()
or
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c29587993.lua
View file @
c96a7604
...
...
@@ -36,8 +36,7 @@ function c29587993.disop(e,tp,eg,ep,ev,re,r,rp)
if
tc
:
IsFacedown
()
or
not
tc
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
if
not
tc
:
IsLocation
(
LOCATION_HAND
)
then
return
end
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c29735721.lua
View file @
c96a7604
...
...
@@ -27,8 +27,7 @@ function c29735721.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c29735721
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
Duel
.
BreakEffect
()
...
...
c29934351.lua
View file @
c96a7604
...
...
@@ -25,8 +25,7 @@ function c29934351.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c29934351
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c29981921.lua
View file @
c96a7604
...
...
@@ -38,8 +38,7 @@ function c29981921.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c29981921
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
...
...
c3064425.lua
View file @
c96a7604
...
...
@@ -80,8 +80,7 @@ function c3064425.negtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
PLAYER_ALL
,
1000
)
end
function
c3064425
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
and
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
~=
0
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
and
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
~=
0
then
Duel
.
BreakEffect
()
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
if
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
==
0
then
return
end
...
...
c3149764.lua
View file @
c96a7604
...
...
@@ -27,8 +27,7 @@ function c3149764.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c3149764
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c33198837.lua
View file @
c96a7604
...
...
@@ -38,8 +38,7 @@ end
function
c33198837
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsFaceup
()
or
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c34079868.lua
View file @
c96a7604
...
...
@@ -71,8 +71,7 @@ function c34079868.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c34079868
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
...
...
c34487429.lua
View file @
c96a7604
...
...
@@ -87,8 +87,7 @@ function c34487429.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c34487429
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
Duel
.
IsExistingMatchingCard
(
c34487429
.
filter1
,
tp
,
LOCATION_SZONE
,
0
,
3
,
nil
)
then
return
end
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
...
...
c34507039.lua
View file @
c96a7604
...
...
@@ -22,8 +22,7 @@ function c34507039.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c34507039
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ec
=
re
:
GetHandler
()
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
ec
:
CancelToGrave
()
Duel
.
SendtoDeck
(
ec
,
nil
,
2
,
REASON_EFFECT
)
end
...
...
c34545235.lua
View file @
c96a7604
...
...
@@ -32,8 +32,7 @@ function c34545235.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c34545235
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c34717238.lua
View file @
c96a7604
...
...
@@ -21,8 +21,7 @@ function c34717238.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c34717238
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c35011819.lua
View file @
c96a7604
...
...
@@ -58,7 +58,7 @@ function c35011819.target2(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c35011819
.
activate2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
Duel
.
NegateActivation
(
ev
)
if
not
Duel
.
NegateActivation
(
ev
)
then
return
end
local
p
,
d
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
,
CHAININFO_TARGET_PARAM
)
Duel
.
Draw
(
p
,
d
,
REASON_EFFECT
)
end
c35561352.lua
View file @
c96a7604
...
...
@@ -31,8 +31,7 @@ function c35561352.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c35561352
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c35952884.lua
View file @
c96a7604
...
...
@@ -86,8 +86,7 @@ function c35952884.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c35952884
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
...
...
c37241623.lua
View file @
c96a7604
...
...
@@ -37,8 +37,7 @@ function c37241623.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c37241623
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
re
:
GetHandler
(),
REASON_EFFECT
)
end
end
c3790062.lua
View file @
c96a7604
...
...
@@ -32,6 +32,7 @@ function c3790062.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
1
-
tp
,
500
)
end
function
c3790062
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
Duel
.
NegateActivation
(
ev
)
then
Duel
.
Damage
(
1
-
tp
,
500
,
REASON_EFFECT
)
end
end
c3819470.lua
View file @
c96a7604
...
...
@@ -26,8 +26,7 @@ function c3819470.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c3819470
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c38275183.lua
View file @
c96a7604
...
...
@@ -46,8 +46,7 @@ function c38275183.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c38275183
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c38491199.lua
View file @
c96a7604
...
...
@@ -29,8 +29,7 @@ function c38491199.negtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c38491199
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c38814750.lua
View file @
c96a7604
...
...
@@ -67,8 +67,7 @@ function c38814750.operation(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetCondition
(
c38814750
.
rmcon
)
e1
:
SetOperation
(
c38814750
.
rmop
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
...
...
c39276790.lua
View file @
c96a7604
...
...
@@ -24,8 +24,7 @@ function c39276790.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c39276790
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c39711336.lua
View file @
c96a7604
...
...
@@ -65,8 +65,7 @@ function c39711336.discon(e,tp,eg,ep,ev,re,r,rp)
return
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
Duel
.
IsChainNegatable
(
ev
)
end
function
c39711336
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
re
:
GetHandler
(),
REASON_EFFECT
)
end
end
c40605147.lua
View file @
c96a7604
...
...
@@ -36,8 +36,7 @@ function c40605147.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c40605147
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
...
...
c41175645.lua
View file @
c96a7604
...
...
@@ -70,8 +70,7 @@ function c41175645.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_NEGATE
,
eg
,
1
,
0
,
0
)
end
function
c41175645
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
SendtoGrave
(
eg
,
REASON_EFFECT
)
end
end
...
...
c41420027.lua
View file @
c96a7604
...
...
@@ -58,8 +58,7 @@ function c41420027.target2(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c41420027
.
activate2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c41458579.lua
View file @
c96a7604
...
...
@@ -29,8 +29,7 @@ function c41458579.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c41458579
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c42309337.lua
View file @
c96a7604
...
...
@@ -21,8 +21,7 @@ function c42309337.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c42309337
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c42752141.lua
View file @
c96a7604
...
...
@@ -33,8 +33,7 @@ function c42752141.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c42752141
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c43932460.lua
View file @
c96a7604
...
...
@@ -43,8 +43,7 @@ end
function
c43932460
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsFaceup
()
or
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c44487250.lua
View file @
c96a7604
...
...
@@ -26,8 +26,7 @@ function c44487250.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c44487250
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c44508094.lua
View file @
c96a7604
...
...
@@ -47,8 +47,7 @@ function c44508094.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c44508094
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
e
:
GetHandler
():
RegisterFlagEffect
(
44508094
,
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
,
0
,
0
)
...
...
c44665365.lua
View file @
c96a7604
...
...
@@ -37,8 +37,7 @@ function c44665365.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c44665365
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c45037489.lua
View file @
c96a7604
...
...
@@ -35,8 +35,7 @@ end
function
c45037489
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsFaceup
()
or
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c45041488.lua
View file @
c96a7604
...
...
@@ -80,8 +80,7 @@ function c45041488.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c45041488
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c46031686.lua
View file @
c96a7604
...
...
@@ -20,8 +20,7 @@ function c46031686.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
PLAYER_ALL
,
1
)
end
function
c46031686
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
SendtoGrave
(
eg
,
REASON_EFFECT
)
end
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
...
...
c4628897.lua
View file @
c96a7604
...
...
@@ -48,8 +48,7 @@ function c4628897.negtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c4628897
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
...
...
c46848859.lua
View file @
c96a7604
...
...
@@ -42,8 +42,7 @@ function c46848859.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c46848859
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c4722253.lua
View file @
c96a7604
...
...
@@ -66,8 +66,7 @@ end
function
c4722253
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
IsExistingMatchingCard
(
c4722253
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
or
not
Duel
.
IsExistingMatchingCard
(
c4722253
.
cfilter3
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
then
return
end
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c47360060.lua
View file @
c96a7604
...
...
@@ -30,8 +30,7 @@ function c47360060.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c47360060
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c48229808.lua
View file @
c96a7604
...
...
@@ -39,8 +39,7 @@ end
function
c48229808
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsFacedown
()
or
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c48546368.lua
View file @
c96a7604
...
...
@@ -54,8 +54,7 @@ function c48546368.negtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c48546368
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
...
...
c49010598.lua
View file @
c96a7604
...
...
@@ -27,8 +27,7 @@ function c49010598.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c49010598
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c49680980.lua
View file @
c96a7604
...
...
@@ -80,8 +80,7 @@ function c49680980.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c49680980
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c50954680.lua
View file @
c96a7604
...
...
@@ -38,10 +38,9 @@ function c50954680.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c50954680
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
local
c
=
e
:
GetHandler
()
local
rc
=
re
:
GetHandler
()
if
rc
:
IsRelateToEffect
(
re
)
and
Duel
.
Destroy
(
rc
,
REASON_EFFECT
)
~=
0
and
rc
:
GetBaseAttack
()
>=
0
if
Duel
.
NegateActivation
(
ev
)
and
rc
:
IsRelateToEffect
(
re
)
and
Duel
.
Destroy
(
rc
,
REASON_EFFECT
)
~=
0
and
rc
:
GetBaseAttack
()
>=
0
and
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
c51543904.lua
View file @
c96a7604
...
...
@@ -86,8 +86,7 @@ function c51543904.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c51543904
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c51852507.lua
View file @
c96a7604
...
...
@@ -33,8 +33,7 @@ function c51852507.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c51852507
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c52068432.lua
View file @
c96a7604
...
...
@@ -54,8 +54,7 @@ function c52068432.negtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_NEGATE
,
eg
,
1
,
0
,
0
)
end
function
c52068432
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
SendtoGrave
(
eg
,
REASON_EFFECT
)
end
end
...
...
c52228131.lua
View file @
c96a7604
...
...
@@ -29,8 +29,7 @@ function c52228131.activate(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
==
0
then
return
end
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_EFFECT
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c53112492.lua
View file @
c96a7604
...
...
@@ -26,8 +26,7 @@ function c53112492.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c53112492
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c53262004.lua
View file @
c96a7604
...
...
@@ -61,8 +61,7 @@ function c53262004.disop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c53262004
.
disfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
)
if
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_EFFECT
)
~=
0
then
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
...
...
c54903668.lua
View file @
c96a7604
...
...
@@ -29,8 +29,7 @@ function c54903668.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c54903668
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c55063751.lua
View file @
c96a7604
...
...
@@ -69,8 +69,7 @@ function c55063751.negtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c55063751
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Remove
(
eg
,
POS_FACEUP
,
REASON_EFFECT
)
end
end
c55117418.lua
View file @
c96a7604
...
...
@@ -26,8 +26,7 @@ function c55117418.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c55117418
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c55256016.lua
View file @
c96a7604
...
...
@@ -36,8 +36,7 @@ function c55256016.desfilter(c)
return
c
:
IsFaceup
()
end
function
c55256016
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
local
dg
=
Duel
.
GetMatchingGroup
(
c55256016
.
desfilter
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
...
...
c5562461.lua
View file @
c96a7604
...
...
@@ -27,8 +27,7 @@ function c5562461.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c5562461
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c56058888.lua
View file @
c96a7604
...
...
@@ -21,8 +21,7 @@ function c56058888.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c56058888
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c56532353.lua
View file @
c96a7604
...
...
@@ -64,8 +64,7 @@ function c56532353.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c56532353
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c56532632.lua
View file @
c96a7604
...
...
@@ -23,8 +23,7 @@ function c56532632.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c56532632
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c56655675.lua
View file @
c96a7604
...
...
@@ -101,8 +101,7 @@ function c56655675.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c56655675
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c57355219.lua
View file @
c96a7604
...
...
@@ -65,8 +65,7 @@ function c57355219.target2(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c57355219
.
activate2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
local
tc
=
e
:
GetLabelObject
()
...
...
c57831349.lua
View file @
c96a7604
...
...
@@ -29,8 +29,7 @@ function c57831349.desfilter(c)
end
function
c57831349
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ec
=
re
:
GetHandler
()
Duel
.
NegateActivation
(
ev
)
if
ec
:
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
ec
:
IsRelateToEffect
(
re
)
then
ec
:
CancelToGrave
()
if
Duel
.
SendtoDeck
(
ec
,
nil
,
2
,
REASON_EFFECT
)
~=
0
and
ec
:
IsLocation
(
LOCATION_DECK
+
LOCATION_EXTRA
)
then
local
g
=
Duel
.
GetMatchingGroup
(
c57831349
.
desfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
e
:
GetHandler
())
...
...
c58851034.lua
View file @
c96a7604
...
...
@@ -30,8 +30,7 @@ function c58851034.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c58851034
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
c59344077.lua
View file @
c96a7604
...
...
@@ -30,8 +30,7 @@ function c59344077.activate(e,tp,eg,ep,ev,re,r,rp)
return
end
end
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c59718521.lua
View file @
c96a7604
...
...
@@ -55,8 +55,7 @@ function c59718521.target2(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c59718521
.
activate2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c59905358.lua
View file @
c96a7604
...
...
@@ -24,8 +24,7 @@ function c59905358.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c59905358
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c59957503.lua
View file @
c96a7604
...
...
@@ -38,8 +38,7 @@ function c59957503.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c59957503
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ec
=
re
:
GetHandler
()
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
ec
:
CancelToGrave
()
Duel
.
SendtoDeck
(
ec
,
nil
,
2
,
REASON_EFFECT
)
end
...
...
c60718396.lua
View file @
c96a7604
...
...
@@ -31,8 +31,7 @@ function c60718396.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c60718396
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c61257789.lua
View file @
c96a7604
...
...
@@ -59,8 +59,7 @@ function c61257789.negtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c61257789
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
e
:
GetHandler
():
RegisterFlagEffect
(
61257789
,
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
,
0
,
0
)
...
...
c6137095.lua
View file @
c96a7604
...
...
@@ -30,9 +30,8 @@ function c6137095.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c6137095
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
local
rc
=
re
:
GetHandler
()
if
rc
:
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
rc
:
IsRelateToEffect
(
re
)
then
if
rc
:
IsStatus
(
STATUS_ACT_FROM_HAND
)
then
rc
:
CancelToGrave
()
Duel
.
SendtoHand
(
rc
,
nil
,
REASON_EFFECT
)
...
...
c6260554.lua
View file @
c96a7604
...
...
@@ -30,8 +30,7 @@ function c6260554.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c6260554
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c65240384.lua
View file @
c96a7604
...
...
@@ -31,8 +31,7 @@ function c65240384.negcon(e,tp,eg,ep,ev,re,r,rp)
end
function
c65240384
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
ChangePosition
(
e
:
GetHandler
(),
POS_FACEUP_DEFENSE
)
then
Duel
.
NegateActivation
(
ev
)
if
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
SendtoGrave
(
eg
,
REASON_EFFECT
)
end
end
...
...
c65703851.lua
View file @
c96a7604
...
...
@@ -22,8 +22,7 @@ function c65703851.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c65703851
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Remove
(
eg
,
POS_FACEUP
,
REASON_EFFECT
)
end
end
c66547759.lua
View file @
c96a7604
...
...
@@ -69,8 +69,7 @@ function c66547759.distg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_NEGATE
,
eg
,
1
,
0
,
0
)
end
function
c66547759
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
SendtoGrave
(
eg
,
REASON_EFFECT
)
end
end
c66816282.lua
View file @
c96a7604
...
...
@@ -80,8 +80,7 @@ function c66816282.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c66816282
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c66994718.lua
View file @
c96a7604
...
...
@@ -25,8 +25,7 @@ function c66994718.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c66994718
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
re
:
GetHandler
(),
REASON_EFFECT
)
end
end
c67098114.lua
View file @
c96a7604
...
...
@@ -62,8 +62,7 @@ function c67098114.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c67098114
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
...
...
c67688478.lua
View file @
c96a7604
...
...
@@ -33,8 +33,7 @@ function c67688478.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c67688478
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
and
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
~=
0
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
and
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
~=
0
then
Duel
.
BreakEffect
()
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
end
...
...
c68140974.lua
View file @
c96a7604
...
...
@@ -131,8 +131,7 @@ function c68140974.negtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c68140974
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c68456353.lua
View file @
c96a7604
...
...
@@ -26,8 +26,7 @@ function c68456353.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
nil
,
1
,
tp
,
LOCATION_HAND
)
end
function
c68456353
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
Duel
.
DiscardHand
(
tp
,
nil
,
1
,
1
,
REASON_EFFECT
,
nil
)
...
...
c68819554.lua
View file @
c96a7604
...
...
@@ -50,8 +50,7 @@ function c68819554.negtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c68819554
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
...
...
c69279219.lua
View file @
c96a7604
...
...
@@ -32,8 +32,7 @@ function c69279219.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c69279219
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c69488544.lua
View file @
c96a7604
...
...
@@ -71,8 +71,7 @@ function c69488544.negtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c69488544
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
re
:
GetHandler
(),
REASON_EFFECT
)
end
end
c69632396.lua
View file @
c96a7604
...
...
@@ -27,8 +27,7 @@ function c69632396.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c69632396
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ec
=
re
:
GetHandler
()
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
ec
:
CancelToGrave
()
Duel
.
SendtoHand
(
ec
,
nil
,
REASON_EFFECT
)
end
...
...
c70344351.lua
View file @
c96a7604
...
...
@@ -25,8 +25,7 @@ function c70344351.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c70344351
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c70780151.lua
View file @
c96a7604
...
...
@@ -67,8 +67,7 @@ end
function
c70780151
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsFaceup
()
or
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c71060915.lua
View file @
c96a7604
...
...
@@ -25,8 +25,7 @@ function c71060915.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c71060915
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c71466592.lua
View file @
c96a7604
...
...
@@ -30,8 +30,7 @@ function c71466592.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c71466592
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c72648810.lua
View file @
c96a7604
...
...
@@ -25,8 +25,7 @@ function c72648810.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c72648810
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Remove
(
eg
,
POS_FACEUP
,
REASON_EFFECT
)
end
end
c73026394.lua
View file @
c96a7604
...
...
@@ -23,8 +23,7 @@ function c73026394.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
end
function
c73026394
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
SendtoGrave
(
eg
,
REASON_EFFECT
)
end
local
g
=
Duel
.
GetMatchingGroup
(
c73026394
.
filter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
):
RandomSelect
(
tp
,
1
)
...
...
c74203495.lua
View file @
c96a7604
...
...
@@ -68,8 +68,7 @@ function c74203495.operation(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetCondition
(
c74203495
.
rmcon
)
e1
:
SetOperation
(
c74203495
.
rmop
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
...
...
c74294676.lua
View file @
c96a7604
...
...
@@ -49,8 +49,7 @@ function c74294676.target1(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c74294676
.
operation1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
...
...
c74416026.lua
View file @
c96a7604
...
...
@@ -32,8 +32,7 @@ function c74416026.spfilter(c,e,tp)
end
function
c74416026
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TARGET_CARDS
):
Filter
(
c74416026
.
filter
,
nil
,
tp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
and
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
~=
0
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
and
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
~=
0
then
local
tg
=
g
:
Filter
(
Card
.
IsRelateToEffect
,
nil
,
re
)
local
sg
=
Duel
.
GetMatchingGroup
(
c74416026
.
spfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
)
if
tg
:
GetCount
()
>
0
and
sg
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
74416026
,
0
))
then
...
...
c74593218.lua
View file @
c96a7604
...
...
@@ -35,8 +35,7 @@ function c74593218.negtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c74593218
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
and
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
>
0
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
and
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
>
0
then
Duel
.
BreakEffect
()
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
then
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
c7478431.lua
View file @
c96a7604
...
...
@@ -36,8 +36,7 @@ function c7478431.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c7478431
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c74822425.lua
View file @
c96a7604
...
...
@@ -175,8 +175,7 @@ function c74822425.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c74822425
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
and
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
>
0
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
and
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c74822425
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
...
...
c75286621.lua
View file @
c96a7604
...
...
@@ -38,8 +38,7 @@ function c75286621.negtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c75286621
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Remove
(
eg
,
POS_FACEUP
,
REASON_EFFECT
)
end
end
c75487237.lua
View file @
c96a7604
...
...
@@ -39,8 +39,7 @@ function c75487237.negcon(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c75487237
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
SendtoGrave
(
eg
,
REASON_EFFECT
)
end
Duel
.
ChangePosition
(
e
:
GetHandler
(),
POS_FACEUP_DEFENSE
)
...
...
c75833426.lua
View file @
c96a7604
...
...
@@ -26,8 +26,7 @@ function c75833426.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c75833426
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ec
=
re
:
GetHandler
()
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
ec
:
CancelToGrave
()
Duel
.
SendtoHand
(
ec
,
nil
,
REASON_EFFECT
)
end
...
...
c76214441.lua
View file @
c96a7604
...
...
@@ -34,8 +34,7 @@ function c76214441.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c76214441
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c76407432.lua
View file @
c96a7604
...
...
@@ -26,8 +26,7 @@ function c76407432.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c76407432
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c77229910.lua
View file @
c96a7604
...
...
@@ -31,8 +31,7 @@ function c77229910.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c77229910
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
...
...
c77414722.lua
View file @
c96a7604
...
...
@@ -27,8 +27,7 @@ function c77414722.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c77414722
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c77538567.lua
View file @
c96a7604
...
...
@@ -22,8 +22,7 @@ function c77538567.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
1
-
tp
,
1
)
end
function
c77538567
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
Duel
.
Draw
(
1
-
tp
,
1
,
REASON_EFFECT
)
...
...
c78316184.lua
View file @
c96a7604
...
...
@@ -76,8 +76,7 @@ function c78316184.negtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c78316184
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c7841112.lua
View file @
c96a7604
...
...
@@ -112,8 +112,7 @@ function c7841112.negtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
end
function
c7841112
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
SendtoGrave
(
eg
,
REASON_EFFECT
)
end
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
...
...
c79606837.lua
View file @
c96a7604
...
...
@@ -57,8 +57,7 @@ function c79606837.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c79606837
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
...
...
c79649195.lua
View file @
c96a7604
...
...
@@ -21,8 +21,7 @@ function c79649195.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c79649195
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c79759367.lua
View file @
c96a7604
...
...
@@ -23,8 +23,7 @@ function c79759367.cfilter(c)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
74641045
)
end
function
c79759367
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
Duel
.
IsExistingMatchingCard
(
c79759367
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
if
Duel
.
NegateActivation
(
ev
)
and
Duel
.
IsExistingMatchingCard
(
c79759367
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
and
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_HAND
)
>
0
then
local
g
=
Duel
.
GetFieldGroup
(
tp
,
0
,
LOCATION_HAND
):
RandomSelect
(
tp
,
1
)
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_EFFECT
)
...
...
c799183.lua
View file @
c96a7604
...
...
@@ -35,8 +35,7 @@ function c799183.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c799183
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
...
...
c8038143.lua
View file @
c96a7604
...
...
@@ -51,8 +51,7 @@ function c8038143.activate(e,tp,eg,ep,ev,re,r,rp)
local
dg
=
Group
.
CreateGroup
()
for
i
=
1
,
ev
do
local
te
,
tgp
=
Duel
.
GetChainInfo
(
i
,
CHAININFO_TRIGGERING_EFFECT
,
CHAININFO_TRIGGERING_PLAYER
)
if
tgp
~=
tp
and
(
te
:
IsActiveType
(
TYPE_MONSTER
)
or
te
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
))
and
Duel
.
IsChainNegatable
(
i
)
then
Duel
.
NegateActivation
(
i
)
if
tgp
~=
tp
and
(
te
:
IsActiveType
(
TYPE_MONSTER
)
or
te
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
))
and
Duel
.
NegateActivation
(
i
)
then
local
tc
=
te
:
GetHandler
()
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
te
)
and
not
tc
:
IsHasEffect
(
EFFECT_CANNOT_TO_DECK
)
and
Duel
.
IsPlayerCanSendtoDeck
(
tp
,
tc
)
then
tc
:
CancelToGrave
()
...
...
c80678380.lua
View file @
c96a7604
...
...
@@ -32,8 +32,7 @@ function c80678380.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c80678380
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c81020646.lua
View file @
c96a7604
...
...
@@ -29,8 +29,7 @@ function c81020646.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c81020646
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c81066751.lua
View file @
c96a7604
...
...
@@ -26,8 +26,7 @@ function c81066751.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c81066751
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c81601517.lua
View file @
c96a7604
...
...
@@ -31,8 +31,7 @@ function c81601517.activate(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
ChangePosition
(
tc
,
POS_FACEDOWN_DEFENSE
)
~=
0
then
Duel
.
BreakEffect
()
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
...
...
c82044279.lua
View file @
c96a7604
...
...
@@ -54,10 +54,8 @@ function c82044279.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c82044279
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
local
rc
=
re
:
GetHandler
()
if
rc
:
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
rc
,
REASON_EFFECT
)
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
function
c82044279
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c82382815.lua
View file @
c96a7604
...
...
@@ -52,8 +52,7 @@ function c82382815.target2(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c82382815
.
activate2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c82419869.lua
View file @
c96a7604
...
...
@@ -55,8 +55,7 @@ function c82419869.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c82419869
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c82744076.lua
View file @
c96a7604
...
...
@@ -84,8 +84,7 @@ function c82744076.negtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_NEGATE
,
eg
,
1
,
0
,
0
)
end
function
c82744076
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
SendtoGrave
(
eg
,
REASON_EFFECT
)
end
end
c8316565.lua
View file @
c96a7604
...
...
@@ -27,8 +27,7 @@ function c8316565.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c8316565
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c84442536.lua
View file @
c96a7604
...
...
@@ -49,8 +49,7 @@ function c84442536.activate(e,tp,eg,ep,ev,re,r,rp)
if
sel
==
0
then
Duel
.
ChangeChainOperation
(
ev
,
c84442536
.
repop
)
else
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
...
...
c84749824.lua
View file @
c96a7604
...
...
@@ -61,8 +61,7 @@ function c84749824.target2(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c84749824
.
activate2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c85854214.lua
View file @
c96a7604
...
...
@@ -24,8 +24,7 @@ function c85854214.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c85854214
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c85991529.lua
View file @
c96a7604
...
...
@@ -84,8 +84,7 @@ function c85991529.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c85991529
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
...
...
c86474024.lua
View file @
c96a7604
...
...
@@ -29,8 +29,7 @@ function c86474024.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c86474024
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c86690572.lua
View file @
c96a7604
...
...
@@ -42,8 +42,7 @@ function c86690572.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c86690572
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
...
...
c87313164.lua
View file @
c96a7604
...
...
@@ -31,8 +31,7 @@ function c87313164.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c87313164
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c87460579.lua
View file @
c96a7604
...
...
@@ -60,8 +60,7 @@ function c87460579.negtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c87460579
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
...
...
c88307361.lua
View file @
c96a7604
...
...
@@ -86,8 +86,7 @@ function c88307361.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c88307361
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c88619463.lua
View file @
c96a7604
...
...
@@ -54,8 +54,7 @@ function c88619463.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c88619463
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
e
:
GetHandler
():
IsFacedown
()
or
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c88928798.lua
View file @
c96a7604
...
...
@@ -28,8 +28,7 @@ function c88928798.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c88928798
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
Duel
.
Damage
(
1
-
tp
,
500
,
REASON_EFFECT
)
...
...
c88989706.lua
View file @
c96a7604
...
...
@@ -40,8 +40,7 @@ function c88989706.discon(e,tp,eg,ep,ev,re,r,rp)
return
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
Duel
.
IsChainNegatable
(
ev
)
end
function
c88989706
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
re
:
GetHandler
(),
REASON_EFFECT
)
end
end
...
...
c89563150.lua
View file @
c96a7604
...
...
@@ -25,10 +25,13 @@ function c89563150.distg(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
true
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_NEGATE
,
eg
,
1
,
0
,
0
)
local
g
=
Duel
.
GetMatchingGroup
(
c89563150
.
dfilter
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
g
:
Merge
(
eg
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
end
function
c89563150
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
Duel
.
NegateActivation
(
ev
)
then
local
g
=
Duel
.
GetMatchingGroup
(
c89563150
.
dfilter
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
g
:
Merge
(
eg
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
end
c90434657.lua
View file @
c96a7604
...
...
@@ -32,8 +32,7 @@ function c90434657.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c90434657
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c90555947.lua
View file @
c96a7604
...
...
@@ -39,8 +39,7 @@ function c90555947.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c90555947
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c9059700.lua
View file @
c96a7604
...
...
@@ -26,8 +26,7 @@ function c9059700.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c9059700
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c91078716.lua
View file @
c96a7604
...
...
@@ -55,8 +55,7 @@ function c91078716.target2(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c91078716
.
activate2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c92512625.lua
View file @
c96a7604
...
...
@@ -59,8 +59,7 @@ function c92512625.target2(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c92512625
.
activate2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c9272381.lua
View file @
c96a7604
...
...
@@ -64,8 +64,7 @@ function c9272381.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c9272381
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c93157004.lua
View file @
c96a7604
...
...
@@ -263,8 +263,7 @@ function c93157004.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c93157004
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c93396832.lua
View file @
c96a7604
...
...
@@ -22,8 +22,7 @@ function c93396832.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c93396832
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c94662235.lua
View file @
c96a7604
...
...
@@ -61,9 +61,8 @@ function c94662235.target2(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c94662235
.
activate2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
local
ec
=
eg
:
GetFirst
()
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Remove
(
ec
,
POS_FACEUP
,
REASON_EFFECT
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
...
...
c94689635.lua
View file @
c96a7604
...
...
@@ -38,8 +38,7 @@ function c94689635.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c94689635
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c96216229.lua
View file @
c96a7604
...
...
@@ -26,8 +26,7 @@ function c96216229.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c96216229
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c98502113.lua
View file @
c96a7604
...
...
@@ -56,8 +56,7 @@ end
function
c98502113
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsFaceup
()
or
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c98956134.lua
View file @
c96a7604
...
...
@@ -29,8 +29,7 @@ function c98956134.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c98956134
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c99188141.lua
View file @
c96a7604
...
...
@@ -24,8 +24,7 @@ function c99188141.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c99188141
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Remove
(
re
:
GetHandler
(),
POS_FACEUP
,
REASON_EFFECT
)
end
end
c99902789.lua
View file @
c96a7604
...
...
@@ -29,8 +29,7 @@ function c99902789.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c99902789
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
c99916754.lua
View file @
c96a7604
...
...
@@ -40,8 +40,7 @@ end
function
c99916754
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsFaceup
()
or
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
NegateActivation
(
ev
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
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