Commit a34425af authored by salix5's avatar salix5

change setcode

see strings.conf
parent 86576c5b
...@@ -19,11 +19,11 @@ function c1784686.initial_effect(c) ...@@ -19,11 +19,11 @@ function c1784686.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c1784686.tgfilter0(c,e,tp) function c1784686.tgfilter0(c,e,tp)
return c:IsFaceup() and c:IsSetCard(0xa2) return c:IsFaceup() and c:IsSetCard(0x10a2)
and c:IsCanBeFusionMaterial() and Duel.IsExistingMatchingCard(c1784686.spfilter,tp,LOCATION_EXTRA,0,1,nil,e,tp,c:GetCode()) and c:IsCanBeFusionMaterial() and Duel.IsExistingMatchingCard(c1784686.spfilter,tp,LOCATION_EXTRA,0,1,nil,e,tp,c:GetCode())
end end
function c1784686.tgfilter(c,e,tp) function c1784686.tgfilter(c,e,tp)
return c:IsFaceup() and c:IsSetCard(0xa2) return c:IsFaceup() and c:IsSetCard(0x10a2)
and c:IsCanBeFusionMaterial() and not c:IsImmuneToEffect(e) and c:IsCanBeFusionMaterial() and not c:IsImmuneToEffect(e)
and Duel.IsExistingMatchingCard(c1784686.spfilter,tp,LOCATION_EXTRA,0,1,nil,e,tp,c:GetCode()) and Duel.IsExistingMatchingCard(c1784686.spfilter,tp,LOCATION_EXTRA,0,1,nil,e,tp,c:GetCode())
end end
......
...@@ -11,7 +11,7 @@ function c49702428.initial_effect(c) ...@@ -11,7 +11,7 @@ function c49702428.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function c49702428.cfilter(c) function c49702428.cfilter(c)
return c:IsFaceup() and c:IsSetCard(0x10a2) return c:IsFaceup() and c:IsSetCard(0x30a2)
end end
function c49702428.condition(e,tp,eg,ep,ev,re,r,rp) function c49702428.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(c49702428.cfilter,tp,LOCATION_MZONE,0,1,nil) return Duel.IsExistingMatchingCard(c49702428.cfilter,tp,LOCATION_MZONE,0,1,nil)
......
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