Commit dc249aab authored by gg123gg's avatar gg123gg Committed by GitHub

Update c12034012.lua

parent 1aa5277e
...@@ -35,7 +35,7 @@ end ...@@ -35,7 +35,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
...@@ -61,4 +61,4 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -61,4 +61,4 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.RegisterFlagEffect(tp,m,RESET_EVENT+RESET_PHASE+PHASE_END,0,1) Duel.RegisterFlagEffect(tp,m,RESET_EVENT+RESET_PHASE+PHASE_END,0,1)
end end
end end
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