Commit d9b39882 authored by nekrozar's avatar nekrozar

fix not fusion summon

fix #1218
parent df065c86
...@@ -43,8 +43,8 @@ function c15291624.chainfilter(re,tp,cid) ...@@ -43,8 +43,8 @@ function c15291624.chainfilter(re,tp,cid)
and Duel.GetChainInfo(cid,CHAININFO_TRIGGERING_LOCATION)==LOCATION_HAND) and Duel.GetChainInfo(cid,CHAININFO_TRIGGERING_LOCATION)==LOCATION_HAND)
end end
function c15291624.spfilter(c,fc,tp) function c15291624.spfilter(c,fc,tp)
return c:IsRace(RACE_THUNDER) and c:IsType(TYPE_EFFECT) and not c:IsType(TYPE_FUSION) return c:IsRace(RACE_THUNDER) and c:IsFusionType(TYPE_EFFECT) and not c:IsFusionType(TYPE_FUSION)
and c:IsReleasable() and Duel.GetLocationCountFromEx(tp,tp,c,fc)>0 and c:IsReleasable() and Duel.GetLocationCountFromEx(tp,tp,c,fc)>0 and c:IsCanBeFusionMaterial(fc,SUMMON_TYPE_SPECIAL)
end end
function c15291624.spcon(e,c) function c15291624.spcon(e,c)
if c==nil then return true end if c==nil then return true end
......
...@@ -43,7 +43,7 @@ function c37440988.initial_effect(c) ...@@ -43,7 +43,7 @@ function c37440988.initial_effect(c)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
function c37440988.hspfilter(c,tp,sc) function c37440988.hspfilter(c,tp,sc)
return c:IsSetCard(0x2034) and c:IsLevel(10) and c:IsControler(tp) and Duel.GetLocationCountFromEx(tp,tp,c,sc)>0 return c:IsFusionSetCard(0x2034) and c:IsLevel(10) and c:IsControler(tp) and Duel.GetLocationCountFromEx(tp,tp,c,sc)>0 and c:IsCanBeFusionMaterial(sc,SUMMON_TYPE_SPECIAL)
end end
function c37440988.hspcon(e,c) function c37440988.hspcon(e,c)
if c==nil then return true end if c==nil then return true end
......
...@@ -44,8 +44,8 @@ function c41685633.sprfilter1(c) ...@@ -44,8 +44,8 @@ function c41685633.sprfilter1(c)
return c:IsRace(RACE_THUNDER) and c:IsAbleToRemoveAsCost() return c:IsRace(RACE_THUNDER) and c:IsAbleToRemoveAsCost()
end end
function c41685633.sprfilter2(c,tp,sc) function c41685633.sprfilter2(c,tp,sc)
return c:IsFaceup() and c:IsRace(RACE_THUNDER) and c:IsType(TYPE_FUSION) return c:IsRace(RACE_THUNDER) and c:IsFusionType(TYPE_FUSION)
and not c:IsCode(41685633) and c:IsAbleToRemoveAsCost() and Duel.GetLocationCountFromEx(tp,tp,c,sc)>0 and not c:IsFusionCode(41685633) and c:IsAbleToRemoveAsCost() and Duel.GetLocationCountFromEx(tp,tp,c,sc)>0 and c:IsCanBeFusionMaterial(sc,SUMMON_TYPE_SPECIAL)
end end
function c41685633.sprcon(e,c) function c41685633.sprcon(e,c)
if c==nil then return true end if c==nil then return true end
......
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