Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
As long as this card remains face-up on the field, increase the ATK of all EARTH monsters by 500 points and decrease the ATK of all WIND monsters by 400 points.
--ミリス・レディエント
--Milus Radiant
local s,id=GetID()
function s.initial_effect(c)
	local e1=Effect.CreateEffect(c)
	e1:SetType(EFFECT_TYPE_FIELD)
	e1:SetRange(LOCATION_MZONE)
	e1:SetTargetRange(LOCATION_MZONE,LOCATION_MZONE)
	e1:SetCode(EFFECT_UPDATE_ATTACK)
	e1:SetTarget(s.tg1)
	e1:SetValue(500)
	c:RegisterEffect(e1)
	local e2=e1:Clone()
	e2:SetTarget(s.tg2)
	e2:SetValue(-400)
	c:RegisterEffect(e2)
end
function s.tg1(e,c)
	return c:IsAttribute(ATTRIBUTE_EARTH)
end
function s.tg2(e,c)
	return c:IsAttribute(ATTRIBUTE_WIND)
end