Commit d664b0a3 authored by GuGu's avatar GuGu

Update c23246.lua 2效果能选天狗以外的卡

parent 97ca77a2
Pipeline #22233 passed with stage
in 54 seconds
...@@ -59,7 +59,7 @@ end ...@@ -59,7 +59,7 @@ end
function c23246.cost2(e,tp,eg,ep,ev,re,r,rp,chk) function c23246.cost2(e,tp,eg,ep,ev,re,r,rp,chk)
local cg=e:GetHandler():GetOverlayGroup() local cg=e:GetHandler():GetOverlayGroup()
if chk==0 then return cg:IsExists(c23246.cfilter, 1, nil) end 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) Duel.SendtoGrave(g, REASON_COST)
e:SetLabelObject(g:GetFirst()) e:SetLabelObject(g:GetFirst())
end 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