Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
All face-up LIGHT monsters you control gain 300 ATK for each Equip Card equipped to this card.
--ヴァイロン・チャージャー
--Vylon Charger
local s,id=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