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

null

parent 3832679f
Pipeline #26209 passed with stages
in 23 minutes and 24 seconds
...@@ -23,7 +23,7 @@ function cm.filter1(c,e,tp) ...@@ -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()) 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 end
function cm.filter2(c,e,tp,tcode) 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 end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk) function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then if chk==0 then
...@@ -40,7 +40,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -40,7 +40,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCountFromEx(tp)<=0 then return end if Duel.GetLocationCountFromEx(tp)<=0 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON) 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() 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() tc:CompleteProcedure()
end end
end end
...@@ -4,7 +4,7 @@ local set=0x1ef1 ...@@ -4,7 +4,7 @@ local set=0x1ef1
local set=0x3ef1 local set=0x3ef1
local cm=_G["c"..m] local cm=_G["c"..m]
function cm.initial_effect(c) function cm.initial_effect(c)
aux.AddCodeList(c,96071000) aux.AddCodeList(c,96071000,96071001)
--fusion summon --fusion summon
c:EnableReviveLimit() c:EnableReviveLimit()
--revive limit --revive limit
......
...@@ -4,7 +4,7 @@ local set=0x1ef1 ...@@ -4,7 +4,7 @@ local set=0x1ef1
local set=0x9ef1 local set=0x9ef1
local cm=_G["c"..m] local cm=_G["c"..m]
function cm.initial_effect(c) function cm.initial_effect(c)
aux.AddCodeList(c,96071000) aux.AddCodeList(c,96071000,96071007)
--fusion summon --fusion summon
c:EnableReviveLimit() c:EnableReviveLimit()
--revive limit --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