name: Tyranno
card_text: The original ATK of this card becomes the number of your banished Dinosaur monsters x 1000.
lua: local s, id, o = GetID()
  function s.initial_effect(c)
  	--base attack
  	local e1 = Effect.CreateEffect(c)
  	e1:SetType(EFFECT_TYPE_SINGLE)
  	e1:SetCode(EFFECT_SET_BASE_ATTACK)
  	e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
  	e1:SetRange(LOCATION_MZONE)
  	e1:SetValue(s.atkval)
  	c:RegisterEffect(e1)
  end
  function s.filter(c)
  	return c:IsFaceup() and c:IsRace(RACE_DINOSAUR)
  end
  function s.atkval(e, c)
  	return Duel.GetMatchingGroupCount(s.filter, c:GetControler(), LOCATION_REMOVED, 0, nil) * 1000
  end
  
  
source_text: Tyranno
  The original ATK of this card becomes the number of your banished Dinosaur monsters x 1000.
target_text: -- Tyranno
  local s, id, o = GetID()
  function s.initial_effect(c)
  	--base attack
  	local e1 = Effect.CreateEffect(c)
  	e1:SetType(EFFECT_TYPE_SINGLE)
  	e1:SetCode(EFFECT_SET_BASE_ATTACK)
  	e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
  	e1:SetRange(LOCATION_MZONE)
  	e1:SetValue(s.atkval)
  	c:RegisterEffect(e1)
  end
  function s.filter(c)
  	return c:IsFaceup() and c:IsRace(RACE_DINOSAUR)
  end
  function s.atkval(e, c)
  	return Duel.GetMatchingGroupCount(s.filter, c:GetControler(), LOCATION_REMOVED, 0, nil) * 1000
  end
  
  