--本気ギレパンダ
function c60102563.initial_effect(c)
	--atkup
	local e1=Effect.CreateEffect(c)
	e1:SetDescription(aux.Stringid(60102563,0))
	e1:SetCategory(CATEGORY_ATKCHANGE)
	e1:SetType(EFFECT_TYPE_TRIGGER_F+EFFECT_TYPE_FIELD)
	e1:SetCode(EVENT_DESTROY)
	e1:SetRange(LOCATION_MZONE)
	e1:SetCondition(c60102563.atkcon)
	e1:SetTarget(c60102563.atktg)
	e1:SetOperation(c60102563.atkop)
	c:RegisterEffect(e1)
end
function c60102563.cfilter(c)
	return c:IsOnField() and c:IsFaceup() and c:IsRace(RACE_BEAST)
end
function c60102563.atkcon(e,tp,eg,ep,ev,re,r,rp)
	return eg:IsExists(c60102563.cfilter,1,nil)
end
function c60102563.atktg(e,tp,eg,ep,ev,re,r,rp,chk)
	if chk==0 then return e:GetHandler():IsRelateToEffect(e) and e:GetHandler():IsFaceup() end
end
function c60102563.atkop(e,tp,eg,ep,ev,re,r,rp)
	local c=e:GetHandler()
	if c:IsFaceup() and c:IsRelateToEffect(e) then
		local e1=Effect.CreateEffect(c)
		e1:SetType(EFFECT_TYPE_SINGLE)
		e1:SetProperty(EFFECT_FLAG_COPY_INHERIT)
		e1:SetCode(EFFECT_UPDATE_ATTACK)
		e1:SetReset(RESET_EVENT+0x1fe0000)
		e1:SetValue(500)
		c:RegisterEffect(e1)
	end
end
