name: Magician's
card_text: Monsters your opponent controls cannot target face-up Spellcaster monsters for attacks, except this one.
lua: local s, id, o = GetID()
  function s.initial_effect(c)
  	--cannot be battle target
  	local e1 = Effect.CreateEffect(c)
  	e1:SetType(EFFECT_TYPE_FIELD)
  	e1:SetCode(EFFECT_CANNOT_SELECT_BATTLE_TARGET)
  	e1:SetRange(LOCATION_MZONE)
  	e1:SetTargetRange(0, LOCATION_MZONE)
  	e1:SetValue(s.tg)
  	c:RegisterEffect(e1)
  end
  function s.tg(e, c)
  	return c ~= e:GetHandler() and c:IsFaceup() and c:IsRace(RACE_SPELLCASTER)
  end
  
  
source_text: Magician's
  Monsters your opponent controls cannot target face-up Spellcaster monsters for attacks, except this one.
target_text: -- Magician's
  local s, id, o = GetID()
  function s.initial_effect(c)
  	--cannot be battle target
  	local e1 = Effect.CreateEffect(c)
  	e1:SetType(EFFECT_TYPE_FIELD)
  	e1:SetCode(EFFECT_CANNOT_SELECT_BATTLE_TARGET)
  	e1:SetRange(LOCATION_MZONE)
  	e1:SetTargetRange(0, LOCATION_MZONE)
  	e1:SetValue(s.tg)
  	c:RegisterEffect(e1)
  end
  function s.tg(e, c)
  	return c ~= e:GetHandler() and c:IsFaceup() and c:IsRace(RACE_SPELLCASTER)
  end
  
  