Commit 7d13e937 authored by woodee's avatar woodee

fix

cards turn face-up when resolving effect still need to be destroyed
parent 567077e2
......@@ -30,11 +30,8 @@ function c77334267.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local g=Duel.SelectTarget(tp,c77334267.filter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,2,2,nil)
Duel.SetOperationInfo(0,CATEGORY_DESTROY,g,2,0,0)
end
function c77334267.dfilter(c,e)
return c:IsFacedown() and c:IsRelateToEffect(e)
end
function c77334267.desop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetChainInfo(0,CHAININFO_TARGET_CARDS)
local dg=g:Filter(c77334267.dfilter,nil,e)
Duel.Destroy(dg,REASON_EFFECT)
if g:IsRelateToEffect(e) then
Duel.Destroy(g,REASON_EFFECT)
end
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