Commit ba7632fb authored by 森野さくら's avatar 森野さくら 🐟

1+1=3

parent c569a5cf
...@@ -83,8 +83,7 @@ function s.sprfilter(c) ...@@ -83,8 +83,7 @@ function s.sprfilter(c)
return c:IsAbleToGraveAsCost() return c:IsAbleToGraveAsCost()
end end
function s.fselect(g,tp,sc) function s.fselect(g,tp,sc)
return aux.gffcheck(g,Card.IsSetCard,0xce3,Card.IsCode,16400152) return aux.gffcheck(g,Card.IsSetCard,0xce3,Card.IsCode,16400152) and Duel.GetLocationCountFromEx(tp,tp,g,sc)>0
and Duel.GetLocationCountFromEx(tp,tp,g,sc)<=0
end end
function s.sprcon(e,c) function s.sprcon(e,c)
if c==nil then return true end if c==nil then return true end
......
...@@ -82,7 +82,7 @@ function s.sprfilter(c) ...@@ -82,7 +82,7 @@ function s.sprfilter(c)
end end
function s.fselect(g,tp,sc) function s.fselect(g,tp,sc)
return aux.gffcheck(g,Card.IsSetCard,0xce3,Card.IsCode,16400156) return aux.gffcheck(g,Card.IsSetCard,0xce3,Card.IsCode,16400156)
and Duel.GetLocationCountFromEx(tp,tp,g,sc)<=0 and Duel.GetLocationCountFromEx(tp,tp,g,sc)>0
end end
function s.sprcon(e,c) function s.sprcon(e,c)
if c==nil then return true end if c==nil then return true end
......
...@@ -64,7 +64,7 @@ function s.sprfilter(c) ...@@ -64,7 +64,7 @@ function s.sprfilter(c)
end end
function s.fselect(g,tp,sc) function s.fselect(g,tp,sc)
return aux.gffcheck(g,Card.IsSetCard,0xce3,Card.IsCode,16400158) return aux.gffcheck(g,Card.IsSetCard,0xce3,Card.IsCode,16400158)
and Duel.GetLocationCountFromEx(tp,tp,g,sc)<=0 and Duel.GetLocationCountFromEx(tp,tp,g,sc)>0
end end
function s.sprcon(e,c) function s.sprcon(e,c)
if c==nil then return true end if c==nil then return true end
......
...@@ -43,7 +43,7 @@ function c65071108.initial_effect(c) ...@@ -43,7 +43,7 @@ function c65071108.initial_effect(c)
e6:SetType(EFFECT_TYPE_SINGLE) e6:SetType(EFFECT_TYPE_SINGLE)
e6:SetCode(EFFECT_IMMUNE_EFFECT) e6:SetCode(EFFECT_IMMUNE_EFFECT)
e6:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e6:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e6:SetRange(LOCATION_MZONE) e6:SetRange(LOCATION_SZONE)
e6:SetCondition(c65071108.imcon) e6:SetCondition(c65071108.imcon)
e6:SetValue(c65071108.efilter) e6:SetValue(c65071108.efilter)
c:RegisterEffect(e6) c:RegisterEffect(e6)
......
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