name: Hieracosphinx
card_text: Your opponent cannot select a face-down Defense Position monster as an attack target.
lua: local s, id, o = GetID()
  function s.initial_effect(c)
  	--at limit
  	local e1 = Effect.CreateEffect(c)
  	e1:SetType(EFFECT_TYPE_FIELD)
  	e1:SetCode(EFFECT_CANNOT_SELECT_BATTLE_TARGET)
  	e1:SetRange(LOCATION_MZONE)
  	e1:SetTargetRange(0, LOCATION_MZONE)
  	e1:SetValue(s.atlimit)
  	c:RegisterEffect(e1)
  end
  function s.atlimit(e, c)
  	return c:IsPosition(POS_FACEDOWN_DEFENSE)
  end
  
  
source_text: Hieracosphinx
  Your opponent cannot select a face-down Defense Position monster as an attack target.
target_text: -- Hieracosphinx
  local s, id, o = GetID()
  function s.initial_effect(c)
  	--at limit
  	local e1 = Effect.CreateEffect(c)
  	e1:SetType(EFFECT_TYPE_FIELD)
  	e1:SetCode(EFFECT_CANNOT_SELECT_BATTLE_TARGET)
  	e1:SetRange(LOCATION_MZONE)
  	e1:SetTargetRange(0, LOCATION_MZONE)
  	e1:SetValue(s.atlimit)
  	c:RegisterEffect(e1)
  end
  function s.atlimit(e, c)
  	return c:IsPosition(POS_FACEDOWN_DEFENSE)
  end
  
  