name: Infernity
card_text: While you have no cards in your hand, if a monster you control attacks a Defense Position monster, inflict piercing battle damage to your opponent.
lua: local s, id, o = GetID()
  function s.initial_effect(c)
  	--pierce
  	local e1 = Effect.CreateEffect(c)
  	e1:SetType(EFFECT_TYPE_FIELD)
  	e1:SetCode(EFFECT_PIERCE)
  	e1:SetRange(LOCATION_MZONE)
  	e1:SetTargetRange(LOCATION_MZONE, 0)
  	e1:SetCondition(s.condition)
  	c:RegisterEffect(e1)
  end
  function s.condition(e)
  	return Duel.GetFieldGroupCount(e:GetHandler():GetControler(), LOCATION_HAND, 0) == 0
  end
  
  
source_text: Infernity
  While you have no cards in your hand, if a monster you control attacks a Defense Position monster, inflict piercing battle damage to your opponent.
target_text: -- Infernity
  local s, id, o = GetID()
  function s.initial_effect(c)
  	--pierce
  	local e1 = Effect.CreateEffect(c)
  	e1:SetType(EFFECT_TYPE_FIELD)
  	e1:SetCode(EFFECT_PIERCE)
  	e1:SetRange(LOCATION_MZONE)
  	e1:SetTargetRange(LOCATION_MZONE, 0)
  	e1:SetCondition(s.condition)
  	c:RegisterEffect(e1)
  end
  function s.condition(e)
  	return Duel.GetFieldGroupCount(e:GetHandler():GetControler(), LOCATION_HAND, 0) == 0
  end
  
  