Commit 43f28795 authored by GuGu's avatar GuGu

Update c23246.lua 回档

parent 1aae5d8f
Pipeline #29167 passed with stage
in 7 seconds
......@@ -34,7 +34,7 @@ function c23246.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
local g=c:GetOverlayGroup()
if chk==0 then return g:IsExists(Card.IsAbleToDeckAsCost,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK)
local sg = g:Select(tp,1,1,nil)
local sg=g:FilterSelect(tp,Card.IsAbleToDeckAsCost,1,1,nil)
Duel.SendtoDeck(sg,nil,1,REASON_COST)
end
function c23246.tfilter2(c)
......@@ -59,7 +59,7 @@ end
function c23246.cost2(e,tp,eg,ep,ev,re,r,rp,chk)
local cg=e:GetHandler():GetOverlayGroup()
if chk==0 then return cg:IsExists(c23246.cfilter, 1, nil) end
local g=cg:Select(tp,1,1,nil)
local g=cg:FilterSelect(tp,c23246.cfilter,1,1,nil)
Duel.SendtoGrave(g, REASON_COST)
e:SetLabelObject(g:GetFirst())
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