Commit 54154f3d authored by POLYMER's avatar POLYMER

fix

parent 9b2b39fb
......@@ -34,7 +34,7 @@ function s.checkop(e,tp,eg,ep,ev,re,r,rp)
end
function s.handcon(e)
local tp=e:GetHandlerPlayer()
return Duel.GetFlagEffect(1-tp,id) or Duel.IsExistingMatchingCard(Card.IsFacedown,1-tp,LOCATION_SZONE,LOCATION_SZONE,1,nil)
return Duel.GetFlagEffect(1-tp,id)>0 or Duel.IsExistingMatchingCard(Card.IsFacedown,1-tp,LOCATION_SZONE,LOCATION_SZONE,1,nil)
end
function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return (Duel.GetFieldGroupCount(tp,LOCATION_MZONE+LOCATION_SZONE,0)+Duel.GetFieldGroupCount(1-tp,LOCATION_MZONE+LOCATION_SZONE,0))==2 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