Commit afea8590 authored by GuGu's avatar GuGu

Update c74561041.lua

parent df73bd13
Pipeline #32909 passed with stage
in 14 seconds
......@@ -70,11 +70,7 @@ 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)
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
if chk==0 then return true 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