Commit 33344cd2 authored by gg123gg's avatar gg123gg Committed by GitHub

Update c12034013.lua

parent dc249aab
...@@ -36,7 +36,7 @@ end ...@@ -36,7 +36,7 @@ end
function cm.thop(e,tp,eg,ep,ev,re,r,rp) function cm.thop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local cc=0 local cc=0
if Duel.GetFlagEffect(tp,12034012)==0 then if Duel.GetFlagEffect(tp,12034012)==0 and c:IsRelateToEffect(e) then
cc=Duel.SendtoDeck(c,tp,0,REASON_EFFECT) cc=Duel.SendtoDeck(c,tp,0,REASON_EFFECT)
end end
if Duel.GetFlagEffect(tp,12034012)>0 or cc>0 then if Duel.GetFlagEffect(tp,12034012)>0 or cc>0 then
...@@ -71,4 +71,4 @@ function cm.imfilter(c) ...@@ -71,4 +71,4 @@ function cm.imfilter(c)
end end
function cm.efilter(e,re) function cm.efilter(e,re)
return e:GetOwnerPlayer()~=re:GetOwnerPlayer() and re:IsActivated() return e:GetOwnerPlayer()~=re:GetOwnerPlayer() and re:IsActivated()
end end
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment