Commit b0ad156c authored by 独孤朲's avatar 独孤朲

Merge pull request #732 from woodee/patch-49

确认修正
parents 460d8dfe 510809cd
......@@ -63,7 +63,10 @@ function c69840739.repop(e,tp,eg,ep,ev,re,r,rp)
end
end
function c69840739.drtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return (Duel.IsPlayerCanDraw(tp) and Duel.IsPlayerCanDraw(1-tp))
local h1=Duel.GetFieldGroupCount(tp,LOCATION_HAND,0)
local h2=Duel.GetFieldGroupCount(tp,0,LOCATION_HAND)
if chk==0 then return (Duel.IsPlayerCanDraw(tp) or h1==0)
and (Duel.IsPlayerCanDraw(1-tp) or h2==0)
and Duel.IsExistingMatchingCard(Card.IsAbleToDeck,tp,LOCATION_HAND,LOCATION_HAND,1,nil) end
Duel.SetOperationInfo(0,CATEGORY_TODECK,nil,1,PLAYER_ALL,LOCATION_HAND)
Duel.SetOperationInfo(0,CATEGORY_DRAW,nil,0,PLAYER_ALL,1)
......
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