Commit bc45a8b2 authored by Momobako's avatar Momobako

Push by Appveyor

parent 092d8b11
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
function c1000819.initial_effect(c) function c1000819.initial_effect(c)
--FUSION --FUSION
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_FUSION_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN) e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,51105) e1:SetCountLimit(1,51105)
...@@ -17,7 +17,7 @@ function c1000819.filter1(c,e) ...@@ -17,7 +17,7 @@ function c1000819.filter1(c,e)
return c:IsOnField() and c:IsAbleToRemove() and not c:IsImmuneToEffect(e) return c:IsOnField() and c:IsAbleToRemove() and not c:IsImmuneToEffect(e)
end end
function c1000819.filter2(c,e,tp,m,f,chkf) function c1000819.filter2(c,e,tp,m,f,chkf)
return c:IsType(TYPE_FUSION) and c:IsSetCard(0x3008) and (not f or f(c)) return c:IsType(TYPE_FUSION) and c:IsSetCard(0x5204) and (not f or f(c))
and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_FUSION,tp,false,false) and c:CheckFusionMaterial(m,nil,chkf) and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_FUSION,tp,false,false) and c:CheckFusionMaterial(m,nil,chkf)
end end
function c1000819.filter3(c) function c1000819.filter3(c)
...@@ -43,7 +43,7 @@ function c1000819.tg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -43,7 +43,7 @@ function c1000819.tg(e,tp,eg,ep,ev,re,r,rp,chk)
end end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_EXTRA) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_EXTRA)
end end
function c1000819.activate(e,tp,eg,ep,ev,re,r,rp) function c1000819.op(e,tp,eg,ep,ev,re,r,rp)
local chkf=tp local chkf=tp
local mg1=Duel.GetFusionMaterial(tp):Filter(c1000819.filter1,nil,e) local mg1=Duel.GetFusionMaterial(tp):Filter(c1000819.filter1,nil,e)
local mg2=Duel.GetMatchingGroup(c1000819.filter3,tp,LOCATION_GRAVE+LOCATION_HAND,0,nil) local mg2=Duel.GetMatchingGroup(c1000819.filter3,tp,LOCATION_GRAVE+LOCATION_HAND,0,nil)
...@@ -76,5 +76,7 @@ function c1000819.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -76,5 +76,7 @@ function c1000819.activate(e,tp,eg,ep,ev,re,r,rp)
fop(ce,e,tp,tc,mat2) fop(ce,e,tp,tc,mat2)
end end
tc:CompleteProcedure() tc:CompleteProcedure()
Duel.BreakEffect()
Duel.SetLP(tp,Duel.GetLP(tp)-2000)
end end
end end
\ No newline at end of file
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