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)
end
function c12030006.rettg(e,tp,eg,ep,ev,re,r,rp,chk)
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.SetTargetParam(5-h)
Duel.SetOperationInfo(0,CATEGORY_DRAW,nil,0,tp,5-h)
......@@ -161,4 +161,4 @@ function c12030006.retop1(e,tp,eg,ep,ev,re,r,rp)
Duel.Damage(tp,dem2,REASON_EFFECT)
end
end
end
\ No newline at end of file
end
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