Commit a8e32571 authored by 聖園ミカ's avatar 聖園ミカ 🐟

Replace c52700664.lua

parent 11471501
......@@ -55,31 +55,34 @@ end
function s.f(c)
--special summon
local e3=Effect.CreateEffect(c)
e3:SetDescription(1056)
e3:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_FUSION_SUMMON)
e3:SetType(EFFECT_TYPE_IGNITION)
e3:SetRange(LOCATION_MZONE+LOCATION_HAND)
e3:SetCountLimit(1,id)
e3:SetCondition(s.spcon1)
e3:SetTarget(s.sptg)
e3:SetOperation(s.spop)
c:RegisterEffect(e3)
local e4=e3:Clone()
e4:SetType(EFFECT_TYPE_QUICK_O)
e4:SetCode(EVENT_FREE_CHAIN)
e4:SetHintTiming(0,TIMING_END_PHASE)
e4:SetCondition(s.spcon2)
local e4=Effect.CreateEffect(c)
e4:SetDescription(1056)
e4:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_FUSION_SUMMON)
e4:SetType(EFFECT_TYPE_IGNITION)
e4:SetRange(LOCATION_MZONE+LOCATION_HAND)
e4:SetCountLimit(1,id)
e4:SetCondition(s.spcon1)
e4:SetTarget(s.sptg)
e4:SetOperation(s.spop)
c:RegisterEffect(e4)
local e5=e4:Clone()
e5:SetType(EFFECT_TYPE_QUICK_O)
e5:SetCode(EVENT_FREE_CHAIN)
e5:SetHintTiming(0,TIMING_END_PHASE)
e5:SetCondition(s.spcon2)
c:RegisterEffect(e5)
end
function s.spcfilter(c)
return c:IsSetCard(0x3529) and c:IsFaceup()
end
function s.spcfilter2(c)
return c:IsSetCard(0x5529) and c:IsFaceup()
end
function s.spcon1(e,tp,eg,ep,ev,re,r,rp)
return not Duel.IsExistingMatchingCard(s.spcfilter,tp,LOCATION_MZONE,0,1,nil)
end
function s.spcon2(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(s.spcfilter,tp,LOCATION_MZONE,0,1,nil)
return Duel.IsExistingMatchingCard(s.spcfilter2,tp,LOCATION_MZONE,0,1,nil)
end
function s.spfilter1(c,e)
return not c:IsImmuneToEffect(e)
......
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