name: Vylon
card_text: All face-up LIGHT monsters you control gain 300 ATK for each Equip Card equipped to this card.
lua: local s, id, o = GetID()
  function s.initial_effect(c)
  	--draw
  	local e1 = Effect.CreateEffect(c)
  	e1:SetType(EFFECT_TYPE_FIELD)
  	e1:SetRange(LOCATION_MZONE)
  	e1:SetTargetRange(LOCATION_MZONE, 0)
  	e1:SetCode(EFFECT_UPDATE_ATTACK)
  	e1:SetTarget(aux.TargetBoolFunction(Card.IsAttribute, ATTRIBUTE_LIGHT))
  	e1:SetValue(s.atkval)
  	c:RegisterEffect(e1)
  end
  function s.atkval(e, c)
  	return e:GetHandler():GetEquipCount() * 300
  end
  
  
source_text: Vylon
  All face-up LIGHT monsters you control gain 300 ATK for each Equip Card equipped to this card.
target_text: -- Vylon
  local s, id, o = GetID()
  function s.initial_effect(c)
  	--draw
  	local e1 = Effect.CreateEffect(c)
  	e1:SetType(EFFECT_TYPE_FIELD)
  	e1:SetRange(LOCATION_MZONE)
  	e1:SetTargetRange(LOCATION_MZONE, 0)
  	e1:SetCode(EFFECT_UPDATE_ATTACK)
  	e1:SetTarget(aux.TargetBoolFunction(Card.IsAttribute, ATTRIBUTE_LIGHT))
  	e1:SetValue(s.atkval)
  	c:RegisterEffect(e1)
  end
  function s.atkval(e, c)
  	return e:GetHandler():GetEquipCount() * 300
  end
  
  