Commit c5114391 authored by POLYMER's avatar POLYMER

fix

parent c9ada5d7
......@@ -48,10 +48,10 @@ function cm.settg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk then return Duel.IsExistingMatchingCard(cm.filter1,tp,LOCATION_HAND,0,1,c) and Duel.IsExistingMatchingCard(cm.filter6,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil)
end
Duel.SetOperationInfo(0,CATEGORY_DESTROY,nil,1,0,0)
Duel.SetChainLimit(cm.chlimit)
Duel.SetChainLimit(cm.chainlm)
end
function cm.chlimit(e,ep,tp)
return tp==ep
function cm.chainlm(e,rp,tp)
return tp==rp
end
function cm.setop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
......
......@@ -67,7 +67,7 @@ function s.ovfilter(c,tp)
return c:GetOwner()==tp and c:GetOriginalType()&TYPE_MONSTER>0
end
function s.msfilter(c,tp)
return c:GetOwner()==tp and c:GetFlagEffect(id+10000+200)>0
return c:GetOwner()==tp and c:GetFlagEffect(id+10000+200)>0 and c:IsFaceup()
end
function s.spcon(e,c)
if c==nil then return true end
......
......@@ -67,7 +67,7 @@ function s.ovfilter(c,tp)
return c:GetOwner()==tp and c:GetOriginalType()&TYPE_MONSTER>0
end
function s.msfilter(c,tp)
return c:GetOwner()==tp and c:GetFlagEffect(id+200)>0
return c:GetOwner()==tp and c:GetFlagEffect(id+200)>0 and c:IsFaceup()
end
function s.spcon(e,c)
if c==nil then return true end
......
......@@ -45,7 +45,7 @@ function c98500320.initial_effect(c)
e6:SetRange(LOCATION_MZONE)
e6:SetTargetRange(LOCATION_ONFIELD,0)
e6:SetTarget(aux.TargetBoolFunction(Card.IsType,TYPE_SPELL+TYPE_TRAP))
e6:SetValue(aux.indoval)
e6:SetValue(1)
c:RegisterEffect(e6)
end
function c98500320.pfilter(c,tp)
......
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