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

null

parent 3832679f
......@@ -23,7 +23,7 @@ function cm.filter1(c,e,tp)
return c:IsType(TYPE_MONSTER) and Duel.GetLocationCountFromEx(tp,tp,c)>0 and Duel.IsExistingMatchingCard(cm.filter2,tp,LOCATION_EXTRA,0,1,nil,e,tp,c:GetCode())
end
function cm.filter2(c,e,tp,tcode)
return c:IsType(TYPE_MONSTER) and c.assault_name==tcode and c:IsCanBeSpecialSummoned(e,0,tp,true,false)
return c:IsType(TYPE_MONSTER) and c.assault_name==tcode and c:IsCanBeSpecialSummoned(e,0,tp,true,true)
end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then
......@@ -40,7 +40,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCountFromEx(tp)<=0 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local tc=Duel.SelectMatchingCard(tp,cm.filter2,tp,LOCATION_EXTRA,0,1,1,nil,e,tp,e:GetLabel()):GetFirst()
if tc and Duel.SpecialSummon(tc,0,tp,tp,true,false,POS_FACEUP)>0 then
if tc and Duel.SpecialSummon(tc,0,tp,tp,true,true,POS_FACEUP)>0 then
tc:CompleteProcedure()
end
end
......@@ -4,7 +4,7 @@ local set=0x1ef1
local set=0x3ef1
local cm=_G["c"..m]
function cm.initial_effect(c)
aux.AddCodeList(c,96071000)
aux.AddCodeList(c,96071000,96071001)
--fusion summon
c:EnableReviveLimit()
--revive limit
......
......@@ -4,7 +4,7 @@ local set=0x1ef1
local set=0x9ef1
local cm=_G["c"..m]
function cm.initial_effect(c)
aux.AddCodeList(c,96071000)
aux.AddCodeList(c,96071000,96071007)
--fusion summon
c:EnableReviveLimit()
--revive limit
......
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