Commit 389a692a authored by gg123gg's avatar gg123gg Committed by GitHub

Update c12031011.lua

parent 7ac11454
......@@ -37,7 +37,8 @@ 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 re:GetHandler():IsRelateToEffect(e) then
local loc=Duel.GetChainInfo(ev,CHAININFO_TRIGGERING_LOCATION)
if bit.band(loc,re:GetHandler():GetLocation())~=0 then
Card.CancelToGrave(re:GetHandler())
Duel.Overlay(c,Group.FromCards(re:GetHandler()))
Duel.RegisterFlagEffect(tp,12031011,RESET_PHASE+PHASE_END,0,1)
......
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