Commit 16a47f14 authored by gg123gg's avatar gg123gg Committed by GitHub

Update c12031011.lua

parent 7fd5d983
...@@ -38,6 +38,7 @@ function c12031011.disop(e,tp,eg,ep,ev,re,r,rp) ...@@ -38,6 +38,7 @@ function c12031011.disop(e,tp,eg,ep,ev,re,r,rp)
local tt=c:GetOverlayCount() local tt=c:GetOverlayCount()
if Duel.GetFlagEffect(tp,12031011)==0 then if Duel.GetFlagEffect(tp,12031011)==0 then
if re:GetHandler():IsRelateToEffect(e) then if re:GetHandler():IsRelateToEffect(e) then
Card.CancelToGrave(re:GetHandler())
Duel.Overlay(c,Group.FromCards(re:GetHandler())) Duel.Overlay(c,Group.FromCards(re:GetHandler()))
Duel.RegisterFlagEffect(tp,12031011,RESET_PHASE+PHASE_END,0,1) Duel.RegisterFlagEffect(tp,12031011,RESET_PHASE+PHASE_END,0,1)
end end
...@@ -67,4 +68,4 @@ function c12031011.thop(e,tp,eg,ep,ev,re,r,rp) ...@@ -67,4 +68,4 @@ function c12031011.thop(e,tp,eg,ep,ev,re,r,rp)
local ct=Duel.SelectMatchingCard(tp,c12031011.thfilter1,tp,LOCATION_DECK,0,1,1,nil) local ct=Duel.SelectMatchingCard(tp,c12031011.thfilter1,tp,LOCATION_DECK,0,1,1,nil)
Duel.SendtoHand(ct,tp,REASON_EFFECT) Duel.SendtoHand(ct,tp,REASON_EFFECT)
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