Sharv
If "Visas Starfrost" is on the field: Target 1 Effect Monster on the field; shuffle that target into the Deck, and if you do, during the End Phase of this turn, its owner can add 1 monster from their Deck to their hand with a different Type and a Level lower than the Level/Rank/Link Rating of that monster. If a "Veda" monster(s) is Special Summoned, while this card is in your GY (except during the Damage Step): You can add this card to your hand. You can only use each effect of "Sharv Sarga" once per turn.
local CARD_ID_1 = 56099748 --Visas Starfrost
local SETCARD_ID_0 = 0x19a --Veda

local CARD_ID_1 = 56099748 --Visas Starfrost
local SETCARD_ID_0 = 0x19a --Veda
local s, id, o = GetID()
function s.initial_effect(c)
	aux.AddCodeList(c, CARD_ID_1)
	--activate
	local e1 = Effect.CreateEffect(c)
	e1:SetDescription(aux.Stringid(id, 0))
	e1:SetCategory(CATEGORY_TODECK + CATEGORY_TOHAND + CATEGORY_SEARCH)
	e1:SetType(EFFECT_TYPE_ACTIVATE)
	e1:SetCode(EVENT_FREE_CHAIN)
	e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
	e1:SetHintTiming(0, TIMINGS_CHECK_MONSTER + TIMING_END_PHASE)
	e1:SetCountLimit(1, id)
	e1:SetCondition(s.condition)
	e1:SetTarget(s.target)
	e1:SetOperation(s.activate)
	c:RegisterEffect(e1)
	--to hand
	local e2 = Effect.CreateEffect(c)
	e2:SetDescription(aux.Stringid(id, 1))
	e2:SetCategory(CATEGORY_TOHAND)
	e2:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_TRIGGER_O)
	e2:SetCode(EVENT_SPSUMMON_SUCCESS)
	e2:SetRange(LOCATION_GRAVE)
	e2:SetProperty(EFFECT_FLAG_DELAY)
	e2:SetCountLimit(1, id + 1)
	e2:SetCondition(s.thcon)
	e2:SetTarget(s.thtg)
	e2:SetOperation(s.thop)
	c:RegisterEffect(e2)
end
function s.cfilter(c)
	return c:IsCode(CARD_ID_1) and c:IsFaceup()
end
function s.condition(e, tp, eg, ep, ev, re, r, rp)
	return Duel.IsExistingMatchingCard(s.cfilter, tp, LOCATION_ONFIELD, LOCATION_ONFIELD, 1, nil)
end
function s.filter(c)
	return c:IsType(TYPE_EFFECT) and c:IsFaceup() and c:IsAbleToDeck()
end
function s.target(e, tp, eg, ep, ev, re, r, rp, chk, chkc)
	if chkc then
		return chkc:IsLocation(LOCATION_MZONE) and s.filter(chkc)
	end
	if chk == 0 then
		return Duel.IsExistingTarget(s.filter, tp, LOCATION_MZONE, LOCATION_MZONE, 1, nil)
	end
	Duel.Hint(HINT_SELECTMSG, tp, HINTMSG_TODECK)
	local g = Duel.SelectTarget(tp, s.filter, tp, LOCATION_MZONE, LOCATION_MZONE, 1, 1, nil)
	Duel.SetOperationInfo(0, CATEGORY_TODECK, g, 1, 0, 0)
end
function s.activate(e, tp, eg, ep, ev, re, r, rp)
	local tc = Duel.GetFirstTarget()
	if tc:IsRelateToEffect(e) and Duel.SendtoDeck(tc, nil, SEQ_DECKSHUFFLE, REASON_EFFECT) > 0 and tc:IsLocation(LOCATION_DECK + LOCATION_EXTRA) then
		local op = tc:GetOwner()
		local race = tc:GetRace()
		local lv = tc:GetLevel() | tc:GetRank() | tc:GetLink()
		local e1 = Effect.CreateEffect(e:GetHandler())
		e1:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS)
		e1:SetCode(EVENT_PHASE + PHASE_END)
		e1:SetCountLimit(1)
		e1:SetCondition(s.srcon)
		e1:SetOperation(s.srop)
		e1:SetReset(RESET_PHASE + PHASE_END)
		e1:SetLabel(op, race, lv)
		Duel.RegisterEffect(e1, tp)
	end
end
function s.srfilter(c, race, lv)
	return c:IsType(TYPE_MONSTER) and not c:IsRace(race) and c:IsLevelBelow(lv - 1) and c:IsAbleToHand()
end
function s.srcon(e, tp, eg, ep, ev, re, r, rp)
	local op, race, lv = e:GetLabel()
	return Duel.IsExistingMatchingCard(s.srfilter, op, LOCATION_DECK, 0, 1, nil, race, lv)
end
function s.srop(e, tp, eg, ep, ev, re, r, rp)
	Duel.Hint(HINT_CARD, 0, id)
	local op, race, lv = e:GetLabel()
	if Duel.SelectYesNo(op, aux.Stringid(id, 2)) then
		Duel.Hint(HINT_SELECTMSG, op, HINTMSG_ATOHAND)
		local g = Duel.SelectMatchingCard(op, s.srfilter, op, LOCATION_DECK, 0, 1, 1, nil, race, lv)
		if g:GetCount() > 0 then
			Duel.SendtoHand(g, nil, REASON_EFFECT, op)
			Duel.ConfirmCards(1 - op, g)
		end
	end
end
function s.thfilter(c, tp)
	return c:IsSetCard(SETCARD_ID_0) and c:IsFaceup()
end
function s.thcon(e, tp, eg, ep, ev, re, r, rp)
	return eg:IsExists(s.thfilter, 1, nil, tp)
end
function s.thtg(e, tp, eg, ep, ev, re, r, rp, chk)
	if chk == 0 then
		return e:GetHandler():IsAbleToHand()
	end
	Duel.SetOperationInfo(0, CATEGORY_TOHAND, e:GetHandler(), 1, 0, 0)
end
function s.thop(e, tp, eg, ep, ev, re, r, rp)
	local c = e:GetHandler()
	if c:IsRelateToEffect(e) then
		Duel.SendtoHand(c, nil, REASON_EFFECT)
	end
end


Sharv
If "Visas Starfrost" is on the field: Target 1 Effect Monster on the field; shuffle that target into the Deck, and if you do, during the End Phase of this turn, its owner can add 1 monster from their Deck to their hand with a different Type and a Level lower than the Level/Rank/Link Rating of that monster. If a "Veda" monster(s) is Special Summoned, while this card is in your GY (except during the Damage Step): You can add this card to your hand. You can only use each effect of "Sharv Sarga" once per turn.
-- Sharv
local CARD_ID_1 = 56099748 --Visas Starfrost
local SETCARD_ID_0 = 0x19a --Veda
local s, id, o = GetID()
function s.initial_effect(c)
	aux.AddCodeList(c, CARD_ID_1)
	--activate
	local e1 = Effect.CreateEffect(c)
	e1:SetDescription(aux.Stringid(id, 0))
	e1:SetCategory(CATEGORY_TODECK + CATEGORY_TOHAND + CATEGORY_SEARCH)
	e1:SetType(EFFECT_TYPE_ACTIVATE)
	e1:SetCode(EVENT_FREE_CHAIN)
	e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
	e1:SetHintTiming(0, TIMINGS_CHECK_MONSTER + TIMING_END_PHASE)
	e1:SetCountLimit(1, id)
	e1:SetCondition(s.condition)
	e1:SetTarget(s.target)
	e1:SetOperation(s.activate)
	c:RegisterEffect(e1)
	--to hand
	local e2 = Effect.CreateEffect(c)
	e2:SetDescription(aux.Stringid(id, 1))
	e2:SetCategory(CATEGORY_TOHAND)
	e2:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_TRIGGER_O)
	e2:SetCode(EVENT_SPSUMMON_SUCCESS)
	e2:SetRange(LOCATION_GRAVE)
	e2:SetProperty(EFFECT_FLAG_DELAY)
	e2:SetCountLimit(1, id + 1)
	e2:SetCondition(s.thcon)
	e2:SetTarget(s.thtg)
	e2:SetOperation(s.thop)
	c:RegisterEffect(e2)
end
function s.cfilter(c)
	return c:IsCode(CARD_ID_1) and c:IsFaceup()
end
function s.condition(e, tp, eg, ep, ev, re, r, rp)
	return Duel.IsExistingMatchingCard(s.cfilter, tp, LOCATION_ONFIELD, LOCATION_ONFIELD, 1, nil)
end
function s.filter(c)
	return c:IsType(TYPE_EFFECT) and c:IsFaceup() and c:IsAbleToDeck()
end
function s.target(e, tp, eg, ep, ev, re, r, rp, chk, chkc)
	if chkc then
		return chkc:IsLocation(LOCATION_MZONE) and s.filter(chkc)
	end
	if chk == 0 then
		return Duel.IsExistingTarget(s.filter, tp, LOCATION_MZONE, LOCATION_MZONE, 1, nil)
	end
	Duel.Hint(HINT_SELECTMSG, tp, HINTMSG_TODECK)
	local g = Duel.SelectTarget(tp, s.filter, tp, LOCATION_MZONE, LOCATION_MZONE, 1, 1, nil)
	Duel.SetOperationInfo(0, CATEGORY_TODECK, g, 1, 0, 0)
end
function s.activate(e, tp, eg, ep, ev, re, r, rp)
	local tc = Duel.GetFirstTarget()
	if tc:IsRelateToEffect(e) and Duel.SendtoDeck(tc, nil, SEQ_DECKSHUFFLE, REASON_EFFECT) > 0 and tc:IsLocation(LOCATION_DECK + LOCATION_EXTRA) then
		local op = tc:GetOwner()
		local race = tc:GetRace()
		local lv = tc:GetLevel() | tc:GetRank() | tc:GetLink()
		local e1 = Effect.CreateEffect(e:GetHandler())
		e1:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS)
		e1:SetCode(EVENT_PHASE + PHASE_END)
		e1:SetCountLimit(1)
		e1:SetCondition(s.srcon)
		e1:SetOperation(s.srop)
		e1:SetReset(RESET_PHASE + PHASE_END)
		e1:SetLabel(op, race, lv)
		Duel.RegisterEffect(e1, tp)
	end
end
function s.srfilter(c, race, lv)
	return c:IsType(TYPE_MONSTER) and not c:IsRace(race) and c:IsLevelBelow(lv - 1) and c:IsAbleToHand()
end
function s.srcon(e, tp, eg, ep, ev, re, r, rp)
	local op, race, lv = e:GetLabel()
	return Duel.IsExistingMatchingCard(s.srfilter, op, LOCATION_DECK, 0, 1, nil, race, lv)
end
function s.srop(e, tp, eg, ep, ev, re, r, rp)
	Duel.Hint(HINT_CARD, 0, id)
	local op, race, lv = e:GetLabel()
	if Duel.SelectYesNo(op, aux.Stringid(id, 2)) then
		Duel.Hint(HINT_SELECTMSG, op, HINTMSG_ATOHAND)
		local g = Duel.SelectMatchingCard(op, s.srfilter, op, LOCATION_DECK, 0, 1, 1, nil, race, lv)
		if g:GetCount() > 0 then
			Duel.SendtoHand(g, nil, REASON_EFFECT, op)
			Duel.ConfirmCards(1 - op, g)
		end
	end
end
function s.thfilter(c, tp)
	return c:IsSetCard(SETCARD_ID_0) and c:IsFaceup()
end
function s.thcon(e, tp, eg, ep, ev, re, r, rp)
	return eg:IsExists(s.thfilter, 1, nil, tp)
end
function s.thtg(e, tp, eg, ep, ev, re, r, rp, chk)
	if chk == 0 then
		return e:GetHandler():IsAbleToHand()
	end
	Duel.SetOperationInfo(0, CATEGORY_TOHAND, e:GetHandler(), 1, 0, 0)
end
function s.thop(e, tp, eg, ep, ev, re, r, rp)
	local c = e:GetHandler()
	if c:IsRelateToEffect(e) then
		Duel.SendtoHand(c, nil, REASON_EFFECT)
	end
end

