Commit 307731ed authored by mercury233's avatar mercury233

fix

parent 3851b4ed
......@@ -48,5 +48,5 @@ function c100411014.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.RegisterEffect(e1,tp)
end
function c100411014.splimit(e,c)
return not c:IsRitualMonster()
return c:GetType()&0x81~=0x81
end
......@@ -55,6 +55,7 @@ function c100411038.destg(e,tp,eg,ep,ev,re,r,rp,chk)
while ct<rt do
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DEATTACHFROM)
local sg=Duel.SelectMatchingCard(tp,Card.CheckRemoveOverlayCard,tp,LOCATION_MZONE,0,min,1,nil,tp,1,REASON_COST)
if #sg==0 then break end
sg:GetFirst():RemoveOverlayCard(tp,1,1,REASON_COST)
ct=ct+1
min=0
......
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