Commit c89e8d34 authored by TanakaKotoha's avatar TanakaKotoha

foo foo

parent 8cd4bffc
...@@ -32,7 +32,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -32,7 +32,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
e1:SetValue(LOCATION_REMOVED) e1:SetValue(LOCATION_REMOVED)
e1:SetReset(RESET_PHASE+PHASE_END+RESET_SELF_TURN,3) e1:SetReset(RESET_PHASE+PHASE_END+RESET_SELF_TURN,3)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
local dg=Duel.GetMatchingGroup(Card.IsFacedown,tp,LOCATION_SZONE,LOCATION_SZONE,nil) local dg=Duel.GetMatchingGroup(Card.IsFacedown,tp,LOCATION_SZONE,LOCATION_SZONE,e:GetHandler())
if dg:GetCount()>0 and Duel.SelectYesNo(tp,aux.Stringid(m,0)) then if dg:GetCount()>0 and Duel.SelectYesNo(tp,aux.Stringid(m,0)) then
Duel.BreakEffect() Duel.BreakEffect()
Duel.Destroy(dg,REASON_EFFECT) Duel.Destroy(dg,REASON_EFFECT)
...@@ -43,7 +43,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -43,7 +43,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function cm.rmtarget(e,c) function cm.rmtarget(e,c)
return not c:IsLocation(0x80) and not c:IsType(TYPE_MONSTER) return not c:IsLocation(0x80) and not c:IsType(TYPE_MONSTER) and c~=e:GetHandler()
end end
function cm.filter(c) function cm.filter(c)
return c:IsType(TYPE_SPELL+TYPE_TRAP) return c:IsType(TYPE_SPELL+TYPE_TRAP)
......
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