name: Genex
card_text: Other face-up monsters you control with the same Attribute as this card gain 500 ATK.
lua: local s, id, o = GetID()
  function s.initial_effect(c)
  	--atkup
  	local e1 = Effect.CreateEffect(c)
  	e1:SetType(EFFECT_TYPE_FIELD)
  	e1:SetCode(EFFECT_UPDATE_ATTACK)
  	e1:SetRange(LOCATION_MZONE)
  	e1:SetTargetRange(LOCATION_MZONE, 0)
  	e1:SetTarget(s.atktg)
  	e1:SetValue(500)
  	c:RegisterEffect(e1)
  end
  function s.atktg(e, c)
  	return c ~= e:GetHandler() and e:GetHandler():IsAttribute(c:GetAttribute())
  end
  
  
source_text: Genex
  Other face-up monsters you control with the same Attribute as this card gain 500 ATK.
target_text: -- Genex
  local s, id, o = GetID()
  function s.initial_effect(c)
  	--atkup
  	local e1 = Effect.CreateEffect(c)
  	e1:SetType(EFFECT_TYPE_FIELD)
  	e1:SetCode(EFFECT_UPDATE_ATTACK)
  	e1:SetRange(LOCATION_MZONE)
  	e1:SetTargetRange(LOCATION_MZONE, 0)
  	e1:SetTarget(s.atktg)
  	e1:SetValue(500)
  	c:RegisterEffect(e1)
  end
  function s.atktg(e, c)
  	return c ~= e:GetHandler() and e:GetHandler():IsAttribute(c:GetAttribute())
  end
  
  