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

byd

parent c8f66159
Pipeline #29999 passed with stages
in 33 minutes and 31 seconds
......@@ -31,7 +31,7 @@ function cm.refilter(c)
return c:IsReleasableByEffect() and c:IsSetCard(0x6410) and c:IsType(TYPE_MONSTER)
end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chk==0 then return Duel.IsExistingMatchingCard(nil,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,e:GetHandler()) and Duel.CheckReleaseGroup(REASON_COST,tp,cm.refilter,1,nil) end
if chk==0 then return Duel.IsExistingMatchingCard(nil,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,e:GetHandler()) and Duel.CheckReleaseGroup(tp,cm.refilter,1,nil) end
local g=Duel.GetMatchingGroup(nil,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,e:GetHandler())
Duel.SetOperationInfo(0,CATEGORY_DESTROY,g,2,0,0)
end
......@@ -39,7 +39,7 @@ function cm.spfilter(c,e,tp)
return c:IsCanBeSpecialSummoned(e,0,tp,false,false) and c:IsType(TYPE_MONSTER) and c:IsSetCard(0x6410) and c:IsLevel(6)
end
function cm.activate(e,tp,eg,ep,ev,re,r,rp)
if not Duel.CheckReleaseGroup(REASON_COST,tp,cm.refilter,1,nil) then return end
if not Duel.CheckReleaseGroup(tp,cm.refilter,1,nil) then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE)
local rg=Duel.SelectMatchingCard(tp,cm.refilter,tp,LOCATION_MZONE,0,1,1,nil)
if Duel.Release(rg,REASON_EFFECT)~=0 then
......
......@@ -60,7 +60,7 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function cm.filter(c,e,tp)
return cm.MagicCombineDemon(c) or (c:IsLevel(6) and c:IsRace(RACE_ZOMBIE)) and c:IsCanBeSpecialSummoned(e,0,tp,true,false)
return (cm.MagicCombineDemon(c) or c:IsLevel(6) and c:IsRace(RACE_ZOMBIE)) and c:IsCanBeSpecialSummoned(e,0,tp,true,false)
end
function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
......
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