Commit 3cdf7b7b authored by 聖園ミカ's avatar 聖園ミカ 🐟

1+1=3

parent 234617a3
......@@ -6,7 +6,7 @@ function cm.initial_effect(c)
--fusion material
c:EnableReviveLimit()
aux.AddFusionProcCodeFun(c,81086001,cm.mfilter,1,true,true)
--same effect send this card to grave and summon another card check
--same effect send this card to grave and spsummon another card check
local e0=aux.AddThisCardInGraveAlreadyCheck(c)
--fusion summon
local e1=Effect.CreateEffect(c)
......@@ -19,7 +19,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e1)
--to hand
local e2=Effect.CreateEffect(c)
e2:SetCategory(CATEGORY_DESTROY+CATEGORY_SPECIAL_SUMMON)
e2:SetCategory(CATEGORY_TOGRAVE+CATEGORY_SPECIAL_SUMMON)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e2:SetCode(EVENT_SPSUMMON_SUCCESS)
e2:SetRange(LOCATION_GRAVE)
......@@ -100,7 +100,8 @@ function cm.fspop(e,tp,eg,ep,ev,re,r,rp)
aux.FCheckAdditional=nil
end
function cm.spfilter(c,tp,se)
return c:IsFaceup() and c:IsRace(RACE_FIEND) and c:IsAttribute(ATTRIBUTE_FIRE) and c:IsControler(tp) and c:IsSummonLocation(LOCATION_EXTRA) and (se==nil or c:GetReasonEffect()~=se) and not c:IsCode(m)
return c:IsFaceup() and c:IsRace(RACE_FIEND) and c:IsAttribute(ATTRIBUTE_FIRE) and c:IsControler(tp) and c:IsSummonLocation(LOCATION_EXTRA) and not c:IsCode(m)
and (se==nil or c:GetReasonEffect()~=se)
end
function cm.spcon(e,tp,eg,ep,ev,re,r,rp)
local se=e:GetLabelObject():GetLabelObject()
......
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