Commit 29dbf2c3 authored by GuGu's avatar GuGu

Update c86379848.lua

parent 8a4e1dcb
Pipeline #29177 passed with stage
in 8 seconds
--秘封部长✿宇佐见堇子
function c86379848.initial_effect(c)
aux.AddCodeList(c,22271101)
c:EnableReviveLimit()
--c:EnableReviveLimit()
--special summon
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(86379848,0))
......@@ -57,13 +57,13 @@ function c86379848.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
end
function c86379848.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,true,true) end
and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
end
function c86379848.spop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
local c=e:GetHandler()
if c:IsRelateToEffect(e) and Duel.SpecialSummon(c,0,tp,tp,true,true,POS_FACEUP)>0 then
if c:IsRelateToEffect(e) and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)>0 then
c:CompleteProcedure()
end
end
......@@ -120,7 +120,7 @@ function c86379848.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c86379848.costfilter,tp,LOCATION_GRAVE,0,3,e:GetHandler()) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local g=Duel.SelectMatchingCard(tp,c86379848.costfilter,tp,LOCATION_GRAVE,0,3,3,e:GetHandler())
Duel.Remove(g,REASON_COST)
Duel.Remove(g,POS_FACEUP,REASON_COST)
end
function c86379848.stg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 end
......
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