name: Cyber
card_text: While this card is in face-up Attack Position, you can look at every card your opponent draws.
lua: local s, id, o = GetID()
  function s.initial_effect(c)
  	local e1 = Effect.CreateEffect(c)
  	e1:SetDescription(aux.Stringid(id, 0))
  	e1:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_TRIGGER_O)
  	e1:SetRange(LOCATION_MZONE)
  	e1:SetCode(EVENT_DRAW)
  	e1:SetCondition(s.cfcon)
  	e1:SetOperation(s.cfop)
  	c:RegisterEffect(e1)
  end
  function s.cfcon(e, tp, eg, ep, ev, re, r, rp)
  	return e:GetHandler():IsAttackPos() and ep == 1 - tp
  end
  function s.filter(c)
  	return c:IsLocation(LOCATION_HAND) and not c:IsPublic()
  end
  function s.cfop(e, tp, eg, ep, ev, re, r, rp)
  	if e:GetHandler():IsRelateToEffect(e) and e:GetHandler():IsPosition(POS_FACEUP_ATTACK) then
  		local cg = eg:Filter(s.filter, nil)
  		Duel.ConfirmCards(tp, cg)
  		Duel.ShuffleHand(1 - tp)
  	end
  end
  
  
source_text: Cyber
  While this card is in face-up Attack Position, you can look at every card your opponent draws.
target_text: -- Cyber
  local s, id, o = GetID()
  function s.initial_effect(c)
  	local e1 = Effect.CreateEffect(c)
  	e1:SetDescription(aux.Stringid(id, 0))
  	e1:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_TRIGGER_O)
  	e1:SetRange(LOCATION_MZONE)
  	e1:SetCode(EVENT_DRAW)
  	e1:SetCondition(s.cfcon)
  	e1:SetOperation(s.cfop)
  	c:RegisterEffect(e1)
  end
  function s.cfcon(e, tp, eg, ep, ev, re, r, rp)
  	return e:GetHandler():IsAttackPos() and ep == 1 - tp
  end
  function s.filter(c)
  	return c:IsLocation(LOCATION_HAND) and not c:IsPublic()
  end
  function s.cfop(e, tp, eg, ep, ev, re, r, rp)
  	if e:GetHandler():IsRelateToEffect(e) and e:GetHandler():IsPosition(POS_FACEUP_ATTACK) then
  		local cg = eg:Filter(s.filter, nil)
  		Duel.ConfirmCards(tp, cg)
  		Duel.ShuffleHand(1 - tp)
  	end
  end
  
  