Commit 86795315 authored by GuGu's avatar GuGu

Update c25043.lua 区域检测

parent 9ebae817
Pipeline #21710 passed with stage
in 49 seconds
......@@ -86,6 +86,8 @@ function c25043.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function c25043.thop(e,tp,eg,ep,ev,re,r,rp)
local ct=e:GetLabelObject():GetLabel()
if Duel.GetLocationCount(tp,LOCATION_SZONE)<=0 then return end
if ct>Duel.GetLocationCount(tp,LOCATION_SZONE) then ct=Duel.GetLocationCount(tp,LOCATION_SZONE) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET)
local g=Duel.SelectMatchingCard(tp,c25043.thfilter,tp,LOCATION_DECK,0,ct,ct,nil)
if g:GetCount()>0 then
......
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