Generate a YGOPro Lua script for the following Yu-Gi-Oh card effect:
2 Effect Monsters If your linked monster attacks a Defense Position monster, inflict piercing battle damage to your opponent.
--ペンテスタッグ
--Pentestag
--Scripted by Eerie Code
local s,id=GetID()
function s.initial_effect(c)
	c:EnableReviveLimit()
	Link.AddProcedure(c,aux.FilterBoolFunctionEx(Card.IsType,TYPE_EFFECT),2,2)
	--pierce
	local e1=Effect.CreateEffect(c)
	e1:SetType(EFFECT_TYPE_FIELD)
	e1:SetCode(EFFECT_PIERCE)
	e1:SetRange(LOCATION_MZONE)
	e1:SetTargetRange(LOCATION_MZONE,0)
	e1:SetTarget(aux.TargetBoolFunction(Card.IsLinked))
	c:RegisterEffect(e1)
end