Commit e7683d74 authored by POLYMER's avatar POLYMER

fix

parent 74d9fe00
--绘舞华·星彩之缤色花
--21.07.29
local m=11451610
local cm=_G["c"..m]
local cm,m=GetID()
function cm.initial_effect(c)
aux.AddCodeList(c,11451610)
--link summon
aux.AddLinkProcedure(c,nil,3,3,cm.lcheck)
c:EnableReviveLimit()
......
......@@ -41,9 +41,9 @@ function cm.costfilter(c)
return c:IsType(TYPE_MONSTER) and cm.AuroraBattlePrincess(c) and c:IsAbleToRemoveAsCost()
end
function cm.lvcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.costfilter,tp,LOCATION_DECK,0,1,nil) end
if chk==0 then return Duel.IsExistingMatchingCard(cm.costfilter,tp,LOCATION_DECK+LOCATION_HAND,0,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local g=Duel.SelectMatchingCard(tp,cm.costfilter,tp,LOCATION_DECK,0,1,1,nil)
local g=Duel.SelectMatchingCard(tp,cm.costfilter,tp,LOCATION_DECK+LOCATION_HAND,0,1,1,nil)
Duel.Remove(g,POS_FACEUP,REASON_COST)
end
function cm.thfilter(c)
......
......@@ -184,11 +184,13 @@ function c71401020.op3(e,tp,eg,ep,ev,re,r,rp)
end
if #ct_table==1 then
ct=1
else if #ct_table==0 then return
else
if #ct_table==0 then return
else
Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(71401020,1))
ct=Duel.AnnounceNumber(tp,table.unpack(ct_table))
end
end
local rg=Duel.GetDecktopGroup(tp,ct)
Duel.DisableShuffleCheck()
Duel.Remove(rg,POS_FACEDOWN,REASON_EFFECT)
......
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