Malefic
When using this card as a Synchro Material Monster, the other Synchro Material Monster is 1 "Malefic" monster in your hand.
local CARD_ID_0 = 9433350 --Malefic Blue-Eyes White Dragon
local CARD_ID_1 = 37115575 --Malefic Truth Dragon
local CARD_ID_2 = 36521459 --Malefic Stardust Dragon
local CARD_ID_3 = 1710476 --Malefic Cyber End Dragon
local CARD_ID_4 = 598988 --Malefic Rainbow Dragon
local CARD_ID_5 = 75223115 --Malefic Territory
local CARD_ID_6 = 55343236 --Malefic Red-Eyes Black Dragon
local SETCARD_ID_0 = 0x23 --Malefic

local CARD_ID_0 = 9433350 --Malefic Blue-Eyes White Dragon
local CARD_ID_1 = 37115575 --Malefic Truth Dragon
local CARD_ID_2 = 36521459 --Malefic Stardust Dragon
local CARD_ID_3 = 1710476 --Malefic Cyber End Dragon
local CARD_ID_4 = 598988 --Malefic Rainbow Dragon
local CARD_ID_5 = 75223115 --Malefic Territory
local CARD_ID_6 = 55343236 --Malefic Red-Eyes Black Dragon
local SETCARD_ID_0 = 0x23 --Malefic
local s, id, o = GetID()
function s.initial_effect(c)
	--sin territory
	c:SetUniqueOnField(1, 1, s.uqfilter, LOCATION_MZONE)
	--synchro custom
	local e1 = Effect.CreateEffect(c)
	e1:SetType(EFFECT_TYPE_SINGLE)
	e1:SetCode(EFFECT_TUNER_MATERIAL_LIMIT)
	e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE + EFFECT_FLAG_UNCOPYABLE + EFFECT_FLAG_SPSUM_PARAM)
	e1:SetTarget(s.synlimit)
	e1:SetTargetRange(1, 1)
	e1:SetValue(LOCATION_HAND)
	c:RegisterEffect(e1)
end
function s.sfilter(c)
	return c:IsOriginalCodeRule(CARD_ID_4, CARD_ID_3, CARD_ID_0, CARD_ID_2, CARD_ID_1, CARD_ID_6) and not c:IsDisabled()
end
function s.uqfilter(c)
	if Duel.IsPlayerAffectedByEffect(c:GetControler(), CARD_ID_5) and Duel.IsExistingMatchingCard(s.sfilter, c:GetControler(), LOCATION_MZONE, LOCATION_MZONE, 1, nil) then
		return c:IsCode(id)
	else
		return false
	end
end
function s.synlimit(e, c)
	return c:IsSetCard(SETCARD_ID_0)
end


Malefic
When using this card as a Synchro Material Monster, the other Synchro Material Monster is 1 "Malefic" monster in your hand.
-- Malefic
local CARD_ID_0 = 9433350 --Malefic Blue-Eyes White Dragon
local CARD_ID_1 = 37115575 --Malefic Truth Dragon
local CARD_ID_2 = 36521459 --Malefic Stardust Dragon
local CARD_ID_3 = 1710476 --Malefic Cyber End Dragon
local CARD_ID_4 = 598988 --Malefic Rainbow Dragon
local CARD_ID_5 = 75223115 --Malefic Territory
local CARD_ID_6 = 55343236 --Malefic Red-Eyes Black Dragon
local SETCARD_ID_0 = 0x23 --Malefic
local s, id, o = GetID()
function s.initial_effect(c)
	--sin territory
	c:SetUniqueOnField(1, 1, s.uqfilter, LOCATION_MZONE)
	--synchro custom
	local e1 = Effect.CreateEffect(c)
	e1:SetType(EFFECT_TYPE_SINGLE)
	e1:SetCode(EFFECT_TUNER_MATERIAL_LIMIT)
	e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE + EFFECT_FLAG_UNCOPYABLE + EFFECT_FLAG_SPSUM_PARAM)
	e1:SetTarget(s.synlimit)
	e1:SetTargetRange(1, 1)
	e1:SetValue(LOCATION_HAND)
	c:RegisterEffect(e1)
end
function s.sfilter(c)
	return c:IsOriginalCodeRule(CARD_ID_4, CARD_ID_3, CARD_ID_0, CARD_ID_2, CARD_ID_1, CARD_ID_6) and not c:IsDisabled()
end
function s.uqfilter(c)
	if Duel.IsPlayerAffectedByEffect(c:GetControler(), CARD_ID_5) and Duel.IsExistingMatchingCard(s.sfilter, c:GetControler(), LOCATION_MZONE, LOCATION_MZONE, 1, nil) then
		return c:IsCode(id)
	else
		return false
	end
end
function s.synlimit(e, c)
	return c:IsSetCard(SETCARD_ID_0)
end

