Commit 9d99205f authored by nanahira's avatar nanahira

fix xiaohei

parent 15a380d0
......@@ -36,14 +36,14 @@ end
function c12031011.disop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local tt=c:GetOverlayCount()
if Duel.GetFlagEffect(tp,12031011)==0 then
if c:GetFlagEffect(12031011)==0 then
if e:GetHandler():IsType(TYPE_XYZ) then
re:GetHandler():CancelToGrave()
Duel.Overlay(c,Group.FromCards(re:GetHandler()))
Duel.BreakEffect()
local ff=c:GetOverlayCount()
if ff>tt then
Duel.RegisterFlagEffect(tp,12031011,RESET_PHASE+PHASE_END,0,1)
--Duel.RegisterFlagEffect(tp,12031011,RESET_PHASE+PHASE_END,0,1)
c:RegisterFlagEffect(12031011,RESET_PHASE+PHASE_END,EFFECT_FLAG_CLIENT_HINT,1,0,aux.Stringid(12031011,4))
else
Duel.NegateEffect(ev)
......
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