name: Infernity
card_text: If you have no cards in your hand, this card can attack your opponent directly.
lua: local s, id, o = GetID()
  function s.initial_effect(c)
  	--direct attack
  	local e1 = Effect.CreateEffect(c)
  	e1:SetType(EFFECT_TYPE_SINGLE)
  	e1:SetCode(EFFECT_DIRECT_ATTACK)
  	e1:SetCondition(s.con)
  	c:RegisterEffect(e1)
  end
  function s.con(e)
  	return Duel.GetFieldGroupCount(e:GetHandlerPlayer(), LOCATION_HAND, 0) == 0
  end
  
  
source_text: Infernity
  If you have no cards in your hand, this card can attack your opponent directly.
target_text: -- Infernity
  local s, id, o = GetID()
  function s.initial_effect(c)
  	--direct attack
  	local e1 = Effect.CreateEffect(c)
  	e1:SetType(EFFECT_TYPE_SINGLE)
  	e1:SetCode(EFFECT_DIRECT_ATTACK)
  	e1:SetCondition(s.con)
  	c:RegisterEffect(e1)
  end
  function s.con(e)
  	return Duel.GetFieldGroupCount(e:GetHandlerPlayer(), LOCATION_HAND, 0) == 0
  end
  
  