Commit dbc202f0 authored by Chen Bill's avatar Chen Bill

add s.fusion_effect

parent 0379f016
......@@ -38,6 +38,7 @@ function c10833828.initial_effect(c)
e4:SetOperation(c10833828.damop)
c:RegisterEffect(e4)
end
c10833828.fusion_effect=true
function c10833828.spfilter1(c,e,tp)
return c:IsSetCard(0x10af) and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEUP_DEFENSE)
end
......
......@@ -28,6 +28,7 @@ function c11493868.initial_effect(c)
e3:SetOperation(c11493868.activate)
c:RegisterEffect(e3)
end
c11493868.fusion_effect=true
function c11493868.atkfilter(c)
return c:IsFaceup() and c:IsSetCard(0x9b)
end
......
......@@ -10,6 +10,7 @@ function c11827244.initial_effect(c)
e1:SetOperation(c11827244.activate)
c:RegisterEffect(e1)
end
c11827244.fusion_effect=true
function c11827244.filter0(c)
return c:IsOnField() and c:IsAbleToRemove()
end
......
......@@ -10,6 +10,7 @@ function c12071500.initial_effect(c)
e1:SetOperation(c12071500.activate)
c:RegisterEffect(e1)
end
c12071500.fusion_effect=true
function c12071500.filter0(c)
return c:IsLocation(LOCATION_HAND) and c:IsAbleToRemove()
end
......
......@@ -44,6 +44,7 @@ function c12289247.initial_effect(c)
Duel.RegisterEffect(ge1,0)
end
end
c12289247.fusion_effect=true
c12289247.hnchecks=aux.CreateChecks(Card.IsSetCard,{0x10f2,0x2073,0x2017,0x1046})
function c12289247.spcfilter(c,tp)
return c:IsReason(REASON_BATTLE+REASON_EFFECT)
......
......@@ -27,6 +27,7 @@ function c12450071.initial_effect(c)
e2:SetOperation(c12450071.spop)
c:RegisterEffect(e2)
end
c12450071.fusion_effect=true
function c12450071.filter1(c,e)
return not c:IsImmuneToEffect(e)
end
......
......@@ -20,6 +20,7 @@ function c1264319.initial_effect(c)
e2:SetOperation(c1264319.thop)
c:RegisterEffect(e2)
end
c1264319.fusion_effect=true
function c1264319.filter1(c,e)
return not c:IsImmuneToEffect(e)
end
......
......@@ -22,6 +22,7 @@ function c13234975.initial_effect(c)
e2:SetOperation(c13234975.thop)
c:RegisterEffect(e2)
end
c13234975.fusion_effect=true
function c13234975.filter1(c,e)
return not c:IsImmuneToEffect(e)
end
......
......@@ -26,6 +26,7 @@ function c13258285.initial_effect(c)
e2:SetOperation(c13258285.scop)
c:RegisterEffect(e2)
end
c13258285.fusion_effect=true
function c13258285.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckLPCost(tp,600) end
Duel.PayLPCost(tp,600)
......
......@@ -10,6 +10,7 @@ function c15543940.initial_effect(c)
e1:SetOperation(c15543940.activate)
c:RegisterEffect(e1)
end
c15543940.fusion_effect=true
function c15543940.filter1(c,e)
return c:IsOnField() and not c:IsImmuneToEffect(e)
end
......
......@@ -10,6 +10,7 @@ function c17236839.initial_effect(c)
e1:SetOperation(c17236839.activate)
c:RegisterEffect(e1)
end
c17236839.fusion_effect=true
function c17236839.filter1(c,e)
return c:IsOnField() and not c:IsImmuneToEffect(e)
end
......
......@@ -18,6 +18,7 @@ function c1784686.initial_effect(c)
e2:SetValue(10000050)
c:RegisterEffect(e2)
end
c1784686.fusion_effect=true
function c1784686.tgfilter(c,e,tp)
return c:IsFaceup() and c:IsSetCard(0x10a2) and c:IsCanBeFusionMaterial()
and aux.MustMaterialCheck(c,tp,EFFECT_MUST_BE_FMATERIAL)
......
......@@ -11,6 +11,7 @@ function c1845204.initial_effect(c)
e1:SetOperation(c1845204.activate)
c:RegisterEffect(e1)
end
c1845204.fusion_effect=true
function c1845204.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckLPCost(tp,1000) end
Duel.PayLPCost(tp,1000)
......
......@@ -18,6 +18,7 @@ function c21011044.initial_effect(c)
e1:SetOperation(c21011044.activate)
c:RegisterEffect(e1)
end
c21011044.fusion_effect=true
function c21011044.filter0(c)
return c:IsOnField() and c:IsAbleToRemove()
end
......
......@@ -9,6 +9,7 @@ function c23299957.initial_effect(c)
e1:SetOperation(c23299957.activate)
c:RegisterEffect(e1)
end
c23299957.fusion_effect=true
function c23299957.filter1(c,e)
return not c:IsImmuneToEffect(e)
end
......
......@@ -9,6 +9,7 @@ function c24094653.initial_effect(c)
e1:SetOperation(c24094653.activate)
c:RegisterEffect(e1)
end
c24094653.fusion_effect=true
function c24094653.filter1(c,e)
return not c:IsImmuneToEffect(e)
end
......
......@@ -27,6 +27,7 @@ function c24484270.initial_effect(c)
e2:SetOperation(c24484270.spop)
c:RegisterEffect(e2)
end
c24484270.fusion_effect=true
function c24484270.thcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_LINK)
end
......
......@@ -10,6 +10,7 @@ function c25800447.initial_effect(c)
e1:SetOperation(c25800447.activate)
c:RegisterEffect(e1)
end
c25800447.fusion_effect=true
function c25800447.filter0(c)
return c:IsFaceup() and c:IsCanBeFusionMaterial()
end
......
......@@ -22,6 +22,7 @@ function c26631975.initial_effect(c)
e2:SetOperation(c26631975.cdop)
c:RegisterEffect(e2)
end
c26631975.fusion_effect=true
function c26631975.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetCurrentPhase()==PHASE_MAIN1 or Duel.GetCurrentPhase()==PHASE_MAIN2
end
......
......@@ -9,6 +9,7 @@ function c26841274.initial_effect(c)
e1:SetOperation(c26841274.activate)
c:RegisterEffect(e1)
end
c26841274.fusion_effect=true
function c26841274.filter1(c,e)
return c:IsOnField() and c:IsSetCard(0xc008) and (not e or not c:IsImmuneToEffect(e))
end
......
......@@ -11,6 +11,7 @@ function c29062925.initial_effect(c)
e1:SetOperation(c29062925.activate)
c:RegisterEffect(e1)
end
c29062925.fusion_effect=true
function c29062925.exconfilter(c)
return c:IsCode(25652259,64788463,90876561) and c:IsFaceup()
end
......
......@@ -21,6 +21,7 @@ function c29143457.initial_effect(c)
e2:SetOperation(c29143457.thop)
c:RegisterEffect(e2)
end
c29143457.fusion_effect=true
function c29143457.filter1(c,e)
return not c:IsImmuneToEffect(e)
end
......
......@@ -24,6 +24,7 @@ function c29280589.initial_effect(c)
e2:SetValue(c29280589.repval)
c:RegisterEffect(e2)
end
c29280589.fusion_effect=true
function c29280589.condition(e,tp,eg,ep,ev,re,r,rp)
return (Duel.GetCurrentPhase()==PHASE_MAIN1 or Duel.GetCurrentPhase()==PHASE_MAIN2) and Duel.GetTurnPlayer()==1-tp
end
......
......@@ -34,6 +34,7 @@ function c29719112.initial_effect(c)
e3:SetOperation(c29719112.thop)
c:RegisterEffect(e3)
end
c29719112.fusion_effect=true
function c29719112.spfilter(c,tp)
return c:IsRace(RACE_MACHINE)
and Duel.GetMZoneCount(tp,c)>0 and (c:IsControler(tp) or c:IsFaceup())
......
......@@ -27,6 +27,7 @@ function c30118701.initial_effect(c)
e2:SetOperation(c30118701.spop)
c:RegisterEffect(e2)
end
c30118701.fusion_effect=true
function c30118701.hspcfilter(c)
return c:IsType(TYPE_MONSTER) and c:IsAbleToGraveAsCost()
end
......
......@@ -23,6 +23,7 @@ function c3078380.initial_effect(c)
e2:SetOperation(c3078380.fspop)
c:RegisterEffect(e2)
end
c3078380.fusion_effect=true
function c3078380.cfilter(c,tp)
return (c:IsLocation(LOCATION_HAND) or c:IsFaceup()) and Duel.GetMZoneCount(tp,c)>0 and c:IsAbleToGraveAsCost()
and (c:IsRace(RACE_SPELLCASTER) and c:IsType(TYPE_MONSTER) or aux.IsCodeListed(c,46986414) and c:IsType(TYPE_SPELL+TYPE_TRAP))
......
......@@ -33,6 +33,7 @@ function c31444249.initial_effect(c)
e4:SetOperation(c31444249.spop)
c:RegisterEffect(e4)
end
c31444249.fusion_effect=true
function c31444249.lvtg(e,c)
return c:IsSetCard(0xbb) and c:GetOriginalLevel()>=2
end
......
......@@ -12,6 +12,7 @@ function c31855260.initial_effect(c)
e1:SetOperation(c31855260.activate)
c:RegisterEffect(e1)
end
c31855260.fusion_effect=true
function c31855260.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetCurrentPhase()==PHASE_MAIN1 or Duel.GetCurrentPhase()==PHASE_MAIN2
end
......
......@@ -35,6 +35,7 @@ function s.initial_effect(c)
e4:SetOperation(s.operation)
c:RegisterEffect(e4)
end
s.fusion_effect=true
function s.regop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local e1=Effect.CreateEffect(c)
......
......@@ -21,6 +21,7 @@ function c32104431.initial_effect(c)
e2:SetOperation(c32104431.fusionop)
c:RegisterEffect(e2)
end
c32104431.fusion_effect=true
function c32104431.costfilter(c)
return c:IsSetCard(0xd6) and c:IsDiscardable()
end
......
......@@ -39,6 +39,7 @@ function c32615065.initial_effect(c)
e3:SetOperation(c32615065.spop)
c:RegisterEffect(e3)
end
c32615065.fusion_effect=true
function c32615065.ffilter(c)
return c:IsRace(RACE_WARRIOR) and c:IsLevelAbove(5)
end
......
......@@ -26,6 +26,7 @@ function s.initial_effect(c)
e3:SetOperation(s.fsop)
c:RegisterEffect(e3)
end
s.fusion_effect=true
function s.filter(c,tp)
return c:IsType(TYPE_FUSION) and Duel.IsExistingMatchingCard(s.sfilter,tp,LOCATION_DECK,0,1,nil,c)
end
......
......@@ -16,6 +16,7 @@ function c33550694.initial_effect(c)
e2:SetOperation(c33550694.operation)
c:RegisterEffect(e2)
end
c33550694.fusion_effect=true
function c33550694.filter1(c,e)
return c:IsAbleToRemove() and not c:IsImmuneToEffect(e)
end
......
......@@ -23,6 +23,7 @@ function c34325937.initial_effect(c)
e2:SetOperation(c34325937.spop)
c:RegisterEffect(e2)
end
c34325937.fusion_effect=true
function c34325937.filter1(c,e)
return not c:IsImmuneToEffect(e)
end
......
......@@ -28,6 +28,7 @@ function c34813545.initial_effect(c)
e3:SetOperation(c34813545.fsop)
c:RegisterEffect(e3)
end
c34813545.fusion_effect=true
function c34813545.spfilter(c,e,tp)
return c:IsSetCard(0x2a) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
......
......@@ -10,6 +10,7 @@ function c34933456.initial_effect(c)
e1:SetOperation(c34933456.activate)
c:RegisterEffect(e1)
end
c34933456.fusion_effect=true
function c34933456.mttg(e,c)
local tc=c:GetEquipTarget()
return tc and tc:IsSetCard(0x150) and c:GetOriginalType()&TYPE_MONSTER~=0
......
......@@ -31,6 +31,7 @@ function c34995106.initial_effect(c)
e3:SetOperation(c34995106.setop)
c:RegisterEffect(e3)
end
c34995106.fusion_effect=true
function c34995106.filter1(c,e)
return c:IsType(TYPE_MONSTER) and c:IsAbleToRemove() and c:IsCanBeFusionMaterial() and not c:IsImmuneToEffect(e)
end
......
......@@ -21,6 +21,7 @@ function c35098357.initial_effect(c)
e2:SetOperation(c35098357.thop)
c:RegisterEffect(e2)
end
c35098357.fusion_effect=true
function c35098357.filter1(c,e)
return not c:IsImmuneToEffect(e)
end
......
......@@ -10,6 +10,7 @@ function c35705817.initial_effect(c)
e1:SetOperation(c35705817.activate)
c:RegisterEffect(e1)
end
c35705817.fusion_effect=true
function c35705817.filter0(c)
return c:IsType(TYPE_MONSTER) and c:IsCanBeFusionMaterial() and c:IsAbleToRemove() and c:IsRace(RACE_ZOMBIE)
end
......
......@@ -22,6 +22,7 @@ function c36328300.initial_effect(c)
e2:SetOperation(c36328300.plop)
c:RegisterEffect(e2)
end
c36328300.fusion_effect=true
function c36328300.confilter(c,tp)
return c:IsPreviousSetCard(0x1034) and c:IsPreviousControler(tp)
end
......
......@@ -20,6 +20,7 @@ function c36484016.initial_effect(c)
e2:SetOperation(c36484016.drop)
c:RegisterEffect(e2)
end
c36484016.fusion_effect=true
function c36484016.filter0(c)
return c:IsOnField() and c:IsAbleToRemove()
end
......
......@@ -9,6 +9,7 @@ function c3659803.initial_effect(c)
e1:SetOperation(c3659803.activate)
c:RegisterEffect(e1)
end
c3659803.fusion_effect=true
function c3659803.filter0(c)
return c:IsOnField() and c:IsAbleToRemove()
end
......
......@@ -9,6 +9,7 @@ function c37630732.initial_effect(c)
e1:SetOperation(c37630732.activate)
c:RegisterEffect(e1)
end
c37630732.fusion_effect=true
function c37630732.filter1(c,e)
return not c:IsImmuneToEffect(e)
end
......
......@@ -25,6 +25,7 @@ function c37961969.initial_effect(c)
e2:SetOperation(c37961969.activate)
c:RegisterEffect(e2)
end
c37961969.fusion_effect=true
function c37961969.tgcon(e,tp,eg,ep,ev,re,r,rp)
return rp==1-tp and re:IsActiveType(TYPE_MONSTER) and re:GetActivateLocation()==LOCATION_MZONE
end
......
......@@ -10,6 +10,7 @@ function c38590361.initial_effect(c)
e1:SetOperation(c38590361.activate)
c:RegisterEffect(e1)
end
c38590361.fusion_effect=true
function c38590361.filter1(c,e)
return not c:IsImmuneToEffect(e)
end
......
......@@ -23,6 +23,7 @@ function c39261576.initial_effect(c)
e2:SetLabelObject(e1)
c:RegisterEffect(e2)
end
c39261576.fusion_effect=true
function c39261576.filter1(c,e)
return c:IsOnField() and not c:IsImmuneToEffect(e)
end
......
......@@ -23,6 +23,7 @@ function s.initial_effect(c)
e2:SetOperation(s.fusop)
c:RegisterEffect(e2)
end
s.fusion_effect=true
function s.spcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetLP(tp)<Duel.GetLP(1-tp)
end
......
......@@ -10,6 +10,7 @@ function c39564736.initial_effect(c)
e1:SetOperation(c39564736.activate)
c:RegisterEffect(e1)
end
c39564736.fusion_effect=true
function c39564736.filter1(c,e)
return not c:IsImmuneToEffect(e)
end
......
......@@ -10,6 +10,7 @@ function c40003819.initial_effect(c)
e1:SetOperation(c40003819.activate)
c:RegisterEffect(e1)
end
c40003819.fusion_effect=true
function c40003819.filter0(c)
return c:IsOnField() and c:IsType(TYPE_LINK) and c:IsAbleToRemove()
end
......
......@@ -21,6 +21,7 @@ function c40110009.initial_effect(c)
e2:SetOperation(c40110009.thop)
c:RegisterEffect(e2)
end
c40110009.fusion_effect=true
function c40110009.filter1(c,e)
return not c:IsImmuneToEffect(e)
end
......
......@@ -23,6 +23,7 @@ function c40597694.initial_effect(c)
e3:SetOperation(c40597694.desop)
c:RegisterEffect(e3)
end
c40597694.fusion_effect=true
function c40597694.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetFieldGroupCount(tp,0,LOCATION_MZONE)>0
end
......
......@@ -22,6 +22,7 @@ function c41940225.initial_effect(c)
e2:SetOperation(c41940225.thop)
c:RegisterEffect(e2)
end
c41940225.fusion_effect=true
function c41940225.filter0(c)
return c:IsFaceup() and c:IsCanBeFusionMaterial()
end
......
......@@ -22,6 +22,7 @@ function c42002073.initial_effect(c)
e6:SetOperation(c42002073.spop)
c:RegisterEffect(e6)
end
c42002073.fusion_effect=true
function c42002073.filter1(c,e)
return c:IsOnField() and not c:IsImmuneToEffect(e)
end
......
......@@ -11,6 +11,7 @@ function c42577802.initial_effect(c)
c:RegisterEffect(e1)
Duel.AddCustomActivityCounter(42577802,ACTIVITY_CHAIN,aux.FALSE)
end
c42577802.fusion_effect=true
function c42577802.filter0(c)
return c:IsType(TYPE_MONSTER) and c:IsCanBeFusionMaterial() and c:IsAbleToRemove()
end
......
......@@ -31,6 +31,7 @@ function c42878636.initial_effect(c)
e3:SetOperation(c42878636.spop)
c:RegisterEffect(e3)
end
c42878636.fusion_effect=true
function c42878636.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetTargetPlayer(1-tp)
......
......@@ -26,6 +26,7 @@ function c43698897.initial_effect(c)
e3:SetOperation(c43698897.thop)
c:RegisterEffect(e3)
end
c43698897.fusion_effect=true
function c43698897.spfilter(c)
return c:IsSetCard(0x46) and c:IsType(TYPE_SPELL) and c:IsAbleToRemoveAsCost()
end
......
......@@ -22,6 +22,7 @@ function c44227727.initial_effect(c)
e2:SetOperation(c44227727.eqop)
c:RegisterEffect(e2)
end
c44227727.fusion_effect=true
function c44227727.filter1(c,e)
return not c:IsImmuneToEffect(e)
end
......
......@@ -13,6 +13,7 @@ function c44362883.initial_effect(c)
c:RegisterEffect(e1)
Duel.AddCustomActivityCounter(44362883,ACTIVITY_SPSUMMON,c44362883.counterfilter)
end
c44362883.fusion_effect=true
function c44362883.counterfilter(c)
return not c:IsSummonLocation(LOCATION_EXTRA) or c:IsType(TYPE_FUSION)
end
......
......@@ -10,6 +10,7 @@ function c44394295.initial_effect(c)
e1:SetOperation(c44394295.activate)
c:RegisterEffect(e1)
end
c44394295.fusion_effect=true
function c44394295.filter0(c)
return c:IsType(TYPE_MONSTER) and c:IsCanBeFusionMaterial() and c:IsAbleToGrave()
end
......
......@@ -22,6 +22,7 @@ function c44771289.initial_effect(c)
e2:SetOperation(c44771289.atkop)
c:RegisterEffect(e2)
end
c44771289.fusion_effect=true
function c44771289.filter1(c,e)
return not c:IsImmuneToEffect(e)
end
......
......@@ -20,6 +20,7 @@ function c45206713.initial_effect(c)
e2:SetOperation(c45206713.spop)
c:RegisterEffect(e2)
end
c45206713.fusion_effect=true
function c45206713.filter1(c,e)
return c:IsLocation(LOCATION_HAND) and not c:IsImmuneToEffect(e)
end
......
......@@ -12,6 +12,7 @@ function c458748.initial_effect(c)
e1:SetOperation(c458748.activate)
c:RegisterEffect(e1)
end
c458748.fusion_effect=true
function c458748.cost(e,tp,eg,ep,ev,re,r,rp,chk)
e:SetLabel(100)
return true
......
......@@ -9,6 +9,7 @@ function c45906428.initial_effect(c)
e1:SetOperation(c45906428.activate)
c:RegisterEffect(e1)
end
c45906428.fusion_effect=true
function c45906428.filter0(c)
return c:IsOnField() and c:IsAbleToRemove()
end
......
......@@ -32,6 +32,7 @@ function c46136942.initial_effect(c)
e3:SetOperation(c46136942.mfop)
c:RegisterEffect(e3)
end
c46136942.fusion_effect=true
function c46136942.pffilter1(c,e)
return not c:IsImmuneToEffect(e)
end
......
......@@ -29,6 +29,7 @@ function c47705572.initial_effect(c)
e3:SetTarget(c47705572.ptg)
c:RegisterEffect(e3)
end
c47705572.fusion_effect=true
function c47705572.splimit(e,c,sump,sumtype,sumpos,targetp)
return not (c:IsSetCard(0xdf) and c:IsType(TYPE_MONSTER)) and bit.band(sumtype,SUMMON_TYPE_PENDULUM)==SUMMON_TYPE_PENDULUM
end
......
......@@ -11,6 +11,7 @@ function c48130397.initial_effect(c)
e1:SetOperation(c48130397.activate)
c:RegisterEffect(e1)
end
c48130397.fusion_effect=true
function c48130397.filter0(c)
return c:IsFaceup() and c:IsCanBeFusionMaterial()
end
......
......@@ -10,6 +10,7 @@ function c48144509.initial_effect(c)
e1:SetOperation(c48144509.activate)
c:RegisterEffect(e1)
end
c48144509.fusion_effect=true
function c48144509.filter1(c,e)
return c:IsAbleToGrave() and not c:IsImmuneToEffect(e)
end
......
......@@ -25,6 +25,7 @@ function c51476410.initial_effect(c)
e2:SetOperation(c51476410.atkop)
c:RegisterEffect(e2)
end
c51476410.fusion_effect=true
function c51476410.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsReleasable() end
Duel.Release(e:GetHandler(),REASON_COST)
......
......@@ -11,6 +11,7 @@ function c51510279.initial_effect(c)
e1:SetOperation(c51510279.activate)
c:RegisterEffect(e1)
end
c51510279.fusion_effect=true
function c51510279.thfilter(c)
return (c:IsType(TYPE_NORMAL) or c:IsSetCard(0x165) and c:IsType(TYPE_MONSTER)) and c:IsAbleToHand()
end
......
......@@ -38,6 +38,7 @@ function c51858200.initial_effect(c)
e3:SetOperation(c51858200.spop)
c:RegisterEffect(e3)
end
c51858200.fusion_effect=true
function c51858200.cfilter(c)
return c:IsLocation(LOCATION_MZONE) and c:GetCounter(0x1041)>0
end
......
......@@ -10,6 +10,7 @@ function c52947044.initial_effect(c)
e1:SetOperation(c52947044.activate)
c:RegisterEffect(e1)
end
c52947044.fusion_effect=true
function c52947044.filter0(c)
return c:IsType(TYPE_MONSTER) and c:IsCanBeFusionMaterial() and c:IsAbleToGrave()
end
......
......@@ -23,6 +23,7 @@ function c52963531.initial_effect(c)
e3:SetOperation(c52963531.operation)
c:RegisterEffect(e3)
end
c52963531.fusion_effect=true
function c52963531.cfilter(c,tp)
return c:IsFaceup() and c:IsType(TYPE_FUSION) and c:IsControler(tp)
end
......
......@@ -10,6 +10,7 @@ function c54283059.initial_effect(c)
e1:SetOperation(c54283059.activate)
c:RegisterEffect(e1)
end
c54283059.fusion_effect=true
function c54283059.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetActivityCount(tp,ACTIVITY_SPSUMMON)==0 end
local e1=Effect.CreateEffect(e:GetHandler())
......
......@@ -12,6 +12,7 @@ function c54527349.initial_effect(c)
e1:SetOperation(c54527349.activate)
c:RegisterEffect(e1)
end
c54527349.fusion_effect=true
function c54527349.filter1(c,e)
return not c:IsImmuneToEffect(e)
end
......
......@@ -10,6 +10,7 @@ function c55704856.initial_effect(c)
e1:SetOperation(c55704856.activate)
c:RegisterEffect(e1)
end
c55704856.fusion_effect=true
function c55704856.filter0(c)
return (c:IsLocation(LOCATION_MZONE) or c:IsFaceup()) and c:IsCanBeFusionMaterial() and c:IsAbleToDeck()
end
......
......@@ -9,6 +9,7 @@ function c55824220.initial_effect(c)
e1:SetOperation(c55824220.activate)
c:RegisterEffect(e1)
end
c55824220.fusion_effect=true
function c55824220.filter1(c,e)
return not c:IsImmuneToEffect(e)
end
......
......@@ -23,6 +23,7 @@ function c572850.initial_effect(c)
e2:SetOperation(c572850.activate)
c:RegisterEffect(e2)
end
c572850.fusion_effect=true
function c572850.tgfilter(c)
return c:IsType(TYPE_MONSTER) and c:IsAbleToGrave()
end
......
......@@ -10,6 +10,7 @@ function c57425061.initial_effect(c)
e1:SetOperation(c57425061.activate)
c:RegisterEffect(e1)
end
c57425061.fusion_effect=true
function c57425061.cfilter(c)
return c:IsFaceup() and c:GetSequence()<5
and c:IsType(TYPE_TRAP) and c:IsType(TYPE_CONTINUOUS) and c:GetOriginalType()&TYPE_MONSTER==TYPE_MONSTER
......
......@@ -10,6 +10,7 @@ function c58549532.initial_effect(c)
e1:SetOperation(c58549532.activate)
c:RegisterEffect(e1)
end
c58549532.fusion_effect=true
function c58549532.filter0(c,e)
return c:IsCanBeFusionMaterial() and c:IsFaceup() and c:IsType(TYPE_PENDULUM) and not c:IsImmuneToEffect(e)
end
......
......@@ -11,6 +11,7 @@ function c58657303.initial_effect(c)
e1:SetOperation(c58657303.operation)
c:RegisterEffect(e1)
end
c58657303.fusion_effect=true
function c58657303.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsEnvironment(47355498)
end
......
......@@ -30,6 +30,7 @@ function c59123937.initial_effect(c)
e1:SetOperation(c59123937.operation)
c:RegisterEffect(e1)
end
c59123937.fusion_effect=true
function c59123937.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,Card.IsSetCard,1,nil,0xaf) end
local g=Duel.SelectReleaseGroup(tp,Card.IsSetCard,1,1,nil,0xaf)
......
......@@ -10,6 +10,7 @@ function c59332125.initial_effect(c)
e1:SetOperation(c59332125.activate)
c:RegisterEffect(e1)
end
c59332125.fusion_effect=true
function c59332125.filter1(c)
return c:IsFaceup() and c:IsType(TYPE_LINK) and c:IsCanBeFusionMaterial()
end
......
......@@ -32,6 +32,7 @@ function c59419719.initial_effect(c)
Duel.RegisterEffect(ge1,0)
end
end
c59419719.fusion_effect=true
function c59419719.cfilter(c,tp)
return c:IsPreviousSetCard(0x149) and c:GetPreviousTypeOnField()&TYPE_FUSION~=0
and c:IsReason(REASON_BATTLE+REASON_EFFECT) and c:IsPreviousControler(tp) and c:IsPreviousLocation(LOCATION_MZONE)
......
......@@ -11,6 +11,7 @@ function c59514116.initial_effect(c)
e1:SetOperation(c59514116.activate)
c:RegisterEffect(e1)
end
c59514116.fusion_effect=true
function c59514116.filter1(c,e)
return not c:IsImmuneToEffect(e)
end
......
......@@ -26,6 +26,7 @@ function c60226558.initial_effect(c)
e3:SetOperation(c60226558.spop)
c:RegisterEffect(e3)
end
c60226558.fusion_effect=true
function c60226558.eqlimit(e,c)
return c:IsSetCard(0x9d)
end
......
......@@ -10,6 +10,7 @@ function c6077601.initial_effect(c)
e1:SetOperation(c6077601.activate)
c:RegisterEffect(e1)
end
c6077601.fusion_effect=true
function c6077601.filter0(c)
return c:IsOnField() and c:IsAbleToRemove()
end
......
......@@ -26,6 +26,7 @@ function c60822251.initial_effect(c)
e2:SetOperation(c60822251.spop)
c:RegisterEffect(e2)
end
c60822251.fusion_effect=true
function c60822251.fuscon(e,tp,eg,ep,ev,re,r,rp)
local ph=Duel.GetCurrentPhase()
return ph~=PHASE_DAMAGE and ph~=PHASE_DAMAGE_CAL
......
......@@ -11,6 +11,7 @@ function c6172122.initial_effect(c)
e1:SetOperation(c6172122.activate)
c:RegisterEffect(e1)
end
c6172122.fusion_effect=true
function c6172122.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetActivityCount(tp,ACTIVITY_SUMMON)==0 and Duel.GetActivityCount(tp,ACTIVITY_SPSUMMON)==0 end
local e1=Effect.CreateEffect(e:GetHandler())
......
......@@ -23,6 +23,7 @@ function c6205579.initial_effect(c)
e3:SetOperation(c6205579.spop)
c:RegisterEffect(e3)
end
c6205579.fusion_effect=true
function c6205579.subcon(e)
return e:GetHandler():IsLocation(LOCATION_HAND+LOCATION_MZONE+LOCATION_GRAVE)
end
......
......@@ -20,6 +20,7 @@ function c62895219.initial_effect(c)
e2:SetOperation(c62895219.operation)
c:RegisterEffect(e2)
end
c62895219.fusion_effect=true
function c62895219.filter(c)
return c:IsSetCard(0x9b) and c:IsType(TYPE_MONSTER) and not c:IsCode(62895219) and c:IsAbleToHand()
end
......
......@@ -23,6 +23,7 @@ function s.initial_effect(c)
e2:SetTarget(s.gytg)
c:RegisterEffect(e2)
end
s.fusion_effect=true
function s.fscon(e,tp,eg,ep,ev,re,r,rp)
local ph=Duel.GetCurrentPhase()
return ph==PHASE_MAIN1 or ph==PHASE_MAIN2
......
......@@ -11,6 +11,7 @@ function c63854005.initial_effect(c)
e1:SetOperation(c63854005.activate)
c:RegisterEffect(e1)
end
c63854005.fusion_effect=true
function c63854005.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckLPCost(tp,1000) end
Duel.PayLPCost(tp,1000)
......
......@@ -10,6 +10,7 @@ function c64061284.initial_effect(c)
e1:SetOperation(c64061284.activate)
c:RegisterEffect(e1)
end
c64061284.fusion_effect=true
function c64061284.fcheck(tp,sg,fc)
if sg:IsExists(Card.IsLocation,1,nil,LOCATION_DECK) then
return sg:IsExists(c64061284.filterchk,1,nil) end
......
......@@ -11,6 +11,7 @@ function c6417578.initial_effect(c)
e1:SetOperation(c6417578.activate)
c:RegisterEffect(e1)
end
c6417578.fusion_effect=true
function c6417578.filter1(c,e)
return not c:IsImmuneToEffect(e)
end
......
......@@ -23,6 +23,7 @@ function c65037172.initial_effect(c)
e2:SetOperation(c65037172.thop)
c:RegisterEffect(e2)
end
c65037172.fusion_effect=true
function c65037172.filter1(c,e)
return c:IsOnField() and c:IsAbleToRemove() and not c:IsImmuneToEffect(e)
end
......
......@@ -27,6 +27,7 @@ function c65331686.initial_effect(c)
e3:SetOperation(c65331686.operation)
c:RegisterEffect(e3)
end
c65331686.fusion_effect=true
function c65331686.thcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsPreviousLocation(LOCATION_HAND)
end
......
......@@ -10,6 +10,7 @@ function c65646587.initial_effect(c)
e1:SetOperation(c65646587.activate)
c:RegisterEffect(e1)
end
c65646587.fusion_effect=true
function c65646587.filter0(c,e)
return c:IsCanBeFusionMaterial() and not c:IsImmuneToEffect(e)
end
......
......@@ -9,6 +9,7 @@ function c65801012.initial_effect(c)
e1:SetOperation(c65801012.activate)
c:RegisterEffect(e1)
end
c65801012.fusion_effect=true
function c65801012.cfilter(c)
return c:GetSequence()>=5
end
......
......@@ -23,6 +23,7 @@ function c65956182.initial_effect(c)
e2:SetOperation(c65956182.thop)
c:RegisterEffect(e2)
end
c65956182.fusion_effect=true
function c65956182.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetCurrentPhase()&(PHASE_MAIN1+PHASE_MAIN2)>0
end
......
......@@ -22,6 +22,7 @@ function c67523044.initial_effect(c)
e2:SetOperation(c67523044.fsop)
c:RegisterEffect(e2)
end
c67523044.fusion_effect=true
function c67523044.filter(c)
return c:IsRace(RACE_DINOSAUR) and c:IsType(TYPE_TUNER+TYPE_NORMAL) and c:IsAbleToHand()
end
......
......@@ -11,6 +11,7 @@ function c67526112.initial_effect(c)
e1:SetOperation(c67526112.activate)
c:RegisterEffect(e1)
end
c67526112.fusion_effect=true
function c67526112.filter1(c,e)
return c:IsOnField() and not c:IsImmuneToEffect(e) and c:IsDestructable(e)
end
......
......@@ -12,6 +12,7 @@ function c6763530.initial_effect(c)
e1:SetOperation(c6763530.activate)
c:RegisterEffect(e1)
end
c6763530.fusion_effect=true
function c6763530.filter(c,e,tp)
return (c:IsSetCard(0x164) or c:IsType(TYPE_FUSION) and c:IsLevelAbove(8)) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
......
......@@ -16,6 +16,7 @@ function c68468459.initial_effect(c)
e2:SetCode(EVENT_SPSUMMON_SUCCESS)
c:RegisterEffect(e2)
end
c68468459.fusion_effect=true
function c68468459.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetCurrentPhase()&(PHASE_DAMAGE+PHASE_DAMAGE_CAL)==0
end
......
......@@ -25,6 +25,7 @@ function c70427670.initial_effect(c)
e2:SetOperation(c70427670.thop)
c:RegisterEffect(e2)
end
c70427670.fusion_effect=true
function c70427670.fusfilter1(c,e)
return not c:IsImmuneToEffect(e)
end
......
......@@ -17,6 +17,7 @@ function c70534340.initial_effect(c)
e1:SetOperation(c70534340.spop)
c:RegisterEffect(e1)
end
c70534340.fusion_effect=true
function c70534340.branded_fusion_check(tp,sg,fc)
return aux.gffcheck(sg,Card.IsFusionCode,68468459,Card.IsFusionAttribute,ATTRIBUTE_DARK)
end
......
......@@ -13,6 +13,7 @@ function c71143015.initial_effect(c)
e1:SetOperation(c71143015.activate)
c:RegisterEffect(e1)
end
c71143015.fusion_effect=true
function c71143015.condition(e,tp,eg,ep,ev,re,r,rp)
local ph=Duel.GetCurrentPhase()
return ph==PHASE_MAIN1 or ph==PHASE_MAIN2
......
......@@ -12,6 +12,7 @@ function c71422989.initial_effect(c)
c:RegisterEffect(e1)
Duel.AddCustomActivityCounter(71422989,ACTIVITY_SPSUMMON,c71422989.counterfilter)
end
c71422989.fusion_effect=true
function c71422989.counterfilter(c)
return c:IsSetCard(0x1047)
end
......
......@@ -9,6 +9,7 @@ function c71490127.initial_effect(c)
e1:SetOperation(c71490127.activate)
c:RegisterEffect(e1)
end
c71490127.fusion_effect=true
function c71490127.filter0(c)
return c:IsOnField() and c:IsAbleToRemove()
end
......
......@@ -25,6 +25,7 @@ function c71736213.initial_effect(c)
e3:SetOperation(c71736213.fusop)
c:RegisterEffect(e3)
end
c71736213.fusion_effect=true
function c71736213.thfilter(c)
return c:IsSetCard(0x107a) and c:IsAttribute(ATTRIBUTE_LIGHT) and c:IsAbleToHand()
end
......
......@@ -9,6 +9,7 @@ function c72029628.initial_effect(c)
e1:SetOperation(c72029628.activate)
c:RegisterEffect(e1)
end
c72029628.fusion_effect=true
function c72029628.filter0(c)
return c:IsType(TYPE_MONSTER) and c:IsCanBeFusionMaterial() and c:IsAbleToRemove()
end
......
......@@ -10,6 +10,7 @@ function c72291412.initial_effect(c)
e1:SetOperation(c72291412.operation)
c:RegisterEffect(e1)
end
c72291412.fusion_effect=true
function c72291412.filter0(c)
return c:IsType(TYPE_MONSTER) and c:IsCanBeFusionMaterial() and c:IsAbleToRemove()
end
......
......@@ -24,6 +24,7 @@ function c7241272.initial_effect(c)
e3:SetOperation(c7241272.spop)
c:RegisterEffect(e3)
end
c7241272.fusion_effect=true
function c7241272.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_FZONE) end
if chk==0 then return Duel.IsExistingTarget(nil,tp,LOCATION_FZONE,LOCATION_FZONE,1,nil) end
......
......@@ -10,6 +10,7 @@ function c72490637.initial_effect(c)
e1:SetOperation(c72490637.activate)
c:RegisterEffect(e1)
end
c72490637.fusion_effect=true
function c72490637.filter1(c)
return c:IsType(TYPE_PENDULUM) and c:IsCanBeFusionMaterial() and c:IsAbleToRemove()
end
......
......@@ -27,6 +27,7 @@ function c73360025.initial_effect(c)
e3:SetOperation(c73360025.damop)
c:RegisterEffect(e3)
end
c73360025.fusion_effect=true
function c73360025.mfilter0(c)
return c:IsType(TYPE_MONSTER) and c:IsCanBeFusionMaterial() and c:IsAbleToRemove()
end
......
......@@ -32,6 +32,7 @@ function c73511233.initial_effect(c)
e3:SetOperation(c73511233.spop)
c:RegisterEffect(e3)
end
c73511233.fusion_effect=true
function c73511233.thcfilter(c,tp)
return c:IsControler(tp) and c:IsSummonType(SUMMON_TYPE_FUSION)
end
......
......@@ -20,6 +20,7 @@ function c73594093.initial_effect(c)
e2:SetOperation(c73594093.tdop)
c:RegisterEffect(e2)
end
c73594093.fusion_effect=true
function c73594093.filter1(c,e)
return not c:IsImmuneToEffect(e)
end
......
......@@ -28,6 +28,7 @@ function c7394770.initial_effect(c)
e3:SetOperation(c7394770.atkop)
c:RegisterEffect(e3)
end
c7394770.fusion_effect=true
function c7394770.filter0(c)
return c:IsType(TYPE_MONSTER) and c:IsCanBeFusionMaterial() and c:IsAbleToGrave()
end
......
......@@ -21,6 +21,7 @@ function c74063034.initial_effect(c)
e2:SetOperation(c74063034.tdop)
c:RegisterEffect(e2)
end
c74063034.fusion_effect=true
function c74063034.mfilter0(c)
return c:IsOnField() and c:IsAbleToRemove()
end
......
......@@ -27,6 +27,7 @@ function c74078255.initial_effect(c)
e3:SetOperation(c74078255.activate)
c:RegisterEffect(e3)
end
c74078255.fusion_effect=true
function c74078255.ddtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsPlayerCanDiscardDeck(tp,3) end
Duel.SetOperationInfo(0,CATEGORY_DECKDES,nil,0,tp,3)
......
......@@ -21,6 +21,7 @@ function c74335036.initial_effect(c)
e2:SetOperation(c74335036.tdop)
c:RegisterEffect(e2)
end
c74335036.fusion_effect=true
function c74335036.filter1(c,e)
return c:IsOnField() and not c:IsImmuneToEffect(e)
end
......
......@@ -10,6 +10,7 @@ function c74416026.initial_effect(c)
e1:SetOperation(c74416026.activate)
c:RegisterEffect(e1)
end
c74416026.fusion_effect=true
function c74416026.filter(c,tp)
return c:IsControler(tp) and c:IsLocation(LOCATION_MZONE) and c:IsSetCard(0xad)
end
......
......@@ -9,6 +9,7 @@ function c7614732.initial_effect(c)
e1:SetOperation(c7614732.activate)
c:RegisterEffect(e1)
end
c7614732.fusion_effect=true
function c7614732.filter(c,e,tp,m,f,chkf)
return c:IsType(TYPE_FUSION) and (not f or f(c))
and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_FUSION,tp,false,false) and c:CheckFusionMaterial(m,nil,chkf)
......
......@@ -23,6 +23,7 @@ function c76647978.initial_effect(c)
c:RegisterEffect(e2)
e1:SetLabelObject(e2)
end
c76647978.fusion_effect=true
function c76647978.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckLPCost(tp,2000) end
Duel.PayLPCost(tp,2000)
......
......@@ -49,6 +49,7 @@ function c76794549.initial_effect(c)
Duel.RegisterEffect(ge2,0)
end
end
c76794549.fusion_effect=true
c76794549.hnchecks=aux.CreateChecks(Card.IsSetCard,{0x10f2,0x2073,0x2017,0x1046})
function c76794549.checkop(e,tp,eg,ep,ev,re,r,rp)
local tc=eg:GetFirst()
......
......@@ -13,6 +13,7 @@ function c76840111.initial_effect(c)
e1:SetOperation(c76840111.activate)
c:RegisterEffect(e1)
end
c76840111.fusion_effect=true
function c76840111.rfilter(c,tp)
return c:GetBaseAttack()==2500 and c:IsRace(RACE_SPELLCASTER) and c:IsType(TYPE_PENDULUM)
end
......
......@@ -35,6 +35,7 @@ function c77522571.initial_effect(c)
e3:SetOperation(c77522571.spop3)
c:RegisterEffect(e3)
end
c77522571.fusion_effect=true
function c77522571.costfilter1(c,e,tp)
return c:IsLevelBelow(4) and c:IsSetCard(0xa9,0xad,0xc3)
and Duel.GetMZoneCount(tp,c)>0 and (c:IsControler(tp) or c:IsFaceup())
......
......@@ -42,6 +42,7 @@ function c77565204.initial_effect(c)
e5:SetOperation(c77565204.desop2)
c:RegisterEffect(e5)
end
c77565204.fusion_effect=true
function c77565204.reg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
local c=e:GetHandler()
......
......@@ -22,6 +22,7 @@ function c78063197.initial_effect(c)
e2:SetOperation(c78063197.eqop)
c:RegisterEffect(e2)
end
c78063197.fusion_effect=true
function c78063197.filter0(c)
return c:IsAbleToRemove()
end
......
......@@ -22,6 +22,7 @@ function c78420796.initial_effect(c)
e2:SetOperation(c78420796.cdop)
c:RegisterEffect(e2)
end
c78420796.fusion_effect=true
function c78420796.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetTurnPlayer()==1-tp and (Duel.GetCurrentPhase()==PHASE_MAIN1 or Duel.GetCurrentPhase()==PHASE_MAIN2)
end
......
......@@ -11,6 +11,7 @@ function c79059098.initial_effect(c)
e1:SetOperation(c79059098.activate)
c:RegisterEffect(e1)
end
c79059098.fusion_effect=true
function c79059098.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetCurrentPhase()==PHASE_MAIN1 or Duel.GetCurrentPhase()==PHASE_MAIN2
end
......
......@@ -10,6 +10,7 @@ function c80033124.initial_effect(c)
e1:SetOperation(c80033124.activate)
c:RegisterEffect(e1)
end
c80033124.fusion_effect=true
c80033124.fchecks=aux.CreateChecks(Card.IsFusionCode,{41230939,77625948,3019642})
function c80033124.ffilter0(c)
return c:IsFusionCode(41230939,77625948,3019642) and c:IsCanBeFusionMaterial() and c:IsAbleToDeck()
......
......@@ -10,6 +10,7 @@ function c81223446.initial_effect(c)
e1:SetOperation(c81223446.activate)
c:RegisterEffect(e1)
end
c81223446.fusion_effect=true
function c81223446.filter1(c,tp)
return c:IsType(TYPE_MONSTER) and c:IsCanBeFusionMaterial() and c:IsAbleToRemove(tp,POS_FACEDOWN)
end
......
......@@ -12,6 +12,7 @@ function c8148322.initial_effect(c)
e1:SetOperation(c8148322.activate)
c:RegisterEffect(e1)
end
c8148322.fusion_effect=true
function c8148322.cfilter(c)
return c:IsFaceup() and c:IsSetCard(0x10f3)
end
......
......@@ -12,6 +12,7 @@ function c82738008.initial_effect(c)
e1:SetOperation(c82738008.activate)
c:RegisterEffect(e1)
end
c82738008.fusion_effect=true
function c82738008.filter(c)
return (c:IsSetCard(0x164) and c:IsType(TYPE_MONSTER) or c:IsCode(68468459)) and c:IsAbleToHand()
end
......
......@@ -20,6 +20,7 @@ function c84040113.initial_effect(c)
e2:SetCondition(c84040113.subcon)
c:RegisterEffect(e2)
end
c84040113.fusion_effect=true
function c84040113.subcon(e)
return e:GetHandler():IsLocation(LOCATION_HAND+LOCATION_MZONE+LOCATION_GRAVE)
end
......
......@@ -24,6 +24,7 @@ function c85808813.initial_effect(c)
e2:SetOperation(c85808813.spop)
c:RegisterEffect(e2)
end
c85808813.fusion_effect=true
function c85808813.filter(c,e,tp)
return c:IsFaceup() and c:IsSetCard(0x149) and c:IsType(TYPE_FUSION) and c:IsReleasableByEffect()
and Duel.IsExistingMatchingCard(c85808813.ffilter,tp,LOCATION_EXTRA,0,1,nil,c:GetOriginalLevel(),e,tp,c)
......
......@@ -53,6 +53,7 @@ function s.initial_effect(c)
end
end
end
s.fusion_effect=true
function s.filter1(c,e)
return not c:IsImmuneToEffect(e)
end
......
......@@ -32,6 +32,7 @@ function s.initial_effect(c)
e2:SetOperation(s.fsop)
c:RegisterEffect(e2)
end
s.fusion_effect=true
function s.rdcon(e,tp,eg,ep,ev,re,r,rp)
local ph=Duel.GetCurrentPhase()
return ph==PHASE_MAIN1 or ph==PHASE_MAIN2
......
......@@ -23,6 +23,7 @@ function c86938484.initial_effect(c)
e2:SetOperation(c86938484.spop2)
c:RegisterEffect(e2)
end
c86938484.fusion_effect=true
function c86938484.spfilter1(c,e)
return not c:IsImmuneToEffect(e)
end
......
......@@ -10,6 +10,7 @@ function c87669904.initial_effect(c)
e1:SetOperation(c87669904.activate)
c:RegisterEffect(e1)
end
c87669904.fusion_effect=true
function c87669904.filter1(c,e)
return not c:IsImmuneToEffect(e)
end
......
......@@ -35,6 +35,7 @@ function c87746184.initial_effect(c)
e3:SetOperation(c87746184.thop)
c:RegisterEffect(e3)
end
c87746184.fusion_effect=true
function c87746184.branded_fusion_check(tp,sg,fc)
return aux.gffcheck(sg,Card.IsFusionCode,68468459,Card.IsFusionAttribute,ATTRIBUTE_LIGHT)
end
......
......@@ -10,6 +10,7 @@ function c87931906.initial_effect(c)
e1:SetOperation(c87931906.activate)
c:RegisterEffect(e1)
end
c87931906.fusion_effect=true
function c87931906.filter0(c)
return c:IsSetCard(0xdf) and c:IsType(TYPE_MONSTER) and c:IsCanBeFusionMaterial() and c:IsAbleToGrave()
end
......
......@@ -21,6 +21,7 @@ function c88693151.initial_effect(c)
e2:SetOperation(c88693151.thop)
c:RegisterEffect(e2)
end
c88693151.fusion_effect=true
function c88693151.filter1(c,e)
return not c:IsImmuneToEffect(e)
end
......
......@@ -36,6 +36,7 @@ function c88919365.initial_effect(c)
e3:SetOperation(c88919365.mvop)
c:RegisterEffect(e3)
end
c88919365.fusion_effect=true
function c88919365.cfilter(c)
return c:IsSetCard(0x17d) and c:IsAttribute(ATTRIBUTE_WATER) and c:IsFaceup()
end
......
......@@ -20,6 +20,7 @@ function c89181134.initial_effect(c)
e2:SetOperation(c89181134.operation)
c:RegisterEffect(e2)
end
c89181134.fusion_effect=true
function c89181134.attrtg(e,c)
return c:GetCounter(0x1041)>0
end
......
......@@ -10,6 +10,7 @@ function c9113513.initial_effect(c)
e1:SetOperation(c9113513.activate)
c:RegisterEffect(e1)
end
c9113513.fusion_effect=true
function c9113513.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetFieldGroupCount(tp,LOCATION_MZONE,0)==0
end
......
......@@ -21,6 +21,7 @@ function c91584698.initial_effect(c)
e3:SetOperation(c91584698.thop)
c:RegisterEffect(e3)
end
c91584698.fusion_effect=true
function c91584698.filter1(c,e)
return c:IsOnField() and not c:IsImmuneToEffect(e)
end
......
......@@ -26,6 +26,7 @@ function s.initial_effect(c)
e2:SetOperation(s.fsop)
c:RegisterEffect(e2)
end
s.fusion_effect=true
function s.spcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetLP(tp)<Duel.GetLP(1-tp)
end
......
......@@ -25,6 +25,7 @@ function c93657021.initial_effect(c)
e2:SetOperation(c93657021.indop)
c:RegisterEffect(e2)
end
c93657021.fusion_effect=true
c93657021.material_setcode=0xc008
function c93657021.matfilter(c)
return c:IsFusionType(TYPE_FUSION) and c:IsFusionSetCard(0xc008)
......
......@@ -9,6 +9,7 @@ function c94820406.initial_effect(c)
e1:SetOperation(c94820406.activate)
c:RegisterEffect(e1)
end
c94820406.fusion_effect=true
function c94820406.filter1(c,e)
return not c:IsImmuneToEffect(e)
end
......
......@@ -28,6 +28,7 @@ function c95034141.initial_effect(c)
e2:SetOperation(c95034141.alop)
c:RegisterEffect(e2)
end
c95034141.fusion_effect=true
function c95034141.filter0(c)
return c:IsRace(RACE_ZOMBIE) and c:IsAbleToGrave()
end
......
......@@ -21,6 +21,7 @@ function c95238394.initial_effect(c)
e2:SetOperation(c95238394.thop)
c:RegisterEffect(e2)
end
c95238394.fusion_effect=true
function c95238394.filter0(c)
return (c:IsLocation(LOCATION_ONFIELD+LOCATION_GRAVE) or c:IsFaceup()) and c:IsType(TYPE_MONSTER) and c:IsCanBeFusionMaterial() and c:IsAbleToDeck()
end
......
......@@ -44,6 +44,7 @@ function s.initial_effect(c)
Duel.RegisterEffect(ge1,0)
end
end
s.fusion_effect=true
function s.spcfilter(c)
return c:IsCode(68468459) and (c:IsFaceup() or c:IsLocation(LOCATION_GRAVE))
end
......
......@@ -12,6 +12,7 @@ function c98570539.initial_effect(c)
e1:SetOperation(c98570539.activate)
c:RegisterEffect(e1)
end
c98570539.fusion_effect=true
function c98570539.filter0(c)
return c:IsType(TYPE_MONSTER) and c:IsCanBeFusionMaterial() and c:IsAbleToRemove()
end
......
......@@ -9,6 +9,7 @@ function c99426088.initial_effect(c)
e1:SetOperation(c99426088.activate)
c:RegisterEffect(e1)
end
c99426088.fusion_effect=true
function c99426088.exconfilter(c)
return c:IsFaceup() and c:IsType(TYPE_NORMAL)
end
......
......@@ -29,6 +29,7 @@ function c99543666.initial_effect(c)
e3:SetOperation(c99543666.spop)
c:RegisterEffect(e3)
end
c99543666.fusion_effect=true
function c99543666.filter1(c,e)
return not c:IsImmuneToEffect(e)
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