Commit e7683d74 authored by POLYMER's avatar POLYMER

fix

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