Commit cbe789b5 authored by gg123gg's avatar gg123gg Committed by GitHub

Update c12030006.lua

parent ed9b838f
...@@ -81,7 +81,7 @@ function c12030006.setcon(e,c,minc) ...@@ -81,7 +81,7 @@ function c12030006.setcon(e,c,minc)
end end
function c12030006.rettg(e,tp,eg,ep,ev,re,r,rp,chk) function c12030006.rettg(e,tp,eg,ep,ev,re,r,rp,chk)
local h=Duel.GetFieldGroupCount(tp,LOCATION_HAND,0) local h=Duel.GetFieldGroupCount(tp,LOCATION_HAND,0)
if chk==0 then return h<5 and Duel.IsPlayerCanDraw(tp,5-hc) end if chk==0 then return h<5 and Duel.IsPlayerCanDraw(tp,5-h) end
Duel.SetTargetPlayer(tp) Duel.SetTargetPlayer(tp)
Duel.SetTargetParam(5-h) Duel.SetTargetParam(5-h)
Duel.SetOperationInfo(0,CATEGORY_DRAW,nil,0,tp,5-h) Duel.SetOperationInfo(0,CATEGORY_DRAW,nil,0,tp,5-h)
......
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