Commit df73bd13 authored by GuGu's avatar GuGu

Update c74561041.lua

parent 4ecb1c32
Pipeline #32905 passed with stage
in 7 seconds
......@@ -70,8 +70,11 @@ function cCardno.cost_chain(e,tp,eg,ep,ev,re,r,rp,chk)
tc:RegisterFlagEffect(Cardno,RESET_CHAIN,0,1)
end
function cCardno.target_chain(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return true end
if chk==0 then return true end
local g=Duel.GetFieldGroup(tp,0,LOCATION_HAND)
local tc=re:GetHandler()
if not g:GetCount()>0 then return false end
local num=g:FilterCount(Card.IsAbleToDeck,nil)
if chk==0 then return num>0 and tc and tc:IsAbleToDeck() and Duel.IsPlayerCanDraw(1-tp,num) end
end
function cCardno.operation_chain(e,tp,eg,ep,ev,re,r,rp)
for i=1,Duel.GetCurrentChain()-1 do
......
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