name: Eccentric
card_text: When using this card as a Synchro Material Monster, the other Synchro Material Monster is 1 monster in your hand. The Synchro Monster that used this card as a Synchro Material Monster cannot activate its effect, its effect(s) is negated, and it is removed from play when removed from the field.
lua: local s, id, o = GetID()
  function s.initial_effect(c)
  	--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:SetTargetRange(1, 1)
  	e1:SetValue(LOCATION_HAND)
  	c:RegisterEffect(e1)
  	--be material
  	local e2 = Effect.CreateEffect(c)
  	e2:SetType(EFFECT_TYPE_SINGLE + EFFECT_TYPE_CONTINUOUS)
  	e2:SetCode(EVENT_BE_MATERIAL)
  	e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE + EFFECT_FLAG_EVENT_PLAYER)
  	e2:SetCondition(s.ccon)
  	e2:SetOperation(s.cop)
  	c:RegisterEffect(e2)
  end
  function s.ccon(e, tp, eg, ep, ev, re, r, rp)
  	return r == REASON_SYNCHRO
  end
  function s.cop(e, tp, eg, ep, ev, re, r, rp)
  	local c = e:GetHandler()
  	local rc = c:GetReasonCard()
  	--leave redirect
  	local e1 = Effect.CreateEffect(c)
  	e1:SetType(EFFECT_TYPE_SINGLE)
  	e1:SetCode(EFFECT_LEAVE_FIELD_REDIRECT)
  	e1:SetValue(LOCATION_REMOVED)
  	e1:SetReset(RESET_EVENT + 0x7e0000)
  	rc:RegisterEffect(e1, true)
  	--cannot trigger
  	local e2 = Effect.CreateEffect(c)
  	e2:SetType(EFFECT_TYPE_SINGLE)
  	e2:SetCode(EFFECT_CANNOT_TRIGGER)
  	e2:SetReset(RESET_EVENT + RESETS_STANDARD)
  	rc:RegisterEffect(e2, true)
  	--disable
  	local e3 = Effect.CreateEffect(c)
  	e3:SetType(EFFECT_TYPE_SINGLE)
  	e3:SetCode(EFFECT_DISABLE)
  	e3:SetReset(RESET_EVENT + RESETS_STANDARD)
  	rc:RegisterEffect(e3, true)
  end
  
  
source_text: Eccentric
  When using this card as a Synchro Material Monster, the other Synchro Material Monster is 1 monster in your hand. The Synchro Monster that used this card as a Synchro Material Monster cannot activate its effect, its effect(s) is negated, and it is removed from play when removed from the field.
target_text: -- Eccentric
  local s, id, o = GetID()
  function s.initial_effect(c)
  	--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:SetTargetRange(1, 1)
  	e1:SetValue(LOCATION_HAND)
  	c:RegisterEffect(e1)
  	--be material
  	local e2 = Effect.CreateEffect(c)
  	e2:SetType(EFFECT_TYPE_SINGLE + EFFECT_TYPE_CONTINUOUS)
  	e2:SetCode(EVENT_BE_MATERIAL)
  	e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE + EFFECT_FLAG_EVENT_PLAYER)
  	e2:SetCondition(s.ccon)
  	e2:SetOperation(s.cop)
  	c:RegisterEffect(e2)
  end
  function s.ccon(e, tp, eg, ep, ev, re, r, rp)
  	return r == REASON_SYNCHRO
  end
  function s.cop(e, tp, eg, ep, ev, re, r, rp)
  	local c = e:GetHandler()
  	local rc = c:GetReasonCard()
  	--leave redirect
  	local e1 = Effect.CreateEffect(c)
  	e1:SetType(EFFECT_TYPE_SINGLE)
  	e1:SetCode(EFFECT_LEAVE_FIELD_REDIRECT)
  	e1:SetValue(LOCATION_REMOVED)
  	e1:SetReset(RESET_EVENT + 0x7e0000)
  	rc:RegisterEffect(e1, true)
  	--cannot trigger
  	local e2 = Effect.CreateEffect(c)
  	e2:SetType(EFFECT_TYPE_SINGLE)
  	e2:SetCode(EFFECT_CANNOT_TRIGGER)
  	e2:SetReset(RESET_EVENT + RESETS_STANDARD)
  	rc:RegisterEffect(e2, true)
  	--disable
  	local e3 = Effect.CreateEffect(c)
  	e3:SetType(EFFECT_TYPE_SINGLE)
  	e3:SetCode(EFFECT_DISABLE)
  	e3:SetReset(RESET_EVENT + RESETS_STANDARD)
  	rc:RegisterEffect(e3, true)
  end
  
  